summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2018-09-19 13:55:42 +0800
committerJason Zaman <perfinion@gentoo.org>2018-09-21 01:42:37 +0800
commit54350930b08e7a10aaacc4d43e0e76950f18dbf7 (patch)
tree8a5b0a423570e995019d1b6ef8cc3b88f8aa2ec8 /dev-util/android-ndk
parentdev-lang/erlang: Bump (diff)
downloadgentoo-54350930b08e7a10aaacc4d43e0e76950f18dbf7.tar.gz
gentoo-54350930b08e7a10aaacc4d43e0e76950f18dbf7.tar.bz2
gentoo-54350930b08e7a10aaacc4d43e0e76950f18dbf7.zip
dev-util/android-ndk: bump 18
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-util/android-ndk')
-rw-r--r--dev-util/android-ndk/Manifest1
-rw-r--r--dev-util/android-ndk/android-ndk-18.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-util/android-ndk/Manifest b/dev-util/android-ndk/Manifest
index bbe95243d6b6..f9ecf878300f 100644
--- a/dev-util/android-ndk/Manifest
+++ b/dev-util/android-ndk/Manifest
@@ -6,6 +6,7 @@ DIST android-ndk-r11c-linux-x86_64.zip 794135138 BLAKE2B e048c6c7172aafce47e5961
DIST android-ndk-r13b-linux-x86_64.zip 687311866 BLAKE2B 2db7bfd9fa937d5f28fa238494e73ad1d09c539627308aa7f4e2c4114c6762dc908b1752b42dccf792f9c71ff7e3b5e08b2b03e7eac3ff5bea497c33d479d60a SHA512 39f3bd2d0e1daca11870df2e2ef318ad070b19163a55e2c1c4a1a871e02f8ec51263d7cf4b6da54eaadbe4253b5c11b85f4c5aeb67fccfff9147a5c420589d12
DIST android-ndk-r14b-linux-x86_64.zip 840626594 BLAKE2B 5032893ee34e7167c5af5216d7b1357c3f9dcef136d63fa9a1d6c4849471430ac21a741e1c2439ec62b5cb1fa79af9ff39b46c31073e47e7a6f7c41e1a1a448b SHA512 24435267fc5acae559aa5159f7c895ce5ea0cbb8ef966bb8ff0dadffcadccbe46bc3880d285bf4e411ef78632cf2f862408e7b2b41ebca51078b41eac66a301a
DIST android-ndk-r16b-linux-x86_64.zip 852525873 BLAKE2B 18f6e602d88ef0a8f1a7f31bc127547c32bc2fb133d5c87ca4d2f7099f79b54d67f578a68fcd59e94c84934ca2006decca5b09eac566f2f99d609862d4036e48 SHA512 94cd879925ee3174a9267e7da2d18d71874173976b362101ec06598a94b6587a33671e54bbbce5778c04418aacbb831e98386c16f6cde04574ea8c8589553dd7
+DIST android-ndk-r18-linux-x86_64.zip 556932539 BLAKE2B 52bde148e142fe72402d8ab6709b1dcb611f74c0cb8b511b3f0e69a2b6940ee5e05b1d4bd45fdff80f74f65ca3d8176de46bd0a3aa28e2dfd430fc07eab23d69 SHA512 7a8b372be53a7d5a008b6cafda451096623af33aea910edd8e98ee4b15682da5d2ad641727ab12eca522ba965073a3eb247cd3cd850c9b602e2c7b1cd6eec708
DIST android-ndk-r9-linux-x86-legacy-toolchains.tar.bz2 241172797 BLAKE2B c3aad099b68a1a605f06fdb9d93b929374c81481d6ba1502e9ad363c7437032465cd516bc9bdf205a4f9f8ea536865755970046f0f7db4070f32e0f18f65c606 SHA512 4c8f1c9c6dfe264f227959124dc19f9fc9596c166076b8ec82b37f033101285ccd5832962e233d2605869308b2367280665a1f53f4693cb753434b480c49af25
DIST android-ndk-r9-linux-x86.tar.bz2 419862465 BLAKE2B 2e41071a2b17104cd9b5ceb543ca154936a1358722f5fc33ab221227e6a254954fe687fe7a83e2dee72b189f0ac8ef5a11419297c1a36fb45451f797cc2bb85e SHA512 9c2da6b52df00ff6177ac18314f7c7abef585d2297362d426a9b0a28c8319531d684c1515971066050181178ab205210a7f25ec1de9be843fd0da7c1e897747e
DIST android-ndk-r9-linux-x86_64-legacy-toolchains.tar.bz2 244427866 BLAKE2B ad7c6e83ff0a8509750bb2ed302eff20dd4c451e5b55ff2be07268f007361a5023e1b4c8a175efc896e9041df6b1def54946a028dca31d432e48105161303171 SHA512 dde193474b46ac2ceb69f5ad3ba106eb840daf18470538d85e147b17dff8b1b1b848d499727e28bb8e76bdd16dd4bb99dc073c06f80949080551ae0437f08eed
diff --git a/dev-util/android-ndk/android-ndk-18.ebuild b/dev-util/android-ndk/android-ndk-18.ebuild
new file mode 100644
index 000000000000..90339a2f1e32
--- /dev/null
+++ b/dev-util/android-ndk/android-ndk-18.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CHECKREQS_DISK_BUILD="6G"
+inherit check-reqs
+
+DESCRIPTION="Open Handset Alliance's Android NDK (Native Dev Kit)"
+HOMEPAGE="http://developer.android.com/sdk/ndk/"
+SRC_URI="https://dl.google.com/android/repository/${PN}-r${PV}-linux-x86_64.zip"
+
+LICENSE="android"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="mirror strip installsources test"
+
+DEPEND="app-arch/p7zip"
+RDEPEND=">=dev-util/android-sdk-update-manager-10
+ >=sys-devel/make-3.81
+ sys-libs/ncurses:5/5[tinfo]"
+
+S="${WORKDIR}/${PN}-r${PV}"
+
+ANDROID_NDK_DIR="opt/${PN}"
+
+QA_PREBUILT="*"
+PYTHON_UPDATER_IGNORE="1"
+
+pkg_pretend() {
+ check-reqs_pkg_pretend
+}
+
+pkg_setup() {
+ check-reqs_pkg_setup
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ dodir "/${ANDROID_NDK_DIR}"
+ cp -pPR * "${ED}/${ANDROID_NDK_DIR}" || die
+
+ dodir "/${ANDROID_NDK_DIR}/out"
+ fowners -R root:android "/${ANDROID_NDK_DIR}"
+ fperms 0775 "/${ANDROID_NDK_DIR}/"{,build,platforms,prebuilt}
+ fperms 0775 "/${ANDROID_NDK_DIR}/"{python-packages,sources,toolchains}
+ fperms 3775 "/${ANDROID_NDK_DIR}/out"
+
+ ANDROID_PREFIX="${EPREFIX}/${ANDROID_NDK_DIR}"
+ ANDROID_PATH="${EPREFIX}/${ANDROID_NDK_DIR}"
+
+ for i in toolchains/*/prebuilt/linux-*/bin
+ do
+ ANDROID_PATH="${ANDROID_PATH}:${ANDROID_PREFIX}/${i}"
+ done
+
+ echo "PATH=\"${ANDROID_PATH}\"" > "${T}/80${PN}" || die
+ doenvd "${T}/80${PN}"
+
+ echo "SEARCH_DIRS_MASK=\"${EPREFIX}/${ANDROID_NDK_DIR}\"" > "${T}/80${PN}" || die
+ insinto "/etc/revdep-rebuild"
+ doins "${T}/80${PN}"
+}