/[gentoo-x86]/gnome-base/libgdu/libgdu-3.0.2.ebuild
Gentoo

Contents of /gnome-base/libgdu/libgdu-3.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Oct 3 15:19:52 2012 UTC (6 years, 1 month ago) by phajdan.jr
Branch: MAIN
Changes since 1.4: +2 -2 lines
x86 stable wrt bug #427544

(Portage version: 2.1.11.9/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-base/libgdu/libgdu-3.0.2.ebuild,v 1.4 2012/06/02 12:23:19 blueness Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8 GNOME_ORG_MODULE="gnome-disk-utility"
9
10 inherit autotools eutils gnome2
11
12 DESCRIPTION="GNOME Disk Utility libraries"
13 HOMEPAGE="http://git.gnome.org/browse/gnome-disk-utility"
14
15 LICENSE="LGPL-2.1"
16 SLOT="0"
17 IUSE="avahi doc gnome-keyring"
18 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86"
19
20 CDEPEND="
21 >=dev-libs/glib-2.22:2
22 >=dev-libs/dbus-glib-0.74
23 >=x11-libs/gtk+-2.90.7:3
24 =sys-fs/udisks-1.0*:0
25 >=dev-libs/libatasmart-0.14
26 >=x11-libs/libnotify-0.6.1
27
28 avahi? ( >=net-dns/avahi-0.6.25[gtk3] )
29 gnome-keyring? ( gnome-base/libgnome-keyring )
30 "
31 RDEPEND="${CDEPEND}
32 !<=sys-apps/gnome-disk-utility-3.0.2-r200
33 !=sys-apps/gnome-disk-utility-3.0.2-r300"
34 # libgdu was part of gnome-disk-utility until 3.0.2-r{200,300}
35 DEPEND="${CDEPEND}
36 sys-devel/gettext
37 gnome-base/gnome-common
38 app-text/docbook-xml-dtd:4.1.2
39 app-text/gnome-doc-utils
40
41 virtual/pkgconfig
42 >=dev-util/intltool-0.35
43 >=dev-util/gtk-doc-am-1.13
44
45 doc? ( >=dev-util/gtk-doc-1.3 )"
46
47 pkg_setup() {
48 G2CONF="${G2CONF}
49 --disable-static
50 $(use_enable avahi avahi-ui)
51 $(use_enable gnome-keyring)"
52 DOCS="AUTHORS NEWS README TODO"
53 }
54
55 src_prepare() {
56 local f=data/gdu-notification-daemon.desktop.in.in.in
57 sed -i -e '/^OnlyShowIn/d' ${f} || die
58 echo 'NotShowIn=KDE;' >> ${f}
59
60 # gold underlinking detection
61 epatch "${FILESDIR}"/${P}-gold.patch
62
63 # Palimpsest and Nautilus plugin are provided by sys-apps/gnome-disk-utility
64 epatch "${FILESDIR}/${PN}-3.0.2-no-palimpsest-nautilus.patch"
65
66 # Keep avahi optional, upstream bug #631986
67 epatch "${FILESDIR}/${PN}-3.0.2-optional-avahi.patch"
68 intltoolize --force --copy --automake || die
69 eautoreconf
70
71 gnome2_src_prepare
72 }

  ViewVC Help
Powered by ViewVC 1.1.20