summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-13 14:16:07 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-13 14:42:44 +0200
commit2d0b6d0cf21b1be3e7b873d824e9b5ed9b2a79e3 (patch)
tree3ab44d8ceb83ddd53abe9a2aec21c68c4795dc0f /net-misc/modemmanager
parentmedia-libs/libmtp: Use acct-group/plugdev (diff)
downloadgentoo-2d0b6d0cf21b1be3e7b873d824e9b5ed9b2a79e3.tar.gz
gentoo-2d0b6d0cf21b1be3e7b873d824e9b5ed9b2a79e3.tar.bz2
gentoo-2d0b6d0cf21b1be3e7b873d824e9b5ed9b2a79e3.zip
net-misc/modemmanager: Use acct-group/plugdev
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc/modemmanager')
-rw-r--r--net-misc/modemmanager/modemmanager-1.10.0.ebuild6
-rw-r--r--net-misc/modemmanager/modemmanager-1.8.2-r1.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/net-misc/modemmanager/modemmanager-1.10.0.ebuild b/net-misc/modemmanager/modemmanager-1.10.0.ebuild
index f7ea0d8471dc..3f68591007d6 100644
--- a/net-misc/modemmanager/modemmanager-1.10.0.ebuild
+++ b/net-misc/modemmanager/modemmanager-1.10.0.ebuild
@@ -5,7 +5,7 @@ EAPI=6
GNOME2_LA_PUNT="yes"
VALA_USE_DEPEND="vapigen"
-inherit gnome2 user readme.gentoo-r1 systemd udev vala
+inherit gnome2 readme.gentoo-r1 systemd udev vala
DESCRIPTION="Modem and mobile broadband management libraries"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/ModemManager/"
@@ -39,6 +39,8 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
vala? ( $(vala_depend) )
"
+RDEPEND="${RDEPEND}
+ policykit? ( acct-group/plugdev )"
S="${WORKDIR}/ModemManager-${PV}"
@@ -97,8 +99,6 @@ src_install() {
pkg_postinst() {
gnome2_pkg_postinst
- use policykit && enewgroup plugdev
-
# The polkit rules file moved to /usr/share
old_rules="${EROOT}etc/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules"
if [[ -f "${old_rules}" ]]; then
diff --git a/net-misc/modemmanager/modemmanager-1.8.2-r1.ebuild b/net-misc/modemmanager/modemmanager-1.8.2-r1.ebuild
index 52d42ead5c7b..7457b97ba8a4 100644
--- a/net-misc/modemmanager/modemmanager-1.8.2-r1.ebuild
+++ b/net-misc/modemmanager/modemmanager-1.8.2-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
GNOME2_LA_PUNT="yes"
VALA_USE_DEPEND="vapigen"
-inherit gnome2 user readme.gentoo-r1 systemd udev vala
+inherit gnome2 readme.gentoo-r1 systemd udev vala
DESCRIPTION="Modem and mobile broadband management libraries"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/ModemManager/"
@@ -39,6 +39,8 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
vala? ( $(vala_depend) )
"
+RDEPEND="${RDEPEND}
+ policykit? ( acct-group/plugdev )"
S="${WORKDIR}/ModemManager-${PV}"
@@ -97,8 +99,6 @@ src_install() {
pkg_postinst() {
gnome2_pkg_postinst
- use policykit && enewgroup plugdev
-
# The polkit rules file moved to /usr/share
old_rules="${EROOT}etc/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules"
if [[ -f "${old_rules}" ]]; then