From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/android-tools/
Date: Mon, 3 Oct 2022 04:35:50 +0000 (UTC) [thread overview]
Message-ID: <1664771746.eb553bf1f5e93a11e880c492df85dff9a579e6e1.zmedico@gentoo> (raw)
commit: eb553bf1f5e93a11e880c492df85dff9a579e6e1
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Thu Sep 29 13:13:55 2022 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Oct 3 04:35:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb553bf1
dev-util/android-tools: revision with dependency to android-udev-rules
* drop x86-linux keyword as prefix and non-prefix keywords arent
differentiated anymore #473598
Closes: https://github.com/gentoo/gentoo/pull/27588
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
.../android-tools/android-tools-33.0.3-r1.ebuild | 85 ++++++++++++++++++++++
1 file changed, 85 insertions(+)
diff --git a/dev-util/android-tools/android-tools-33.0.3-r1.ebuild b/dev-util/android-tools/android-tools-33.0.3-r1.ebuild
new file mode 100644
index 000000000000..5e81ccbffd54
--- /dev/null
+++ b/dev-util/android-tools/android-tools-33.0.3-r1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit cmake python-r1
+
+DESCRIPTION="Android platform tools (adb, fastboot, and mkbootimg)"
+HOMEPAGE="https://github.com/nmeum/android-tools/ https://developer.android.com/"
+
+MY_PV="${PV//_/}"
+SRC_URI="https://github.com/nmeum/android-tools/releases/download/${MY_PV}/${PN}-${MY_PV}.tar.xz
+ https://dev.gentoo.org/~zmedico/dist/${PN}-31.0.3-no-gtest.patch
+"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+# The entire source code is Apache-2.0, except for fastboot which is BSD-2.
+LICENSE="Apache-2.0 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# dev-libs/libpcre only required for e2fsdroid
+DEPEND="
+ app-arch/brotli:=
+ app-arch/lz4:=
+ app-arch/zstd:=
+ dev-libs/libpcre2:=
+ >=dev-libs/protobuf-3.0.0:=
+ sys-libs/zlib:=
+ virtual/libusb:1=
+"
+RDEPEND="${DEPEND}
+ dev-util/android-udev-rules
+ python? ( ${PYTHON_DEPS} )
+"
+BDEPEND="
+ dev-lang/go
+"
+
+DOCS=()
+
+src_prepare() {
+ eapply "${DISTDIR}/${PN}-31.0.3-no-gtest.patch"
+ cd "${S}/vendor/core" || die
+ eapply "${S}/patches/core/0011-Remove-the-useless-dependency-on-gtest.patch"
+ cd "${S}/vendor/libziparchive" || die
+ eapply "${S}/patches/libziparchive/0004-Remove-the-useless-dependency-on-gtest.patch"
+ cd "${S}"
+ rm -r patches || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ # Statically link the bundled boringssl
+ -DBUILD_SHARED_LIBS=OFF
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ export GOCACHE="${T}/go-build"
+ export GOFLAGS="-mod=vendor"
+ cmake_src_compile
+}
+
+src_install() {
+ cmake_src_install
+ rm "${ED}/usr/bin/mkbootimg" || die
+ rm "${ED}/usr/bin/unpack_bootimg" || die
+ rm "${ED}/usr/bin/repack_bootimg" || die
+ if use python; then
+ python_foreach_impl python_newexe vendor/mkbootimg/mkbootimg.py mkbootimg
+ python_foreach_impl python_newexe vendor/mkbootimg/unpack_bootimg.py unpack_bootimg
+ python_foreach_impl python_newexe vendor/mkbootimg/repack_bootimg.py repack_bootimg
+ fi
+ docinto adb
+ dodoc vendor/adb/*.{txt,TXT}
+ docinto fastboot
+ dodoc vendor/core/fastboot/README.md
+}
next reply other threads:[~2022-10-03 4:35 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-03 4:35 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-22 21:50 [gentoo-commits] repo/gentoo:master commit in: dev-util/android-tools/ Zac Medico
2024-09-05 5:36 Zac Medico
2024-08-25 7:21 Zac Medico
2024-08-10 19:38 Zac Medico
2024-06-17 1:47 Sam James
2024-05-13 12:32 Arthur Zamarin
2024-05-11 15:16 Arthur Zamarin
2024-05-11 15:16 Arthur Zamarin
2024-03-25 0:23 Zac Medico
2024-03-25 0:23 Zac Medico
2024-03-02 20:09 Andreas K. Hüttel
2024-01-17 5:50 Sam James
2023-11-22 11:16 Arthur Zamarin
2023-11-22 11:16 Arthur Zamarin
2023-08-22 21:27 Sam James
2023-08-22 21:25 Sam James
2023-04-19 11:07 Sam James
2023-04-19 6:49 Arthur Zamarin
2023-03-12 23:49 Zac Medico
2022-11-05 23:14 Zac Medico
2022-10-28 0:21 Zac Medico
2022-10-27 7:57 Joonas Niilola
2022-10-27 7:57 Joonas Niilola
2022-10-26 11:02 Sam James
2022-09-23 18:11 Zac Medico
2022-09-18 0:19 Sam James
2022-09-18 0:19 Sam James
2022-08-12 16:38 Zac Medico
2022-03-15 22:26 Mike Frysinger
2022-01-06 16:38 Zac Medico
2021-12-13 22:54 Sam James
2021-12-13 22:54 Sam James
2021-11-01 4:05 Zac Medico
2021-11-01 3:13 Zac Medico
2021-10-25 1:01 Zac Medico
2021-07-16 5:54 Zac Medico
2021-01-05 15:47 Andreas K. Hüttel
2021-01-01 0:59 Michał Górny
2020-10-13 17:05 Zac Medico
2020-10-13 17:05 Zac Medico
2020-08-12 16:22 Zac Medico
2020-07-25 19:56 Sam James
2020-07-19 0:27 Zac Medico
2020-06-30 3:51 Zac Medico
2020-05-28 6:21 Zac Medico
2020-02-10 21:00 Michał Górny
2019-12-29 9:56 David Seifert
2019-12-09 4:03 Zac Medico
2019-08-12 20:16 Michał Górny
2019-04-02 9:16 Mikle Kolyada
2018-12-31 9:11 Zac Medico
2018-12-31 5:10 Zac Medico
2018-09-28 7:44 Mikle Kolyada
2017-11-13 19:50 Manuel Rüger
2017-10-27 12:54 Thomas Deutschmann
2017-09-19 19:37 Zac Medico
2017-04-26 21:05 Zac Medico
2017-04-26 20:02 Zac Medico
2017-04-24 21:06 Zac Medico
2017-04-24 2:00 Zac Medico
2017-04-24 1:28 Zac Medico
2016-07-03 9:45 Zac Medico
2016-06-26 19:30 Zac Medico
2016-06-10 13:53 Agostino Sarubbo
2016-05-16 0:07 Zac Medico
2016-04-19 6:37 Mike Frysinger
2016-03-31 7:00 Zac Medico
2016-02-04 18:47 Mike Frysinger
2015-09-15 22:03 Zac Medico
2015-09-15 21:45 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1664771746.eb553bf1f5e93a11e880c492df85dff9a579e6e1.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox