blob: 422cd00b0dcb73afc4a474f592456580808e87d9 (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/xfce-base/thunar/thunar-0.8.0.ebuild,v 1.2 2007/01/23 16:57:24 welp Exp $
inherit xfce44
MY_P="${P/t/T}"
S="${WORKDIR}/${MY_P}"
xfce44
xfce44_extra_package # technically, it's core, but in terms of what the eclass
# does, it's more akin to 'extra' -nichoj
DESCRIPTION="Xfce4 file manager"
HOMEPAGE="http://thunar.xfce.org"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc dbus debug exif hal pcre startup-notification thumbnail trash-panel-plugin"
# The order of RDEPEND is based on the list in README, by:
# required packages
# required packages not listed in README
# optional packages
# optional packages not listed
RDEPEND="
>=dev-lang/perl-5.6
>=x11-libs/gtk+-2.6.4
>=dev-libs/glib-2.6.4
>=xfce-extra/exo-0.3.2
>=media-libs/libpng-1.2.0
>=x11-misc/shared-mime-info-0.15
>=dev-util/desktop-file-utils-0.10
>=xfce-base/libxfce4util-${XFCE_MASTER_VERSION}
virtual/fam
doc? ( >=dev-util/gtk-doc-1 dev-libs/libxslt )
dbus? ( || ( >=dev-libs/dbus-glib-0.71
( <sys-apps/dbus-0.90 >=sys-apps/dbus-0.34 ) )
)
hal? ( >=sys-apps/hal-0.5
|| ( >=dev-libs/dbus-glib-0.71
( <sys-apps/dbus-0.90 >=sys-apps/dbus-0.34 ) )
)
>=media-libs/freetype-2.0
thumbnail? ( >=gnome-base/gconf-2.4 )
exif? ( >=media-libs/libexif-0.6 )
>=media-libs/jpeg-6b
startup-notification? ( >=x11-libs/startup-notification-0.4 )
pcre? ( >=dev-libs/libpcre-6.0 )
trash-panel-plugin? ( dbus? ( >=xfce-base/xfce4-panel-${XFCE_MASTER_VERSION} ) )"
DEPEND="${RDEPEND}
dev-util/intltool
x11-proto/xproto"
# TODO report upstream:
# --enable/disable for jpeg
# --enable/disable for freetype
# when those are fixed, we make IUSE="jpeg freetype"
XFCE_CONFIG="
$(use_enable dbus) \
$(use_enable doc gtk-doc) \
$(use_enable doc xsltproc) \
$(use_enable exif) \
$(use_enable pcre) \
$(use_enable startup-notification) \
$(use_enable thumbnail gnome-thumbnailers) \
"
if use hal; then
XFCE_CONFIG="${XFCE_CONFIG} --with-volume-manager=hal"
else
XFCE_CONFIG="${XFCE_CONFIG} --with-volume-manager=none"
fi
use trash-panel-plugin && use dbus || XFCE_CONFIG="${XFCE_CONFIG} --disable-tpa-plugin"
pkg_setup() {
if use trash-panel-plugin && ! use dbus ; then
ewarn "trash-panel-plugin requires ${PN} with dbus support"
ewarn "Enable dbus use flag and re-emerge this ebuild if you want this feature."
epause 3
fi
}
|