Signed-off-by: Michał Górny <mgorny@gentoo.org>
EAPI=7
-inherit udev user
+inherit udev
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/code"
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="
DOCS=( AUTHORS README TODO )
-pkg_setup() {
- enewgroup plugdev
-}
-
src_prepare() {
default
-# 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"
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="
DOCS=( AUTHORS README TODO )
-pkg_setup() {
- enewgroup plugdev
-}
-
src_prepare() {
default