summaryrefslogtreecommitdiff
blob: 4b79e09fd2ee5e420595515ce794049fa9bafa26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-vfs/gnome-vfs-2.2.4.ebuild,v 1.6 2003/07/19 23:22:43 tester Exp $

IUSE="doc ssl"

inherit gnome2 eutils

DESCRIPTION="Gnome Virtual Filesystem"
HOMEPAGE="http://www.gnome.org/"
SLOT="2"
KEYWORDS="x86 ppc ~alpha ~sparc amd64"
LICENSE="GPL-2 LGPL-2.1"

RDEPEND=">=dev-libs/glib-2
	>=gnome-base/gconf-1.2.1
	>=gnome-base/ORBit2-2.4
	>=gnome-base/libbonobo-2
	>=gnome-base/bonobo-activation-1
	>=dev-libs/libxml2-2.2.8
	>=gnome-base/gnome-mime-data-2
	app-admin/fam-oss	
	ssl? ( >=dev-libs/openssl-0.9.5 )"

DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.12.0
	nls? ( >=sys-devel/gettext-0.10.40 )
	nls? ( >=dev-util/intltool-0.22 )
	doc? ( >=dev-util/gtk-doc-1 )"

DOCS="AUTHORS COPYING* ChangeLog HACKING INSTALL NEWS README TODO"

G2CONF="${G2CONF} --disable-schemas-install"

use ssl \
	&& G2CONF="${G2CONF} --enable-openssl" \
	|| G2CONF="${G2CONF} --disable-openssl"

src_install() {
	gnome2_src_install

	# FIXME: there are bettere ways
	echo "trash:    libvfolder-desktop.so">>${D}/etc/gnome-vfs-2.0/modules/default-modules.conf
}

pkg_preinst () {
	## this check is there because gnome-vfs still adheres the file, though it doesn't need it. backwards compliance isnt always good
	REMOVE="${ROOT}/etc/gnome-vfs-2.0/vfolders/applications.vfolder-info"
	if [ -f ${REMOVE} ] ; then
		rm -f ${REMOVE}
	fi
}