media-libs/libmtp: Use acct-group/plugdev
authorMichał Górny <mgorny@gentoo.org>
Fri, 13 Sep 2019 12:16:05 +0000 (14:16 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 13 Sep 2019 12:42:43 +0000 (14:42 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
media-libs/libmtp/libmtp-1.1.16.ebuild
media-libs/libmtp/libmtp-9999.ebuild

index ec06cebf20052733fc10f98f0a8662719edd9961..fa0a23bd8d61dd3362b4990bc4c6e9e8a5b4a39d 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit udev user
+inherit udev
 
 if [[ ${PV} == 9999* ]]; then
        EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/code"
@@ -20,7 +20,9 @@ LICENSE="LGPL-2.1" # LGPL-2+ and LGPL-2.1+ ?
 SLOT="0/9" # Based on SONAME of libmtp shared library
 IUSE="+crypt doc examples static-libs"
 
-RDEPEND="virtual/libusb:1
+RDEPEND="
+       acct-group/plugdev
+       virtual/libusb:1
        crypt? ( >=dev-libs/libgcrypt-1.5.4:0= )"
 DEPEND="${RDEPEND}"
 BDEPEND="
@@ -30,10 +32,6 @@ BDEPEND="
 
 DOCS=( AUTHORS README TODO )
 
-pkg_setup() {
-       enewgroup plugdev
-}
-
 src_prepare() {
        default
 
index 412b5b9c4da358687dff5a76786b5c9000c78389..1bc630134db39a291ba16b679c401fb7c3df2fd6 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit udev user
+inherit udev
 
 if [[ ${PV} == 9999* ]]; then
        EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/code"
@@ -20,7 +20,9 @@ LICENSE="LGPL-2.1" # LGPL-2+ and LGPL-2.1+ ?
 SLOT="0/9" # Based on SONAME of libmtp shared library
 IUSE="+crypt doc examples static-libs"
 
-RDEPEND="virtual/libusb:1
+RDEPEND="
+       acct-group/plugdev
+       virtual/libusb:1
        crypt? ( >=dev-libs/libgcrypt-1.5.4:0= )"
 DEPEND="${RDEPEND}"
 BDEPEND="
@@ -30,10 +32,6 @@ BDEPEND="
 
 DOCS=( AUTHORS README TODO )
 
-pkg_setup() {
-       enewgroup plugdev
-}
-
 src_prepare() {
        default