From d241ee7943383a8ad8aacd70d5e301a6acf22c38 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Tue, 28 Jul 2020 09:41:37 -0400 Subject: Initial commit --- dev-util/android-udev-rules/Manifest | 1 + .../android-udev-rules-20200613.ebuild | 32 ++++++++++++++++++++++ dev-util/android-udev-rules/metadata.xml | 8 ++++++ dev-util/pmbootstrap/Manifest | 1 + dev-util/pmbootstrap/metadata.xml | 8 ++++++ dev-util/pmbootstrap/pmbootstrap-1.20.0.ebuild | 19 +++++++++++++ 6 files changed, 69 insertions(+) create mode 100644 dev-util/android-udev-rules/Manifest create mode 100644 dev-util/android-udev-rules/android-udev-rules-20200613.ebuild create mode 100644 dev-util/android-udev-rules/metadata.xml create mode 100644 dev-util/pmbootstrap/Manifest create mode 100644 dev-util/pmbootstrap/metadata.xml create mode 100644 dev-util/pmbootstrap/pmbootstrap-1.20.0.ebuild (limited to 'dev-util') diff --git a/dev-util/android-udev-rules/Manifest b/dev-util/android-udev-rules/Manifest new file mode 100644 index 0000000..8f47658 --- /dev/null +++ b/dev-util/android-udev-rules/Manifest @@ -0,0 +1 @@ +DIST android-udev-rules-20200613.tar.bz2 20119 BLAKE2B 47499d6b315d7e16ac2fcfba29586b55b5125dfb307d5b835bf749382296dbcf8225644d366dcdc3b99f2b9db03e1b9ee9306ffe8ae940bb4e83534c8587d8e4 SHA512 75e4bfec4cb5edc488a698807cc7dec8aa3c0c22495d5e613636a16dc746a78d548ce164e7899f4228f1e515bc61efa61fb0b5c85e59da695c3976aa3781567c diff --git a/dev-util/android-udev-rules/android-udev-rules-20200613.ebuild b/dev-util/android-udev-rules/android-udev-rules-20200613.ebuild new file mode 100644 index 0000000..09153b6 --- /dev/null +++ b/dev-util/android-udev-rules/android-udev-rules-20200613.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit vcs-snapshot udev user + +DESCRIPTION="Comprehensive list of udev rules to connect to android devices" +HOMEPAGE="https://github.com/M0Rf30/android-udev-rules" +SRC_URI="https://github.com/M0Rf30/android-udev-rules/archive/${PV}.tar.gz -> ${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="virtual/udev" +DEPEND="${RDEPEND}" + +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" + einfo " usermod -a -G adbusers " +} diff --git a/dev-util/android-udev-rules/metadata.xml b/dev-util/android-udev-rules/metadata.xml new file mode 100644 index 0000000..ba2f69e --- /dev/null +++ b/dev-util/android-udev-rules/metadata.xml @@ -0,0 +1,8 @@ + + + + + nyronium@genthree.io + nyronium + + diff --git a/dev-util/pmbootstrap/Manifest b/dev-util/pmbootstrap/Manifest new file mode 100644 index 0000000..24534e2 --- /dev/null +++ b/dev-util/pmbootstrap/Manifest @@ -0,0 +1 @@ +DIST pmbootstrap-1.20.0.tar.gz 178348 BLAKE2B 9cbd2daad46a40959660ac78756111eae3340f308a8a111be43e284841a234dbd93aff1a73e3b766033cba0bec0d8378629d446f64e535c79c7424e68acbddf3 SHA512 c83f434ea53b9bbf84ad982ba25eba05da063519727cdc209d2b2ff32370f0aa28914615953b559a7a1c7b1b9099610ddeea2afbe1d7d4cf3ad5c70b9281d46c diff --git a/dev-util/pmbootstrap/metadata.xml b/dev-util/pmbootstrap/metadata.xml new file mode 100644 index 0000000..004555a --- /dev/null +++ b/dev-util/pmbootstrap/metadata.xml @@ -0,0 +1,8 @@ + + + + + alex_y_xu@yahoo.ca + Alex Xu (Hello71) + + diff --git a/dev-util/pmbootstrap/pmbootstrap-1.20.0.ebuild b/dev-util/pmbootstrap/pmbootstrap-1.20.0.ebuild new file mode 100644 index 0000000..f1808e0 --- /dev/null +++ b/dev-util/pmbootstrap/pmbootstrap-1.20.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Sophisticated chroot/build/flash tool to develop and install postmarketOS" +HOMEPAGE="https://gitlab.com/postmarketOS/pmbootstrap" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" -- cgit v1.2.3-70-g09d2