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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Sun Nov 9 08:53:12 2008 UTC (11 years, 3 months ago) by angelos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +1 -1 lines
FILE REMOVED
Removed old
(Portage version: 2.2_rc13/cvs/Linux 2.6.28-rc3 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.8.0-r3.ebuild,v 1.13 2008/03/10 01:55:13 ricmm 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 xfce44
13
14 DESCRIPTION="File manager"
15 HOMEPAGE="http://thunar.xfce.org"
16 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
17 IUSE="doc dbus debug exif gnome hal pcre startup-notification +trash-plugin"
18
19 RDEPEND=">=dev-lang/perl-5.6
20 x11-libs/libSM
21 >=x11-libs/gtk+-2.6
22 >=dev-libs/glib-2.6
23 >=xfce-extra/exo-0.3.2
24 >=x11-misc/shared-mime-info-0.15
25 >=dev-util/desktop-file-utils-0.10
26 >=xfce-base/libxfce4util-${XFCE_MASTER_VERSION}
27 virtual/fam
28 dbus? ( dev-libs/dbus-glib )
29 hal? ( sys-apps/hal )
30 >=media-libs/freetype-2
31 gnome? ( gnome-base/gconf )
32 exif? ( >=media-libs/libexif-0.6 )
33 >=media-libs/jpeg-6b
34 startup-notification? ( x11-libs/startup-notification )
35 pcre? ( >=dev-libs/libpcre-6 )
36 trash-plugin? ( dbus? ( >=xfce-base/xfce4-panel-${XFCE_MASTER_VERSION} ) )
37 gnome-base/librsvg"
38 DEPEND="${RDEPEND}
39 dev-util/pkgconfig
40 dev-util/intltool
41 doc? ( dev-util/gtk-doc )"
42
43 XFCE_CONFIG="${XFCE_CONFIG} $(use_enable exif) $(use_enable gnome gnome-thumbnailers) \
44 $(use_enable dbus) $(use_enable pcre)"
45
46 pkg_setup() {
47 if use hal; then
48 XFCE_CONFIG="${XFCE_CONFIG} --with-volume-manager=hal"
49 else
50 XFCE_CONFIG="${XFCE_CONFIG} --with-volume-manager=none"
51 fi
52
53 if use trash-plugin && ! use dbus ; then
54 XFCE_CONFIG="${XFCE_CONFIG} --disable-tpa-plugin"
55 ewarn "Plugins requires ${PN} with dbus support. Enable dbus use flag"
56 ewarn "and re-emerge this ebuild if you want this feature."
57 epause 3
58 fi
59
60 if use hal && ! use dbus ; then
61 ewarn "HAL requires ${PN} with dbus support. Enable dbus use flag"
62 ewarn "and re-emerge this ebuild if you want this feature."
63 die "re-emerge with USE dbus"
64 fi
65 }
66
67 src_unpack() {
68 unpack ${A}
69 cd "${S}"
70 epatch "${FILESDIR}"/${P}-jpeg.patch
71 epatch "${FILESDIR}"/${P}-uca.patch
72 }
73
74 src_test() {
75 Xemake check || die "emake check failed."
76 }
77
78 DOCS="AUTHORS ChangeLog HACKING FAQ THANKS TODO README NEWS"
79
80 xfce44_extra_package

  ViewVC Help
Powered by ViewVC 1.1.20