summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-13 14:16:13 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-13 14:42:48 +0200
commit2f4aaae16bdd294ba60722447cab223036f53ec7 (patch)
treea1941bd84ae4d102b899abc362413eb93cf36d8b /net-wireless
parentnet-wireless/bluez: Use acct-group/plugdev (diff)
downloadgentoo-2f4aaae16bdd294ba60722447cab223036f53ec7.tar.gz
gentoo-2f4aaae16bdd294ba60722447cab223036f53ec7.tar.bz2
gentoo-2f4aaae16bdd294ba60722447cab223036f53ec7.zip
net-wireless/gnome-bluetooth: Use acct-group/plugdev
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild
index 9cbfd6f8efd0..67dc1ab5ae02 100644
--- a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild
+++ b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit gnome.org gnome2-utils meson udev user xdg
+inherit gnome.org gnome2-utils meson udev xdg
DESCRIPTION="Bluetooth graphical utilities integrated with GNOME"
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeBluetooth"
@@ -21,6 +21,7 @@ COMMON_DEPEND="
introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
"
RDEPEND="${COMMON_DEPEND}
+ acct-group/plugdev
virtual/udev
>=net-wireless/bluez-5
"
@@ -33,10 +34,6 @@ DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
"
-pkg_setup() {
- enewgroup plugdev
-}
-
src_configure() {
local emesonargs=(
-Dicon_update=false
@@ -53,7 +50,7 @@ src_install() {
pkg_postinst() {
xdg_pkg_postinst
- if ! has_version sys-auth/consolekit[acl] && ! has_version sys-apps/systemd[acl] ; then
+ if ! has_version 'sys-auth/consolekit[acl]' && ! has_version 'sys-apps/systemd[acl]' ; then
elog "Don't forget to add yourself to the plugdev group "
elog "if you want to be able to control bluetooth transmitter."
fi