diff options
author | Jason Zaman <perfinion@gentoo.org> | 2016-11-20 17:38:44 +0800 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2016-11-20 17:39:11 +0800 |
commit | 976f96c42f6d07fa7aaf51278faba1c47f2a87d8 (patch) | |
tree | ea3c692d61e0add84d478070d31946aada694a05 /dev-util | |
parent | games-strategy/openra: amd64/x86 stable (diff) | |
download | gentoo-976f96c42f6d07fa7aaf51278faba1c47f2a87d8.tar.gz gentoo-976f96c42f6d07fa7aaf51278faba1c47f2a87d8.tar.bz2 gentoo-976f96c42f6d07fa7aaf51278faba1c47f2a87d8.zip |
dev-util/android-ndk: bump to 13b
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/android-ndk/Manifest | 1 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-13b.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/dev-util/android-ndk/Manifest b/dev-util/android-ndk/Manifest index e84342fd998c..413efcc05b7f 100644 --- a/dev-util/android-ndk/Manifest +++ b/dev-util/android-ndk/Manifest @@ -3,6 +3,7 @@ DIST android-ndk-10d-x86.7z 449997190 SHA256 c0d07e5ce2fff13b5eb456c10e99527184c DIST android-ndk-10e-amd64.7z 401522849 SHA256 102d6723f67ff1384330d12c45854315d6452d6510286f4e5891e00a5a8f1d5a SHA512 8948c7bd1621e32dce554d5cd1268ffda2e9c5e6b2dda5b8cf0266ea60aa2dd6fddf8d290683fc1ef0b69d66c898226c7f52cc567dbb14352b4191ac19dfb371 WHIRLPOOL a372ea7753aafadc2a12663f56e4feb865569d9372b777410b7df61b04310879be0c0398bd4f675564e3bf4088707cddf7fc721d2c76c42691c37e4dc49a2c7f DIST android-ndk-10e-x86.7z 394281908 SHA256 92b07d25aaad9b341a7f2b2a62402d508e948bf2dea3ee7b65a6aeb18bca7df5 SHA512 fdce2537c4f9bca980948961448ec746bca0626b92c1edf0db46df34819b6ea2f6acb4f0921c3ff8da8e20dd6b414749c6cb3b973d7d1cdecccb4b8f4f2e0679 WHIRLPOOL 40205439cf16b3bf374aaaa9930bab96e8b3dba8b2de07fb920564e78c62017c2f7693cc1880b8e6da2542a20af8822d1851ee8a3097d325074efb3a89ac1579 DIST android-ndk-r11c-linux-x86_64.zip 794135138 SHA256 ba85dbe4d370e4de567222f73a3e034d85fc3011b3cbd90697f3e8dcace3ad94 SHA512 c0de562061c9f08bcd1ae05b1de26898788e71cc7dc40502348214edd5a90f1bf8125721e587b341f6fe774fc79b1a6e28b3f702f3275e016baa0382fcea2767 WHIRLPOOL 7d8ef18e7644e28c4ac1aa5a49f7d6487181aacc348ff09cc5ac8fc4ca15e06f38924d2425a24b840ed6c9c589587415b630aedace02e1d3df6a4c222fbcaafc +DIST android-ndk-r13b-linux-x86_64.zip 687311866 SHA256 3524d7f8fca6dc0d8e7073a7ab7f76888780a22841a6641927123146c3ffd29c SHA512 39f3bd2d0e1daca11870df2e2ef318ad070b19163a55e2c1c4a1a871e02f8ec51263d7cf4b6da54eaadbe4253b5c11b85f4c5aeb67fccfff9147a5c420589d12 WHIRLPOOL 53230a1d15f4eaff5955fec69cd88f8e9fec56e362f22cf0b0b2a992b64525f63ae696fbd9614e3f11aa7141c49ee2a800db5c4acff503c0ba3511bf6a3f18bf DIST android-ndk-r8b-linux-x86.tar.bz2 160466240 SHA256 4309c6e8f6bc48bfda7a4b339dc792e926f18ed765bedda7727bb6778937dad0 SHA512 a7a4bb00a16a473cec33c185f21b386d72a4d1dc1294f86bfeff95de70c45e0a9b357ac53d482a3b0e8dfc527de9d561e2b121c199c9149662bd4f05e6bef1b2 WHIRLPOOL c799cc7cc06baafb67b4630debebf458513d203998e1fae1b9395daaa8d5998e71468c3a0e43cacb1ec959ae854a016c4407129ed86c3d5a2fd0e3162bc1c395 DIST android-ndk-r8c-linux-x86.tar.bz2 179945337 SHA256 1d3c463bb33e1c429771745e7e287321f9ebecc8eb30d0e514396508887b9ba4 SHA512 317d6786a33bc94ef9bf983c7836284e74442521a7f1aaa653f1b1c3d2d6428633fb410ac219b90f21ee6a89493a006eebb77fd7ae00889d1e4c5408162bbb89 WHIRLPOOL d30902cfd65a6402bdae28a332f6ef8ba9f94a30eebc8e39ccea3d7e01ab82eeb95c787bfd13d78fd043e0e37bf5d5b66b61bfd4f23781aa4b1a605f23fd1f23 DIST android-ndk-r8d-linux-x86.tar.bz2 254644383 SHA256 29b9e1cc0aade159f1b2e0ebf7f53dfbe3e4e43f96387f43f28b1cfce5c707e5 SHA512 76fba8f76325338a29df24c071ab838cde4457de302b91f9c461913b1e26a14aae11c41fbfbb98071c698ffe949d0909ed20a43bc5072141e3c075ce3252480f WHIRLPOOL 206906094bcd84b0a502e28ceda2593add269ced8724e5873951c6094b1fb8c7d3a90704119c140687725ee97f7b216fc506e1a592b1d69b86177b515f561082 diff --git a/dev-util/android-ndk/android-ndk-13b.ebuild b/dev-util/android-ndk/android-ndk-13b.ebuild new file mode 100644 index 000000000000..add201b5a4f2 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-13b.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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:0/5[tinfo] + 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 + + printf '%s' \ + "PATH=\"${ANDROID_PATH}\"" \ + $'\n' \ + > "${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}" +} |