summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-10-31 22:36:01 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-10-31 22:36:01 +0000
commit629c565337a20d603d6f50a1c8f29b1b696538ce (patch)
tree7a52444de00b8ae0696043e88bbee6dfecfc1ba4 /net-wireless
parentDelete older ebuild. (diff)
downloadgentoo-2-629c565337a20d603d6f50a1c8f29b1b696538ce.tar.gz
gentoo-2-629c565337a20d603d6f50a1c8f29b1b696538ce.tar.bz2
gentoo-2-629c565337a20d603d6f50a1c8f29b1b696538ce.zip
Enable sys-auth/polkit support wrt #340084.
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/blueman/ChangeLog6
-rw-r--r--net-wireless/blueman/blueman-1.21-r1.ebuild11
2 files changed, 9 insertions, 8 deletions
diff --git a/net-wireless/blueman/ChangeLog b/net-wireless/blueman/ChangeLog
index 1c0c8a3b4fd3..45215c1a7c86 100644
--- a/net-wireless/blueman/ChangeLog
+++ b/net-wireless/blueman/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/blueman
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/ChangeLog,v 1.8 2010/06/08 12:53:50 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/ChangeLog,v 1.9 2010/10/31 22:36:01 ssuominen Exp $
+
+ 31 Oct 2010; Samuli Suominen <ssuominen@gentoo.org>
+ blueman-1.21-r1.ebuild:
+ Enable sys-auth/polkit support wrt #340084.
08 Jun 2010; Tiziano Müller <dev-zero@gentoo.org> blueman-1.21.ebuild,
blueman-1.21-r1.ebuild:
diff --git a/net-wireless/blueman/blueman-1.21-r1.ebuild b/net-wireless/blueman/blueman-1.21-r1.ebuild
index 5444d801b9e6..679e6a9876a8 100644
--- a/net-wireless/blueman/blueman-1.21-r1.ebuild
+++ b/net-wireless/blueman/blueman-1.21-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.21-r1.ebuild,v 1.2 2010/06/08 12:53:50 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.21-r1.ebuild,v 1.3 2010/10/31 22:36:01 ssuominen Exp $
EAPI="3"
@@ -14,7 +14,7 @@ SRC_URI="http://download.tuxfamily.org/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="gnome hal network nls pulseaudio"
+IUSE="gnome hal network nls policykit pulseaudio"
CDEPEND="dev-libs/glib:2
>=x11-libs/gtk+-2.12:2
@@ -35,11 +35,9 @@ RDEPEND="${CDEPEND}
network? ( || ( net-dns/dnsmasq
=net-misc/dhcp-3*
>=net-misc/networkmanager-0.8 ) )
+ policykit? ( sys-auth/polkit )
pulseaudio? ( media-sound/pulseaudio )"
-# TODO:
-# - add policykit-support as soon as policykit-1 is available in the tree
-
pkg_setup() {
python_set_active_version 2
}
@@ -56,7 +54,7 @@ src_prepare() {
src_configure() {
econf \
--disable-static \
- --disable-polkit \
+ $(use_enable policykit polkit) \
$(use_enable hal) \
$(use_enable nls)
}
@@ -66,7 +64,6 @@ src_install() {
dodoc AUTHORS ChangeLog NEWS README
rm "${D}"/$(python_get_sitedir)/*.la
- rm -rf "${D}/usr/share/polkit-1"
use gnome || rm "${D}/$(python_get_sitedir)/${PN}/plugins/config/Gconf.py"
use pulseaudio || rm "${D}"/$(python_get_sitedir)/${PN}/{main/Pulse*.py,plugins/applet/Pulse*.py}