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

Contents of /xfce-base/thunar/thunar-1.0.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Jun 4 12:05:31 2010 UTC (9 years, 8 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/xfce-base/thunar/thunar-1.0.1-r1.ebuild,v 1.3 2010/04/22 15:42:00 ssuominen Exp $
4
5 EAPI=2
6 MY_P=${P/t/T}
7 inherit virtualx xfconf
8
9 DESCRIPTION="File manager for Xfce4"
10 HOMEPAGE="http://thunar.xfce.org"
11
12 LICENSE="GPL-2 LGPL-2"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
15 IUSE="dbus debug doc exif gnome hal pcre startup-notification +trash-plugin"
16
17 RDEPEND=">=dev-lang/perl-5.6
18 >=dev-libs/glib-2.6:2
19 >=dev-util/desktop-file-utils-0.14
20 >=media-libs/freetype-2
21 >=media-libs/jpeg-6b:0
22 >=media-libs/libpng-1.2.0
23 virtual/fam
24 >=x11-libs/gtk+-2.6:2
25 x11-libs/libSM
26 >=x11-misc/shared-mime-info-0.20
27 >=xfce-base/exo-0.3.92[hal?]
28 <xfce-base/exo-0.5
29 >=xfce-base/libxfce4util-4.6
30 dbus? ( dev-libs/dbus-glib )
31 exif? ( >=media-libs/libexif-0.6 )
32 hal? ( dev-libs/dbus-glib
33 sys-apps/hal )
34 gnome? ( gnome-base/gconf )
35 pcre? ( >=dev-libs/libpcre-6 )
36 startup-notification? ( x11-libs/startup-notification )
37 trash-plugin? ( dev-libs/dbus-glib
38 >=xfce-base/xfce4-panel-4.6 )"
39 DEPEND="${RDEPEND}
40 dev-util/intltool
41 dev-util/pkgconfig
42 sys-devel/gettext
43 doc? ( dev-libs/libxslt )"
44
45 pkg_setup() {
46 PATCHES=( "${FILESDIR}/${P}-libpng14.patch"
47 "${FILESDIR}/${P}-fix-umask-handling.patch" )
48 XFCONF="--disable-dependency-tracking
49 $(use_enable dbus)
50 $(use_enable gnome gnome-thumbnailers)
51 $(use_enable startup-notification)
52 $(use_enable doc xsltproc)
53 $(use_enable exif)
54 $(use_enable pcre)
55 $(use_enable debug)"
56
57 if use hal; then
58 XFCONF="${XFCONF} --enable-dbus --with-volume-manager=hal"
59 else
60 XFCONF="${XFCONF} --with-volume-manager=none"
61 fi
62
63 if use trash-plugin; then
64 XFCONF="${XFCONF} --enable-dbus"
65 else
66 XFCONF="${XFCONF} --disable-tpa-plugin"
67 fi
68 DOCS="AUTHORS ChangeLog FAQ HACKING NEWS README THANKS TODO"
69 }
70
71 src_test() {
72 Xemake check || die "Xemake check failed"
73 }
74
75 pkg_postinst() {
76 xfconf_pkg_postinst
77 elog "If you are seeing some odd dbus error, make sure your user is in the"
78 elog "plugdev group. See Gentoo bug #279077 for more info"
79 }

  ViewVC Help
Powered by ViewVC 1.1.20