diff options
author | Jason Zaman <perfinion@gentoo.org> | 2016-04-12 12:35:45 +0800 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2016-04-12 12:56:14 +0800 |
commit | 58cf4f1dcd9c9d80c618aa06bc594be9f4aad9ba (patch) | |
tree | 99e960cd2f300431a8cb208fba2ba29c82de4f0f /dev-util/android-ndk | |
parent | dev-libs/libofx: Stable for HPPA (bug #568748). (diff) | |
download | gentoo-58cf4f1dcd9c9d80c618aa06bc594be9f4aad9ba.tar.gz gentoo-58cf4f1dcd9c9d80c618aa06bc594be9f4aad9ba.tar.bz2 gentoo-58cf4f1dcd9c9d80c618aa06bc594be9f4aad9ba.zip |
dev-util/android-ndk: bump to 11c, 32bit support has been dropped
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-util/android-ndk')
-rw-r--r-- | dev-util/android-ndk/Manifest | 1 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-11c.ebuild | 80 | ||||
-rw-r--r-- | dev-util/android-ndk/metadata.xml | 4 |
3 files changed, 83 insertions, 2 deletions
diff --git a/dev-util/android-ndk/Manifest b/dev-util/android-ndk/Manifest index e02afc2d76aa..e84342fd998c 100644 --- a/dev-util/android-ndk/Manifest +++ b/dev-util/android-ndk/Manifest @@ -2,6 +2,7 @@ DIST android-ndk-10d-amd64.7z 459151600 SHA256 812949f9299afd4b91890863054dc42f6 DIST android-ndk-10d-x86.7z 449997190 SHA256 c0d07e5ce2fff13b5eb456c10e99527184c9139e798cb7fd1adfadafa65cb696 SHA512 8d66229f6f07d6fba00650a96267c3c4a8308d296d9f13aa359af34ad49f57ba3a02e39f14d2b04609816e5f28ed939e71024043a0f08dc3711895a42e39f771 WHIRLPOOL 482ea86675f2b983669d30e508a21d813a7b03eb19c98696017591ecebf78102f5549df2b4be2d29c301b0b2dfc774b2057248facc2f395beec7f04326841e62 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-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-11c.ebuild b/dev-util/android-ndk/android-ndk-11c.ebuild new file mode 100644 index 000000000000..86e89235aeb2 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-11c.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 + sys-libs/ncurses:5/5 + )" + +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}" +} diff --git a/dev-util/android-ndk/metadata.xml b/dev-util/android-ndk/metadata.xml index 6c619474b283..a4cb54d29397 100644 --- a/dev-util/android-ndk/metadata.xml +++ b/dev-util/android-ndk/metadata.xml @@ -7,7 +7,7 @@ </maintainer> <use> <flag name="legacy-toolchains">Install legacy toolchains</flag> - <flag name="target-32">Support for 32-bit targets</flag> - <flag name="target-64">Support for 64-bit targets</flag> + <flag name="target-32">Support for 32-bit targets</flag> + <flag name="target-64">Support for 64-bit targets</flag> </use> </pkgmetadata> |