/[gentoo-x86]/xfce-base/thunar/thunar-1.0.0.ebuild
Gentoo

Contents of /xfce-base/thunar/thunar-1.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Mar 10 13:49:26 2009 UTC (11 years ago) by angelos
Branch: MAIN
Xfce-4.6 bump
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=2
6
7 MY_PN=${PN/t/T}
8 inherit virtualx xfce4
9
10 XFCE_VERSION=4.6.0
11
12 xfce4_core
13
14 DESCRIPTION="File manager"
15 HOMEPAGE="http://thunar.xfce.org"
16 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
17 IUSE="dbus debug doc exif gnome hal pcre startup-notification +trash-plugin"
18
19 RDEPEND=">=dev-lang/perl-5.6
20 >=dev-libs/glib-2.6:2
21 >=dev-util/desktop-file-utils-0.14
22 >=media-libs/freetype-2
23 >=media-libs/jpeg-6b
24 >=media-libs/libpng-1.2.0
25 virtual/fam
26 >=x11-libs/gtk+-2.6:2
27 x11-libs/libSM
28 >=x11-misc/shared-mime-info-0.20
29 >=xfce-extra/exo-0.3.92[hal?]
30 >=xfce-base/libxfce4util-${XFCE_VERSION}
31 dbus? ( dev-libs/dbus-glib )
32 exif? ( >=media-libs/libexif-0.6 )
33 hal? ( dev-libs/dbus-glib
34 sys-apps/hal )
35 gnome? ( gnome-base/gconf )
36 pcre? ( >=dev-libs/libpcre-6 )
37 startup-notification? ( x11-libs/startup-notification )
38 trash-plugin? ( dev-libs/dbus-glib
39 >=xfce-base/xfce4-panel-${XFCE_VERSION} )"
40 DEPEND="${RDEPEND}
41 dev-util/intltool
42 doc? ( dev-util/gtk-doc )"
43
44 pkg_setup() {
45 XFCE_CONFIG+="$(use_enable dbus) $(use_enable doc gtk-doc)
46 $(use_enable exif) $(use_enable gnome gnome-thumbnailers)
47 $(use_enable pcre)"
48
49 if use hal && ! use dbus; then
50 ewarn "USE hal detected, enabling dbus."
51 fi
52
53 if use hal; then
54 XFCE_CONFIG+=" --enable-dbus --with-volume-manager=hal"
55 else
56 XFCE_CONFIG+=" --with-volume-manager=none"
57 fi
58
59 if use trash-plugin && ! use dbus; then
60 XFCE_CONFIG+=" --enable-dbus"
61 ewarn "USE trash-plugin detected, enabling dbus."
62 fi
63
64 use trash-plugin || XFCE_CONFIG+=" --disable-tpa-plugin"
65 }
66
67 src_test() {
68 Xemake check || die "emake check failed"
69 }
70
71 DOCS="AUTHORS ChangeLog FAQ HACKING NEWS README THANKS TODO"

  ViewVC Help
Powered by ViewVC 1.1.20