From 7bfeabeacde5fe74c564c02492f00e23364a3ab8 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Fri, 8 Dec 2023 04:44:06 +0200 Subject: dev-util/android-udev-rules: add 20231207 Signed-off-by: Alfred Wingate Closes: https://github.com/gentoo/gentoo/pull/34171 Signed-off-by: Florian Schmaus --- dev-util/android-udev-rules/Manifest | 1 + .../android-udev-rules-20231207.ebuild | 42 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 dev-util/android-udev-rules/android-udev-rules-20231207.ebuild (limited to 'dev-util/android-udev-rules') diff --git a/dev-util/android-udev-rules/Manifest b/dev-util/android-udev-rules/Manifest index e6fede8c6db0..9635e149bc85 100644 --- a/dev-util/android-udev-rules/Manifest +++ b/dev-util/android-udev-rules/Manifest @@ -1,3 +1,4 @@ DIST android-udev-rules-20230614.tar.gz 22013 BLAKE2B eece288e673be456e6b470471e34fe744d59d13f052331efc23181c77e2dc83d31ca6a95e965a2ca35736a3c8bb478c5494bf2319b25cec215432b8fa6da78d2 SHA512 983282a6adcbc200e548985d403a317e0cca48282ec17cf8496f7009df9a75e4c6a16a2ec0a65214a019acfdf550fb6450ef1dfe4021d8e9449988427f9c25c2 DIST android-udev-rules-20231104.tar.gz 24127 BLAKE2B d70ed1305da1a6115aa4e597318b0cab307ef75f7e75e8ffd0f07857e6523ac8153cbc0c306ad1fe850688145e8738a626ed63b08bf514c57baedb2ee6b9d1a7 SHA512 c1d44d6fbb2f3e05b0e53887c43e4dfc3560ff27c56773ec45927686ce5962400a778da823d58d5ecd8c604fd410bf8aa33058a4a2bc2b724397c4fa7ea9fbe6 DIST android-udev-rules-20231124.tar.gz 24545 BLAKE2B e444b1ec90608bc16383afd3c5b90d29468c820e86e08e47f673df2b10675a14424dd6d715e620130de312378b6b7d1023658c73f0ba4f539472e75533ac8da9 SHA512 7f8519c9e957ba86879f50ef80fa2af2192f010bae1dfc5ab56c522e4e7817be47542140f21c163efa5b476159a715711f31366847647773601537413c2d1608 +DIST android-udev-rules-20231207.tar.gz 24610 BLAKE2B 3af1deafbd67c3d1afd725e23c455c3a7f8e721d2ae6b384b61d6816cf6a0e21cb5dc5284d0d645e1d3a448cb1e4e7191252e636a412358faf05275fd6d27300 SHA512 957704e64d7c34e9eab235a1223c8b2929ef6e079e5ba1aa083c5743684fc09711e0d4d3bd51f81c236ee444c4aea5c1c3fc9e613e1864ba0b56bbb6ce8afcf7 diff --git a/dev-util/android-udev-rules/android-udev-rules-20231207.ebuild b/dev-util/android-udev-rules/android-udev-rules-20231207.ebuild new file mode 100644 index 000000000000..62f49b941ae8 --- /dev/null +++ b/dev-util/android-udev-rules/android-udev-rules-20231207.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit udev + +DESCRIPTION="Android udev rules list aimed to be the most comprehensive on the net" +HOMEPAGE="https://github.com/M0Rf30/android-udev-rules" +SRC_URI="https://github.com/M0Rf30/android-udev-rules/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +# No tests +RESTRICT="test" + +RDEPEND=" + acct-group/android + virtual/udev +" + +src_prepare() { + default + + # Use the pre-existing android group + sed -i 's/GROUP="adbusers"/GROUP="android"/' 51-android.rules || die +} + +src_install() { + udev_dorules 51-android.rules + einstalldocs +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} -- cgit v1.2.3-65-gdbad