summaryrefslogtreecommitdiff
blob: 70cdcc5aca37e47707a9805bb94c7a4bdc0333a5 (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
53
54
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/xfce-base/thunar/thunar-0.3.0_beta1.ebuild,v 1.1 2006/04/20 05:36:12 dostrow Exp $

inherit xfce44 versionator

xfce44_beta

MY_PN="Thunar"
MY_PV="$(replace_version_separator 3 '')"
MY_P="${MY_PN}-${MY_PV}"
S="${WORKDIR}/${MY_P}"

DESCRIPTION="Xfce 4 file manager"
SRC_URI="http://www.xfce.org/archive/xfce-${XFCE_MASTER_VERSION}/src/${MY_P}${COMPRESS}"
HOMEPAGE="http://thunar.xfce.org"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"

IUSE="dbus hal startup-notification thumbnail xslt"

RDEPEND="virtual/fam
	>=dev-libs/glib-2.6.4
	>=x11-libs/gtk+-2.6.4
	thumbnail? ( >=gnome-base/gconf-2.4 )
	gnome-base/orbit
	>=media-libs/jpeg-6b
	>=media-libs/libpng-1.2
	dbus? ( >=sys-apps/dbus-0.34 )
	hal? ( >=sys-apps/hal-0.5
		>=sys-apps/dbus-0.34 )
	x11-libs/pango
	startup-notification? ( >=x11-libs/startup-notification-0.4 )
	xslt? ( dev-libs/libxslt )
	>=dev-util/gtk-doc-1
	>=x11-misc/shared-mime-info-0.15
	>=dev-util/desktop-file-utils-0.10
	>=xfce-base/libxfce4util-4.2.2
	>=xfce-extra/exo-0.3.1.6_beta1"

DEPEND="${RDEPEND}
	|| ( x11-proto/xproto virtual/x11 )"

XFCE_CONFIG="$(use_enable dbus) $(use_enable thumbnail gnome-thumbnailers) \
	$(use_enable startup-notification)"

if use xslt; then
	XFCE_CONFIG="${XFCE_CONFIG} --enable-xsltproc"
fi

if use hal; then
	XFCE_CONFIG="${XFCE_CONFIG} --with-volume-manager=hal"
else
	XFCE_CONFIG="${XFCE_CONFIG} --with-volume-manager=none"
fi