summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/gnome-disk-utility/gnome-disk-utility-9999.ebuild')
-rw-r--r--sys-apps/gnome-disk-utility/gnome-disk-utility-9999.ebuild28
1 files changed, 22 insertions, 6 deletions
diff --git a/sys-apps/gnome-disk-utility/gnome-disk-utility-9999.ebuild b/sys-apps/gnome-disk-utility/gnome-disk-utility-9999.ebuild
index ef6bc725..b31c8866 100644
--- a/sys-apps/gnome-disk-utility/gnome-disk-utility-9999.ebuild
+++ b/sys-apps/gnome-disk-utility/gnome-disk-utility-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -16,23 +16,29 @@ HOMEPAGE="http://git.gnome.org/browse/gnome-disk-utility"
LICENSE="GPL-2+"
SLOT="0"
-IUSE="fat"
+IUSE="fat +gnome systemd"
if [[ ${PV} = 9999 ]]; then
KEYWORDS=""
else
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
fi
COMMON_DEPEND="
>=dev-libs/glib-2.31:2
- >=sys-fs/udisks-1.99.0:2
+ >=sys-fs/udisks-2.1.1:2
>=x11-libs/gtk+-3.5.8:3
+ app-arch/xz-utils
>=app-crypt/libsecret-0.7
dev-libs/libpwquality
+ systemd? ( >=sys-apps/systemd-44 )
"
RDEPEND="${COMMON_DEPEND}
+ >=media-libs/libdvdread-4.2.0
+ >=media-libs/libcanberra-0.1[gtk3]
+ >=x11-libs/libnotify-0.7:=
>=x11-themes/gnome-icon-theme-symbolic-2.91
fat? ( sys-fs/dosfstools )
+ gnome? ( >=gnome-base/gnome-settings-daemon-3.8 )
"
DEPEND="${COMMON_DEPEND}
>=dev-util/intltool-0.50
@@ -40,7 +46,17 @@ DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
"
+src_prepare() {
+ # Fix USE=-gnome, bug #478820
+ epatch "${FILESDIR}"/${PN}-3.10.0-kill-gsd-automagic.patch
+ epatch "${FILESDIR}"/${PN}-3.10.0-raise-gsd-dependency.patch
+
+ eautoreconf
+ gnome2_src_prepare
+}
+
src_configure() {
- G2CONF="${G2CONF} --disable-libsystemd-login"
- gnome2_src_configure
+ gnome2_src_configure \
+ $(use_enable gnome gsd-plugin) \
+ $(use_enable systemd libsystemd-login)
}