diff options
author | Joshua Kinard <kumba@gentoo.org> | 2012-12-27 09:21:32 +0000 |
---|---|---|
committer | Joshua Kinard <kumba@gentoo.org> | 2012-12-27 09:21:32 +0000 |
commit | 48274ff3dfa7735a1967abd5761106ba8b057d50 (patch) | |
tree | 18d5e6deab37a90e28219057e59fa4b199b0ca4c /dev-util/android-ndk | |
parent | alpha/sparc stable wrt #441228 (diff) | |
download | historical-48274ff3dfa7735a1967abd5761106ba8b057d50.tar.gz historical-48274ff3dfa7735a1967abd5761106ba8b057d50.tar.bz2 historical-48274ff3dfa7735a1967abd5761106ba8b057d50.zip |
Add NDK r8c and r8d, and support gcc-4.7 in r8d. No clang yet.
Package-Manager: portage-2.1.11.38/cvs/Linux x86_64
Manifest-Sign-Key: 0xD25D95E3
Diffstat (limited to 'dev-util/android-ndk')
-rw-r--r-- | dev-util/android-ndk/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/android-ndk/Manifest | 26 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-8c.ebuild | 73 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-8d.ebuild | 79 |
4 files changed, 185 insertions, 2 deletions
diff --git a/dev-util/android-ndk/ChangeLog b/dev-util/android-ndk/ChangeLog index 88ad523626bc..50c779d72124 100644 --- a/dev-util/android-ndk/ChangeLog +++ b/dev-util/android-ndk/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-util/android-ndk # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/android-ndk/ChangeLog,v 1.4 2012/08/13 21:30:06 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/android-ndk/ChangeLog,v 1.5 2012/12/27 09:21:21 kumba Exp $ + +*android-ndk-8d (27 Dec 2012) +*android-ndk-8c (27 Dec 2012) + + 27 Dec 2012; Joshua Kinard <kumba@gentoo.org> +android-ndk-8c.ebuild, + +android-ndk-8d.ebuild: + Add NDK r8c and r8d, and support gcc-4.7 in r8d. No clang yet. 13 Aug 2012; Doug Goldstein <cardoe@gentoo.org> android-ndk-8b.ebuild: Fix bug in ending the PATH diff --git a/dev-util/android-ndk/Manifest b/dev-util/android-ndk/Manifest index 953b3f53d908..078c3239e511 100644 --- a/dev-util/android-ndk/Manifest +++ b/dev-util/android-ndk/Manifest @@ -1,6 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST android-ndk-r5c-linux-x86.tar.bz2 44539890 SHA256 aa4e96ba65d6709e199c67aaedcfa239d26fc5833f37f93a7a8de9284e74f179 SHA512 1a6e68e740510933f6f3f770bbffe8985dcfb1d78a808c98b40271d507abff3668f33f37d6794570bfb651636fdb4aaf59e5b24dd5575152962212c8d3d10de0 WHIRLPOOL 3901cc2b944b9e5a093254af696cb557537e3418320a7270d482631fde95c4fefae0aafaba2b1d537579401f9e6dacf941ff1bf4283d9820d3e78854cd19e198 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 EBUILD android-ndk-5c.ebuild 1683 SHA256 9c8e02888f20c9cb199160585266af45f3699fb0204943f87ec67912d9c995c8 SHA512 af5b0415887ed63a03f2fdb9cc66982840ccf33911eac68fdfb50491e3af2ad59de06359ae6c799da91bf0e597637621d1026a02a77ce02c409f54fdd34c961a WHIRLPOOL b970366e1b5ae3e040f52de68c2f94d1a96b52f7de7293627561bca3cc8c48db7fa2819c644f910a4b04cc5a039b96e720feeef9f86655c35c80f320eb1bae77 EBUILD android-ndk-8b.ebuild 2312 SHA256 a7d71e4651984dd05514248d89d4fda90eb16e8a3ca7c69f46aa7231cb95a485 SHA512 ab8f4cc87ec9efd9e7d1e604ba97d7c50046d6ec56c3d0d86062e9f7d645fddb12d39dc3b80e87534cb808b5112ba3985a2436737bac800b59f32d0984698d1e WHIRLPOOL fe9d13f71184505fe72ee372947bdc3dea5f89f2bb2394de06dfc147151126abb634499d8c80fe9308bef6bb94fb276450fd774030515fb617dd9e344c6bf9db -MISC ChangeLog 877 SHA256 e462b741d3046b4e8e8b0a842acbdc49adf665adaf10c6cbdfbaeeb3d2b8f958 SHA512 2266a9e94544fb1ba092515388105fd22b25691223b75d90603d9cd7065e9028db2e55dd2e973bc7cab3b076e5f0e6f7bb6d821cb367b9deebbb718bf7530dec WHIRLPOOL 9e946af2264f8a35a984322e23b6677217b2f1747f2ee5bdd195796707d601eb4f53a73553548676ecd2d792518f1a1901e778a5a5821716fdda4c7b575d1861 +EBUILD android-ndk-8c.ebuild 2311 SHA256 90326243f08d16ac77ebead26894341ca5da72ef3b5b7745cca8fd4d3116b760 SHA512 3fbcd118f4c6b724eef52654927012be196f0452fa8cb1817f36106e7d43d4ffbacd9a4585dd63c811dd8c77c7a74ee52adf6076fd5d0d568ee477c6f1b3dcf4 WHIRLPOOL 46d7550b6b187ec97025baeb0f66be051d2403b5a4247e5c6d90c7a4a58f2813d5beb771204bc7d1ceac0824c97b5eda33dac7e299d12542a9d9b9193a0144f8 +EBUILD android-ndk-8d.ebuild 2765 SHA256 7f35cb394ac634d9b23e9cba69f560edc5bf337f2ff4d0e6dfeaa83e13613ba4 SHA512 bff1927c19c0c7a6bceaadc2e56142620bcaae5e2da727805805bac03539fcbc4a701c6b89919011b7bf7d840a6a0b192d257543e88d6c1e2c80e95cfbc46c1c WHIRLPOOL 4aba139eaceac3549c882bc53fbbf29bf1e3b53bbe0a0123c70d63b4de67b1a749ccfaeb5abc8a2b12f2520ba43ff3f5dbcf5173ee7590f716d7363af6a9e8d7 +MISC ChangeLog 1101 SHA256 ed23fd34fa5c5d4db723791245bb9b74fc934900134214fa0fbeb2869ae6f92d SHA512 2c46d3c582ccbcb05b02d0ebb9851fc6d9c2a5a6f017302e35c5b7cae83654225c0fcf183806b9541faeb0f441298e42f26185c501dac39ad5216051ba137bf8 WHIRLPOOL 7394d803935e5a8899644622318d910cae132b9a470d909a68f7c244c319ca78416a41d4e56a36b0dcf4066b22e48d7c7f2cbfeabc1ba81c0a33eca35659b382 MISC metadata.xml 363 SHA256 b7d69abe4a5acd086007408d1d38b92b129d49143b2133bb6d4c4400b1c89160 SHA512 f7bbf8d6b0d63f9631889e7dfd524b6e7296e7d081ba75ad7a277303d5f881ba0b4d323b56a9b25078964eaa54aeb6ca6c68cd1d35a89c7bfa4a5d47139ee001 WHIRLPOOL 6e97e142d009dbd517d3c09e035e05b59c12b3de4ad236b4e254cac3eb4d9141bda9113ae54de2e140945c6b4c2bf0c83099b60732ac456b7ad7ade556528ef8 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQIcBAEBCAAGBQJQ3BMTAAoJENsjoH7SXZXj5KEQAKfoLB/bNENQpTBF13bQfAG+ +QVN8sreyZPzjep/ya2gx1qnJmPKkbTs5CXES+GqLvjNuQoJZLMXntw6SZu7pP6w9 +nVXD7Mjt2FTexbkianI86unvf/MlrRGaDLs3XhVzux8m7m4IaFbJY7Gof4KVvhkr +G8DrnlDVnu6dOCKMnCIsuRPty5d4DsjRF1PsZzQTokNG09Fhd+wnwLzIdR83Ybjg +LneiNC8XTSjce32fFz1yB83tcSx6rWvL7w23xQORm5ghDfyd2EERj/fZXkE3wutg +amLCmIuGeERu6Ilyp83UXQHo4Ja6hj+eFe421gWvyvrJdoqC0gyXuPbp1GjDmuXI +5/QzO9JhMleW91Gd9lP6PJAJ+8bX+STl8t0dw/iY9rGHsbr/CNtbhRkBbEJLS3si +PP6ZVgL/PiRKj9g8OGtjnF5fOGvBgmYUxMvLvqh2edsbeQWfWYOiujyaw2WVGWXv +feO1LsAPoRYFl3orr6Kq223C+URW4snxgxfWVqdyUPUmabW8AhkxEMW/4CbtTn5q +vuxRR/6HB1z04oNMDjmywy1DhiI8+K76fQcGxgvIe9irMV2hd+ESHA3XNiz0F0+E +uSon1fIIuRsuEukUKF+QD/qMXQ0huaqCzFDVzLH3qvN3l7Xx8eHPVC0vnZVqxT9w +hLDvoCHJEAfgxMoRW2Ks +=Bhmv +-----END PGP SIGNATURE----- diff --git a/dev-util/android-ndk/android-ndk-8c.ebuild b/dev-util/android-ndk/android-ndk-8c.ebuild new file mode 100644 index 000000000000..cf274b0f835c --- /dev/null +++ b/dev-util/android-ndk/android-ndk-8c.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/android-ndk/android-ndk-8c.ebuild,v 1.1 2012/12/27 09:21:21 kumba Exp $ + +EAPI=3 + +MY_P="${PN}-r${PV}" + +DESCRIPTION="Open Handset Alliance's Android NDK (Native Dev Kit)" +HOMEPAGE="http://developer.android.com/sdk/ndk/" +SRC_URI="http://dl.google.com/android/ndk/${MY_P}-linux-x86.tar.bz2" + +LICENSE="android" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror strip installsources test" + +DEPEND="" +RDEPEND=">=dev-util/android-sdk-update-manager-10 + >=sys-devel/make-3.81" + +S="${WORKDIR}/${MY_P}" + +ANDROID_NDK_DIR="opt/${PN}" + +ANDROID_TC_ARM_ANDROID_4_4="${ANDROID_NDK_DIR}/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86" +ANDROID_TC_ARM_ANDROID_4_6="${ANDROID_NDK_DIR}/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86" +ANDROID_TC_MIPS_ANDROID_4_4="${ANDROID_NDK_DIR}/toolchains/mipsel-linux-android-4.4.3/prebuilt/linux-x86" +ANDROID_TC_MIPS_ANDROID_4_6="${ANDROID_NDK_DIR}/toolchains/mipsel-linux-android-4.6/prebuilt/linux-x86" +ANDROID_TC_X86_ANDROID_4_4="${ANDROID_NDK_DIR}/toolchains/x86-4.4.3/prebuilt/linux-x86" +ANDROID_TC_X86_ANDROID_4_6="${ANDROID_NDK_DIR}/toolchains/x86-4.6/prebuilt/linux-x86" + +QA_PREBUILT="*" + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir "/${ANDROID_NDK_DIR}" + cp -pPR * "${ED}/${ANDROID_NDK_DIR}" + + fowners -R root:android "/${ANDROID_NDK_DIR}" + fperms 0775 "/${ANDROID_NDK_DIR}/"{,build,docs,platforms,samples} + fperms 0775 "/${ANDROID_NDK_DIR}/"{sources,tests,toolchains} + + dodir "/${ANDROID_NDK_DIR}/out" + fowners root:android "/${ANDROID_NDK_DIR}/out" + fperms 3775 "/${ANDROID_NDK_DIR}/out" + + printf '%s' \ + "PATH=\"${EPREFIX}/${ANDROID_NDK_DIR}:" \ + "${EPREFIX}/${ANDROID_TC_ARM_ANDROID_4_4}/bin/:" \ + "${EPREFIX}/${ANDROID_TC_ARM_ANDROID_4_6}/bin/:" \ + "${EPREFIX}/${ANDROID_TC_MIPS_ANDROID_4_4}/bin/:" \ + "${EPREFIX}/${ANDROID_TC_MIPS_ANDROID_4_6}/bin/:" \ + "${EPREFIX}/${ANDROID_TC_X86_ANDROID_4_4}/bin/:" \ + "${EPREFIX}/${ANDROID_TC_X86_ANDROID_4_6}/bin/\"" \ + $'\n' \ + > "${T}/80${PN}" || die + + doenvd "${T}/80${PN}" || die + + 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/android-ndk-8d.ebuild b/dev-util/android-ndk/android-ndk-8d.ebuild new file mode 100644 index 000000000000..e551a8bb5149 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-8d.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/android-ndk/android-ndk-8d.ebuild,v 1.1 2012/12/27 09:21:21 kumba Exp $ + +EAPI=3 + +MY_P="${PN}-r${PV}" + +DESCRIPTION="Open Handset Alliance's Android NDK (Native Dev Kit)" +HOMEPAGE="http://developer.android.com/sdk/ndk/" +SRC_URI="http://dl.google.com/android/ndk/${MY_P}-linux-x86.tar.bz2" + +LICENSE="android" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror strip installsources test" + +DEPEND="" +RDEPEND=">=dev-util/android-sdk-update-manager-10 + >=sys-devel/make-3.81" + +S="${WORKDIR}/${MY_P}" + +ANDROID_NDK_DIR="opt/${PN}" + +ANDROID_TC_ARM_ANDROID_4_4="${ANDROID_NDK_DIR}/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86" +ANDROID_TC_ARM_ANDROID_4_6="${ANDROID_NDK_DIR}/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86" +ANDROID_TC_ARM_ANDROID_4_7="${ANDROID_NDK_DIR}/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86" +ANDROID_TC_MIPS_ANDROID_4_4="${ANDROID_NDK_DIR}/toolchains/mipsel-linux-android-4.4.3/prebuilt/linux-x86" +ANDROID_TC_MIPS_ANDROID_4_6="${ANDROID_NDK_DIR}/toolchains/mipsel-linux-android-4.6/prebuilt/linux-x86" +ANDROID_TC_MIPS_ANDROID_4_7="${ANDROID_NDK_DIR}/toolchains/mipsel-linux-android-4.7/prebuilt/linux-x86" +ANDROID_TC_X86_ANDROID_4_4="${ANDROID_NDK_DIR}/toolchains/x86-4.4.3/prebuilt/linux-x86" +ANDROID_TC_X86_ANDROID_4_6="${ANDROID_NDK_DIR}/toolchains/x86-4.6/prebuilt/linux-x86" +ANDROID_TC_X86_ANDROID_4_7="${ANDROID_NDK_DIR}/toolchains/x86-4.7/prebuilt/linux-x86" + +QA_PREBUILT="*" + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir "/${ANDROID_NDK_DIR}" + cp -pPR * "${ED}/${ANDROID_NDK_DIR}" + + fowners -R root:android "/${ANDROID_NDK_DIR}" + fperms 0775 "/${ANDROID_NDK_DIR}/"{,build,docs,platforms,samples} + fperms 0775 "/${ANDROID_NDK_DIR}/"{sources,tests,toolchains} + + dodir "/${ANDROID_NDK_DIR}/out" + fowners root:android "/${ANDROID_NDK_DIR}/out" + fperms 3775 "/${ANDROID_NDK_DIR}/out" + + printf '%s' \ + "PATH=\"${EPREFIX}/${ANDROID_NDK_DIR}:" \ + "${EPREFIX}/${ANDROID_TC_ARM_ANDROID_4_4}/bin/:" \ + "${EPREFIX}/${ANDROID_TC_ARM_ANDROID_4_6}/bin/:" \ + "${EPREFIX}/${ANDROID_TC_ARM_ANDROID_4_7}/bin/:" \ + "${EPREFIX}/${ANDROID_TC_MIPS_ANDROID_4_4}/bin/:" \ + "${EPREFIX}/${ANDROID_TC_MIPS_ANDROID_4_6}/bin/:" \ + "${EPREFIX}/${ANDROID_TC_MIPS_ANDROID_4_7}/bin/:" \ + "${EPREFIX}/${ANDROID_TC_X86_ANDROID_4_4}/bin/:" \ + "${EPREFIX}/${ANDROID_TC_X86_ANDROID_4_6}/bin/:" \ + "${EPREFIX}/${ANDROID_TC_X86_ANDROID_4_7}/bin/\"" \ + $'\n' \ + > "${T}/80${PN}" || die + + doenvd "${T}/80${PN}" || die + + echo "SEARCH_DIRS_MASK=\"${EPREFIX}/${ANDROID_NDK_DIR}\"" \ + > "${T}/80${PN}" || die + insinto "/etc/revdep-rebuild" + doins "${T}/80${PN}" +} |