diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2021-10-20 13:20:07 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2021-10-20 13:20:07 -0400 |
commit | f6298779718db2970d14e6e2a0bc1fe0d993679f (patch) | |
tree | f37328597d84d96daf390b3e70ba6a0020af4f66 | |
parent | e43eed86c776b6bdfd09b14a496fd99a408ae946 (diff) | |
download | gentoo-overlay-f6298779718db2970d14e6e2a0bc1fe0d993679f.tar.xz gentoo-overlay-f6298779718db2970d14e6e2a0bc1fe0d993679f.zip |
dev-util/android-udev-rules: convert to acct-group
-rw-r--r-- | acct-group/adbusers/adbusers-0.ebuild | 9 | ||||
-rw-r--r-- | acct-group/adbusers/metadata.xml | 8 | ||||
-rw-r--r-- | dev-util/android-udev-rules/android-udev-rules-20210501-r1.ebuild (renamed from dev-util/android-udev-rules/android-udev-rules-20210501.ebuild) | 14 |
3 files changed, 23 insertions, 8 deletions
diff --git a/acct-group/adbusers/adbusers-0.ebuild b/acct-group/adbusers/adbusers-0.ebuild new file mode 100644 index 0000000..f8d84ac --- /dev/null +++ b/acct-group/adbusers/adbusers-0.ebuild @@ -0,0 +1,9 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit acct-group + +DESCRIPTION="Android Debug Bridge user group" +ACCT_GROUP_ID=-1 diff --git a/acct-group/adbusers/metadata.xml b/acct-group/adbusers/metadata.xml new file mode 100644 index 0000000..f453528 --- /dev/null +++ b/acct-group/adbusers/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> +</pkgmetadata> diff --git a/dev-util/android-udev-rules/android-udev-rules-20210501.ebuild b/dev-util/android-udev-rules/android-udev-rules-20210501-r1.ebuild index 09153b6..22bf11a 100644 --- a/dev-util/android-udev-rules/android-udev-rules-20210501.ebuild +++ b/dev-util/android-udev-rules/android-udev-rules-20210501-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit vcs-snapshot udev user +inherit vcs-snapshot udev DESCRIPTION="Comprehensive list of udev rules to connect to android devices" HOMEPAGE="https://github.com/M0Rf30/android-udev-rules" @@ -14,17 +14,15 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND="virtual/udev" -DEPEND="${RDEPEND}" +RDEPEND=" + acct-group/adbusers + virtual/udev +" src_install() { udev_dorules 51-android.rules } -pkg_setup() { - enewgroup adbusers -} - pkg_postinst() { einfo "To be able to use android devices," einfo "add yourself to the 'adbusers' group by calling" |