blob: 803aa7a314a113c15b23177f2330e669c6d40cc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gnome-disk-utility/gnome-disk-utility-2.30.1.ebuild,v 1.5 2010/07/31 19:12:44 pacho Exp $
EAPI="2"
GCONF_DEBUG="no"
inherit autotools eutils gnome2
DESCRIPTION="Disk Utility for GNOME using devicekit-disks"
HOMEPAGE="http://git.gnome.org/cgit/gnome-disk-utility/"
SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc64 ~sh ~sparc ~x86"
IUSE="avahi doc fat +nautilus remote-access"
RDEPEND="
>=dev-libs/glib-2.22
>=dev-libs/dbus-glib-0.74
>=dev-libs/libunique-1.0
>=x11-libs/gtk+-2.17.2
=sys-fs/udisks-1.0*[remote-access?]
>=dev-libs/libatasmart-0.14
>=gnome-base/gnome-keyring-2.22
>=x11-libs/libnotify-0.3
avahi? ( >=net-dns/avahi-0.6.25[gtk] )
fat? ( sys-fs/dosfstools )
nautilus? ( >=gnome-base/nautilus-2.24 )
!!sys-apps/udisks"
DEPEND="${RDEPEND}
sys-devel/gettext
gnome-base/gnome-common
app-text/scrollkeeper
app-text/gnome-doc-utils
>=dev-util/pkgconfig-0.9
>=dev-util/intltool-0.35
>=dev-util/gtk-doc-am-1.13
doc? ( >=dev-util/gtk-doc-1.3 )"
DOCS="AUTHORS NEWS README TODO"
src_prepare() {
G2CONF="${G2CONF}
--disable-static
$(use_enable avahi avahi-ui)
$(use_enable nautilus)
$(use_enable remote-access)"
epatch "${FILESDIR}/${P}-optional-avahi.patch"
# Drop encoding from POTFILES.skip, see bug #313351
epatch "${FILESDIR}/${PN}-2.28.1-fix-potfiles_skip.patch"
eautoreconf
}
src_install() {
gnome2_src_install
find "${D}" -name "*.la" -delete || die "remove of la files failed"
}
|