summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcryptogopher <github@michalczyk.pro>2017-04-23 17:52:22 +0200
committerZac Medico <zmedico@gentoo.org>2017-04-23 18:22:26 -0700
commita15118e530db51aa438f0c605eba297c5adda83b (patch)
tree818b67dfb82ee9e458a611c3bc04686473f6ce5f /dev-util/android-tools
parentapp-text/calibre: patch older versions for bug 540596 (diff)
downloadgentoo-a15118e530db51aa438f0c605eba297c5adda83b.tar.gz
gentoo-a15118e530db51aa438f0c605eba297c5adda83b.tar.bz2
gentoo-a15118e530db51aa438f0c605eba297c5adda83b.zip
dev-util/android-tools: version bump 6.0.1_p79
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-util/android-tools')
-rw-r--r--dev-util/android-tools/Manifest5
-rw-r--r--dev-util/android-tools/android-tools-6.0.1_p79.ebuild72
2 files changed, 77 insertions, 0 deletions
diff --git a/dev-util/android-tools/Manifest b/dev-util/android-tools/Manifest
index a0210d8aeda5..12f70f3fcab7 100644
--- a/dev-util/android-tools/Manifest
+++ b/dev-util/android-tools/Manifest
@@ -3,3 +3,8 @@ DIST android-tools-5.1.1_r13-core.tar.gz 1210720 SHA256 f62ad7eb61650bc69cafd081
DIST android-tools-5.1.1_r13-extras.tar.gz 282690 SHA256 35440226e2dd41e91b96f4791fd389d38e98aedd596c09bdb80b9d27bb8fdf82 SHA512 322d45be02d3d5a5bf677e3a38a44085258ee7b9a8c0a7bc08ddb4104168170d5969699ee54e19009a2bd0d7e0ac6ad7971ccc67e2a0311c6f1ba7fb76cfce83 WHIRLPOOL 3b8e0cc2d00a88f9e00a6de8a88fbe6c5374e82929859045602fbd96d5f4cf5e06f257b27b0a8ba1aebde981c6d4fe090c1a75fe737ca514d93f78cb51964752
DIST android-tools-5.1.1_r13-f2fs-tools.tar.gz 65931 SHA256 46aed56344b6661e1e638994ce57a7010c391356396b28cb207fc77f082c60cd SHA512 66f4be04164df8bb5138105db4e9d5b79c09cd8c28a0d30a6d1e6dead77961614172c96fa680953bf445b934f14b4dbbc21ce89a909d9f278f2eca1ca2e1e656 WHIRLPOOL 5aa59b453c6fa31bb76a5568553ab25376d72a35cb96b97a1e7d956b2901f8467f4c7d56b73046c559fc3714e73acace31649f0929899f4e043ccb998de12fdc
DIST android-tools-5.1.1_r13-libselinux.tar.gz 49085 SHA256 0950aaa63e22c3d4399142f9795adaee9c0a866b7f037f6b7306642d46327bc2 SHA512 b1a8960b98206118a07f11e7e67429c0d4b8f89c4f65919bcd02a6ba1c7f30e5b73a9431ce8d10fc6ffa6e487b79061b84a969490bf22a49188dc5cd9dd46a2f WHIRLPOOL da4d532bf033aa8bd1f423b596b95e6768b963d65c6fb23f856a07c636882b9584354fd147b04f1393219cc2a45281e440ed6a4f8f5472bd5a39119f81ce9209
+DIST android-tools-6.0.1_r79-arch.tar.gz 13466 SHA256 8e20e1c28f80e6d52070883e35cd333d3bb1dbd2f18ab2625bf64f74829b4f34 SHA512 90b8638d247897da33f6e861492c58df0e9877738650083c3307bd787d234d728e6c9097ac1401c254eb3daf4c6b18da4ee84dd16749acf6359fcb42781862fc WHIRLPOOL ce0ade8bf372bc01c20357f2bb7dfa1bebc4b7a3d08c9987a786b2d1563d12be47c51c8ca286c065165d3b66a03db3324fc8b7f11f58b2d7a76e92ed2ad2178b
+DIST android-tools-6.0.1_r79-core.tar.gz 1186562 SHA256 2de9f6327c2b00d6b1eca7f97ceccc5b4f3302bb8c2abcc0d51e855e5e6dd3af SHA512 a48f8c562305cbc951e008979920d9efe02e232c41997423457ff1e2f115e526b295c260a501d4050ce280ca7155793b95f7a60bad5cbc165ba80d6a225152f0 WHIRLPOOL 636921ad316590109a1fe8d97b4da257c7d14ac0379591341828c10de8934786fb1bb355f6aa6dc99d6cae2878bda5d3947cb978ea80ca99a74d02ba4db2f048
+DIST android-tools-6.0.1_r79-extras.tar.gz 648657 SHA256 4c39fca97a419ec2b3c1edc6c558cac2777b64213df4a24fe281a343632d4a75 SHA512 e10694737c518f591eff4e808bb826c83bf45dc44c5c1ee8a4082a6e0653350ffe2986e299348cb4a1219203192d01546a05e9354ce05e29897f856c147de8c3 WHIRLPOOL 212cd122f87bcaf7a3b9cf550653faa4eccd869113dfb2e11a38bc396fb748c339c717b2ac2075979a8bc69baceb0272e44e610ee96490e37004baf7b141b6e5
+DIST android-tools-6.0.1_r79-f2fs-tools.tar.gz 70255 SHA256 a69b7653b1886d58fb8e7104437b3751c440e9367051d8ec1b859db2202555ae SHA512 0871f99f78006028889b42668ec627b6515bb812ad3ec4a489f62187a79f64d2a74f66556698a5f05fc99932f75fefd8810dedceeab744b212beb764e97b82c8 WHIRLPOOL 23c2f6d95a92bb97290690534082810ff50817640e19e9567056194e4a01d28516433396bc0aa42c545b47738e739d21823007ffaa171e972789b7cb1c71be94
+DIST android-tools-6.0.1_r79-libselinux.tar.gz 50814 SHA256 f93426fa21aa4d57f95ed832d61edce3363b3c0e80c666b6fc98367fbc95003e SHA512 686557271271c4d59fb968c5aa76b433955009733f3151c4c86faa996ce846088d6632b0969b23699822b7a6f09eae60abedba6abb0edc9d444159bbdb5c6f91 WHIRLPOOL d82d53133a54044e92db534b3c546b92ba77759999cc2890b202673d68120a42d8cda169d1298a5bb36e466e65c9c5191d01bc29fdf53d8e621b30a2ccafcd75
diff --git a/dev-util/android-tools/android-tools-6.0.1_p79.ebuild b/dev-util/android-tools/android-tools-6.0.1_p79.ebuild
new file mode 100644
index 000000000000..61a84f5ea642
--- /dev/null
+++ b/dev-util/android-tools/android-tools-6.0.1_p79.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit bash-completion-r1 eutils toolchain-funcs
+
+MY_PV="${PV/_p/_r}"
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Android platform tools (adb, fastboot, and mkbootimg)"
+HOMEPAGE="https://android.googlesource.com/platform/system/core.git/"
+# Downloading git tarballs generated by android.googlesource.com
+# Archlinux package contains patches and build script generation mechanism.
+SRC_URI="https://git.archlinux.org/svntogit/community.git/snapshot/community-6a03c4736c9734f5ac3d6b5b912605690a6eaa5f.tar.gz -> ${MY_P}-arch.tar.gz
+https://github.com/android/platform_system_core/archive/android-${MY_PV}.tar.gz -> ${MY_P}-core.tar.gz
+mirror://gentoo/${MY_P}-extras.tar.gz
+mirror://gentoo/${MY_P}-libselinux.tar.gz
+mirror://gentoo/${MY_P}-f2fs-tools.tar.gz"
+
+# 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 ~x86 ~arm-linux ~x86-linux"
+IUSE="libressl"
+
+RDEPEND="sys-libs/zlib:=
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ dev-libs/libpcre"
+# dev-lang/ruby is necessary for build script generation.
+DEPEND="${RDEPEND}
+ dev-lang/ruby:*"
+
+S=${WORKDIR}
+
+src_unpack() {
+ local dir filename
+ for filename in ${A}; do
+ if [[ ${filename} =~ ^${MY_P}-(.*)\.tar\.gz$ ]]; then
+ dir=${BASH_REMATCH[1]}
+ mkdir -p "${dir}" || die
+ pushd "${dir}" >/dev/null
+ unpack "${filename}"
+ popd > /dev/null
+ else
+ die "unrecognized file in \${A}: ${filename}"
+ fi
+ done
+}
+
+src_prepare() {
+ mv core/*/* core/ || die
+ epatch arch/*/trunk/fix_build.patch
+ cp arch/*/trunk/generate_build.rb ./ || die
+ default
+}
+
+src_compile() {
+ chmod +x ./generate_build.rb || die
+ ./generate_build.rb > build.sh || die
+ chmod +x build.sh || die
+ ./build.sh || die
+}
+
+src_install() {
+ dobin adb
+ dobin fastboot
+ dobin mkbootimg
+ # Omitting, app-shells/bash-completion contains completion for adb
+ #newbashcomp arch/*/trunk/bash_completion.adb adb
+ newbashcomp arch/*/trunk/bash_completion.fastboot fastboot
+}