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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Mon Dec 22 17:02:57 2008 UTC (11 years, 1 month ago) by angelos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Removed old
(Portage version: 2.2_rc17/cvs/Linux 2.6.28-rc9 x86_64)

1 # Copyright 1999-2008 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-r2.ebuild,v 1.9 2008/07/28 15:33:02 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 DOCS="AUTHORS ChangeLog HACKING FAQ THANKS TODO README NEWS"
47
48 pkg_setup() {
49 XFCE_CONFIG+=" $(use_enable exif) $(use_enable gnome gnome-thumbnailers)
50 $(use_enable dbus) $(use_enable pcre)"
51
52 if use hal; then
53 XFCE_CONFIG+=" --enable-dbus --with-volume-manager=hal"
54 else
55 XFCE_CONFIG+=" --with-volume-manager=none"
56 fi
57
58 if use trash-plugin; then
59 XFCE_CONFIG+=" --enable-dbus"
60 else
61 XFCE_CONFIG+=" --disable-tpa-plugin"
62 fi
63
64 local fail="Re-emerge xfce-extra/exo with USE hal."
65 if use hal && ! built_with_use xfce-extra/exo hal; then
66 eerror "${fail}"
67 die "${fail}"
68 fi
69 }
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74 epatch "${FILESDIR}"/${P}-missing-audio-cds-for-volman.patch \
75 "${FILESDIR}"/${P}-fix-defuncts.patch
76 }
77
78 src_test() {
79 Xemake check || die "emake check failed."
80 }
81
82 xfce44_extra_package

  ViewVC Help
Powered by ViewVC 1.1.20