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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Fri Jun 8 21:07:19 2007 UTC (12 years, 8 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.2.9)

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.8.0-r2.ebuild,v 1.11 2007/03/17 21:31:23 vapier Exp $
4
5 inherit eutils virtualx xfce44
6
7 MY_P="${P/t/T}"
8 S="${WORKDIR}/${MY_P}"
9
10 xfce44
11
12 DESCRIPTION="File manager"
13 HOMEPAGE="http://thunar.xfce.org"
14 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
15 IUSE="doc dbus debug exif gnome hal plugins pcre startup-notification"
16
17 RDEPEND=">=dev-lang/perl-5.6
18 x11-libs/libSM
19 >=x11-libs/gtk+-2.6
20 >=dev-libs/glib-2.6
21 >=xfce-extra/exo-0.3.2
22 >=x11-misc/shared-mime-info-0.15
23 >=dev-util/desktop-file-utils-0.10
24 >=xfce-base/libxfce4util-${XFCE_MASTER_VERSION}
25 virtual/fam
26 dbus? ( || ( dev-libs/dbus-glib <sys-apps/dbus-1 ) )
27 hal? ( sys-apps/hal )
28 >=media-libs/freetype-2
29 gnome? ( gnome-base/gconf )
30 exif? ( >=media-libs/libexif-0.6 )
31 >=media-libs/jpeg-6b
32 startup-notification? ( x11-libs/startup-notification )
33 pcre? ( >=dev-libs/libpcre-6 )
34 plugins? ( dbus? ( >=xfce-base/xfce4-panel-${XFCE_MASTER_VERSION} ) )
35 gnome-base/librsvg"
36 DEPEND="${RDEPEND}
37 dev-util/pkgconfig
38 dev-util/intltool
39 doc? ( dev-util/gtk-doc )"
40
41 XFCE_CONFIG="${XFCE_CONFIG} $(use_enable exif) $(use_enable gnome gnome-thumbnailers) \
42 $(use_enable dbus) $(use_enable pcre)"
43
44 pkg_setup() {
45 if use hal; then
46 XFCE_CONFIG="${XFCE_CONFIG} --with-volume-manager=hal"
47 else
48 XFCE_CONFIG="${XFCE_CONFIG} --with-volume-manager=none"
49 fi
50
51 if use plugins && ! use dbus ; then
52 XFCE_CONFIG="${XFCE_CONFIG} --disable-tpa-plugin"
53 ewarn "Plugins requires ${PN} with dbus support. Enable dbus use flag"
54 ewarn "and re-emerge this ebuild if you want this feature."
55 epause 3
56 fi
57
58 if use hal && ! use dbus ; then
59 ewarn "HAL requires ${PN} with dbus support. Enable dbus use flag"
60 ewarn "and re-emerge this ebuild if you want this feature."
61 die "re-emerge with USE dbus"
62 fi
63 }
64
65 src_unpack() {
66 unpack ${A}
67 cd "${S}"
68 epatch "${FILESDIR}/${P}-jpeg.patch"
69 }
70
71 src_test() {
72 Xemake check || "emake check failed."
73 }
74
75 DOCS="AUTHORS ChangeLog HACKING FAQ THANKS TODO README NEWS"
76
77 xfce44_extra_package

  ViewVC Help
Powered by ViewVC 1.1.20