summaryrefslogtreecommitdiff
path: root/dev-util/android-udev-rules
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-06 11:01:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-06 11:01:58 +0000
commit334d7d1830a3556a4c5d62a0f8547e5eb40bc83e (patch)
tree21b32eab75d2e75a1706e24db41ef23a89bb0ca2 /dev-util/android-udev-rules
parentb8cec1611ea575eea46e4927fedf000feed71b16 (diff)
gentoo auto-resync : 06:12:2023 - 11:01:57
Diffstat (limited to 'dev-util/android-udev-rules')
-rw-r--r--dev-util/android-udev-rules/Manifest2
-rw-r--r--dev-util/android-udev-rules/android-udev-rules-20231124.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-util/android-udev-rules/Manifest b/dev-util/android-udev-rules/Manifest
index b81aa1f1f683..c1354c349c2e 100644
--- a/dev-util/android-udev-rules/Manifest
+++ b/dev-util/android-udev-rules/Manifest
@@ -1,5 +1,7 @@
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
EBUILD android-udev-rules-20230614.ebuild 767 BLAKE2B 83d80fb079230f31f22310401493c8b7e4a156d99b2344beb544868fca0973b451df3ac83ea480d7f55cdc920fbbdcc72f1beb8afb1d582eb2a2afe664d6d29c SHA512 b274d4a435f19434d542c37bd683002fc1d420b07a4913e2cbd742881bf4be93343e1845258b26e7a3609bb3e12d9c3cda632ce3d3131bb4e9a6bcb5ff283253
EBUILD android-udev-rules-20231104.ebuild 769 BLAKE2B 94bee61f8fc8702773f566ae0b608b2d0d80c55e811c5ce1f350ca1cf4c06f30aa902adbc1c99bb87d6b5999e2ec332e97f100986094999f34a6c6321e149f70 SHA512 55682ac8ae5e6db91454f69967daaf2340e0c7b426b6070947ac5d638e2132a5ae39bc1d6eac6a3bb4be208a2bab943a8fb420b9e20d7615038fa03adefaa58f
+EBUILD android-udev-rules-20231124.ebuild 769 BLAKE2B 94bee61f8fc8702773f566ae0b608b2d0d80c55e811c5ce1f350ca1cf4c06f30aa902adbc1c99bb87d6b5999e2ec332e97f100986094999f34a6c6321e149f70 SHA512 55682ac8ae5e6db91454f69967daaf2340e0c7b426b6070947ac5d638e2132a5ae39bc1d6eac6a3bb4be208a2bab943a8fb420b9e20d7615038fa03adefaa58f
MISC metadata.xml 513 BLAKE2B 6c3d6dc38ce42493d7d8a6705b506fd30f47705a51b07530f89fb31b55f3ee304c6af720c068c54090837df5f82043320af9fe165c92afefc5678c16765208e7 SHA512 dc0379358009a9e2548571034a3dbca2f1a446877452c81ef9ed6f07c7f6633af77693c505e3336e9ac87746f4f2e395c29deba9d119a0c41a91a322d180e19d
diff --git a/dev-util/android-udev-rules/android-udev-rules-20231124.ebuild b/dev-util/android-udev-rules/android-udev-rules-20231124.ebuild
new file mode 100644
index 000000000000..62f49b941ae8
--- /dev/null
+++ b/dev-util/android-udev-rules/android-udev-rules-20231124.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
+}