diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-09-13 14:16:05 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-09-13 14:42:43 +0200 |
commit | 8e989e09558439ec0d1af39c016429116799b603 (patch) | |
tree | a9ff69f488aa4f00f048f8d86a12b2301eb7090d /media-libs/libmtp | |
parent | media-libs/libgphoto2: Use acct-group/plugdev (diff) | |
download | gentoo-8e989e09558439ec0d1af39c016429116799b603.tar.gz gentoo-8e989e09558439ec0d1af39c016429116799b603.tar.bz2 gentoo-8e989e09558439ec0d1af39c016429116799b603.zip |
media-libs/libmtp: Use acct-group/plugdev
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-libs/libmtp')
-rw-r--r-- | media-libs/libmtp/libmtp-1.1.16.ebuild | 10 | ||||
-rw-r--r-- | media-libs/libmtp/libmtp-9999.ebuild | 12 |
2 files changed, 9 insertions, 13 deletions
diff --git a/media-libs/libmtp/libmtp-1.1.16.ebuild b/media-libs/libmtp/libmtp-1.1.16.ebuild index ec06cebf2005..fa0a23bd8d61 100644 --- a/media-libs/libmtp/libmtp-1.1.16.ebuild +++ b/media-libs/libmtp/libmtp-1.1.16.ebuild @@ -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 diff --git a/media-libs/libmtp/libmtp-9999.ebuild b/media-libs/libmtp/libmtp-9999.ebuild index 412b5b9c4da3..1bc630134db3 100644 --- a/media-libs/libmtp/libmtp-9999.ebuild +++ b/media-libs/libmtp/libmtp-9999.ebuild @@ -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 |