Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gnome-bluetooth/
Date: Fri, 13 Sep 2019 12:59:04
Message-Id: 1568378568.2f4aaae16bdd294ba60722447cab223036f53ec7.mgorny@gentoo
1 commit: 2f4aaae16bdd294ba60722447cab223036f53ec7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 13 12:16:13 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 13 12:42:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f4aaae1
7
8 net-wireless/gnome-bluetooth: Use acct-group/plugdev
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild | 9 +++------
13 1 file changed, 3 insertions(+), 6 deletions(-)
14
15 diff --git a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild
16 index 9cbfd6f8efd..67dc1ab5ae0 100644
17 --- a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild
18 +++ b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.28.2.ebuild
19 @@ -2,7 +2,7 @@
20 # Distributed under the terms of the GNU General Public License v2
21
22 EAPI=6
23 -inherit gnome.org gnome2-utils meson udev user xdg
24 +inherit gnome.org gnome2-utils meson udev xdg
25
26 DESCRIPTION="Bluetooth graphical utilities integrated with GNOME"
27 HOMEPAGE="https://wiki.gnome.org/Projects/GnomeBluetooth"
28 @@ -21,6 +21,7 @@ COMMON_DEPEND="
29 introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
30 "
31 RDEPEND="${COMMON_DEPEND}
32 + acct-group/plugdev
33 virtual/udev
34 >=net-wireless/bluez-5
35 "
36 @@ -33,10 +34,6 @@ DEPEND="${COMMON_DEPEND}
37 virtual/pkgconfig
38 "
39
40 -pkg_setup() {
41 - enewgroup plugdev
42 -}
43 -
44 src_configure() {
45 local emesonargs=(
46 -Dicon_update=false
47 @@ -53,7 +50,7 @@ src_install() {
48
49 pkg_postinst() {
50 xdg_pkg_postinst
51 - if ! has_version sys-auth/consolekit[acl] && ! has_version sys-apps/systemd[acl] ; then
52 + if ! has_version 'sys-auth/consolekit[acl]' && ! has_version 'sys-apps/systemd[acl]' ; then
53 elog "Don't forget to add yourself to the plugdev group "
54 elog "if you want to be able to control bluetooth transmitter."
55 fi