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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Mar 20 20:57:13 2008 UTC (11 years, 11 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.4.4)

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

  ViewVC Help
Powered by ViewVC 1.1.20