diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-util/android-ndk | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-util/android-ndk')
-rw-r--r-- | dev-util/android-ndk/Manifest | 28 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-10.ebuild | 69 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-10b.ebuild | 69 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-10d.ebuild | 67 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-10e.ebuild | 78 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-8b.ebuild | 73 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-8c.ebuild | 73 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-8d.ebuild | 79 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-8e.ebuild | 79 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-9.ebuild | 71 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-9b.ebuild | 71 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-9c.ebuild | 68 | ||||
-rw-r--r-- | dev-util/android-ndk/android-ndk-9d.ebuild | 68 | ||||
-rw-r--r-- | dev-util/android-ndk/metadata.xml | 20 |
14 files changed, 913 insertions, 0 deletions
diff --git a/dev-util/android-ndk/Manifest b/dev-util/android-ndk/Manifest new file mode 100644 index 000000000000..e02afc2d76aa --- /dev/null +++ b/dev-util/android-ndk/Manifest @@ -0,0 +1,28 @@ +DIST android-ndk-10d-amd64.7z 459151600 SHA256 812949f9299afd4b91890863054dc42f6547b6d485211d5f0faca9f286685df6 SHA512 b2ba10d7757ed7189b4e6dc2ecd38fce0c32dc6701151542b9e225e890faee84dded30dd4e907b0e42473e2a6df8ef4d46f37514edc270a04e1129d9c9e677fa WHIRLPOOL 6eddc1401db7d2766335f8a9ddc2dbe395999a1e210855e23ee7b3c5f65ff1e56859c8cdcaff598acd52f8ffe30e148e6ff2e6e2f712d1e4f69fb350a8d3a174 +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-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 +DIST android-ndk-r8e-linux-x86.tar.bz2 461526099 SHA256 c2c4e0c8b3037149a0f5dbb08d72f814a52af4da9fff9d80328c675457e95a98 SHA512 c8f897441d803960f4dbc18b9c99688a952a5175ff5b3c332a8ca25e5612a7d4c931f354cfbb7efd0f9497ada53124f792bb839d07594218187d4a19a0bce5dd WHIRLPOOL 36c9f4d63ef2e29c089deec1229d297c3f462ca376360237c7df75ad6fb649f73e3d664466a423f6768b0dcb7fe3e2f301c5662fcc2590da90bb6bb1b772d467 +DIST android-ndk-r9-linux-x86-legacy-toolchains.tar.bz2 241172797 SHA256 26b94f0a5d686b4892cb22b06094751efded0958baed380b2ccce56517fd830b SHA512 4c8f1c9c6dfe264f227959124dc19f9fc9596c166076b8ec82b37f033101285ccd5832962e233d2605869308b2367280665a1f53f4693cb753434b480c49af25 WHIRLPOOL 60fa7d65c34850ae8b247cca067e2ff41c34986fd87fe8752d6da5b866f4967946eab6f4192701554532c688e075cd2b6f3231ba84698de6216bff33b12024c0 +DIST android-ndk-r9-linux-x86.tar.bz2 419862465 SHA256 30f3da01e4d8d3415777b5d88a0b70fac5a4620807fd28110f9bc4c8093f6b6e SHA512 9c2da6b52df00ff6177ac18314f7c7abef585d2297362d426a9b0a28c8319531d684c1515971066050181178ab205210a7f25ec1de9be843fd0da7c1e897747e WHIRLPOOL 0cdf68e15cac621c686dbc6c6f5fd40e164ee043030a861a1f0484ae6abc8a73c521130c6ec8e6fe6f1beba5b87256634134efcfdc6b0ebf4cda83dbc78db88e +DIST android-ndk-r9-linux-x86_64-legacy-toolchains.tar.bz2 244427866 SHA256 087fbca38a1a2c1a309de272d22e84bbc1c3e2254211761180572fde75faab27 SHA512 dde193474b46ac2ceb69f5ad3ba106eb840daf18470538d85e147b17dff8b1b1b848d499727e28bb8e76bdd16dd4bb99dc073c06f80949080551ae0437f08eed WHIRLPOOL e821828e0ceb8f977dabae8ef92f0b763158ad8d9a7709c6bf051f80db1a7e699ec5c6b5801c08b77e9e7cfc97053497272445ec46d671c1cbdffc0999dc4009 +DIST android-ndk-r9-linux-x86_64.tar.bz2 425113267 SHA256 8a6013bfd8a8709592c53086c4f841933f5f2b175dd030326406d24ff4daa267 SHA512 4196a71c20ad2f12bb5d3fe994179e76ba6e535a5460c34ff07974e74afc362ed271a20c24ac565e8f8863bca152f24befdd1954711d844200a676ba08e1a0aa WHIRLPOOL 5aa753c260015763791c417f8c0c9699e6a394f1a1483db45a24b2884a05907f42cdac17672fae1478ac66ccce097a5519a99fcda4d35ec1c1fc3c8aec42841e +DIST android-ndk-r9b-linux-x86-legacy-toolchains.tar.bz2 125676842 SHA256 606aadf815ae28cc7b0154996247c70d609f111b14e44bcbcd6cad4c87fefb6f SHA512 a6f7189b033a55b4623d4831c35adc635faf80393da217aeabc959d97a246347b8d67150b086ed8f13cd93313d06563f54aa8f29f887d23ffaf8f8a3ac5d3876 WHIRLPOOL 833d877e069400ba578bf55b8e626d14607027f36c9306b3798b7295a4a2386ca327cef2124edbe359e1fa21dcf75b3aae6a0cf8d8430f7476571cb80849f922 +DIST android-ndk-r9b-linux-x86.tar.bz2 361394055 SHA256 748104b829dd12afb2fdb3044634963abb24cdb0aad3b26030abe2e9e65bfc81 SHA512 e8448f2dda591a1e18bb2dc40d6682c19ca01b7d6914fd079e7e6b86cdc152a3c05f7a3853714bfa5b1df7c3eb3f124ba7912caef53fd0d0a335b89c352e8a94 WHIRLPOOL 01c613eb7b66a1d932f787a0ce424f7c4dcadae5ca027273b106e7b24319adc96ed7deda9ad32ea745f88cf210672e64249855b1cead414fc4ab85f938d5ce93 +DIST android-ndk-r9b-linux-x86_64-legacy-toolchains.tar.bz2 127742633 SHA256 de93a394f7c8f3436db44568648f87738a8d09801a52f459dcad3fc047e045a1 SHA512 eeddc80ec3cb75a248ab8e66948a5e5001812cb19213541e5fb85b9b30cae6aac62849c91c9dfd3af2f822382060b069d2efc21294d2f87824be695e9d9abc50 WHIRLPOOL c0c0b7a87890943083bebdbf75cf2ee8c79204b607843f752baa8296da60b65873d3ad3370946cea992217c14486e773411e82fead0ceb662e3132d033119871 +DIST android-ndk-r9b-linux-x86_64.tar.bz2 366988131 SHA256 8956e9efeea95f49425ded8bb697013b66e162b064b0f66b5c75628f76e0f532 SHA512 99eb950ceff8a6fc931859fadb1151326b9fbcfddf1ac8027076b3a4ba5d746b31c38cbde925ab6882510a7b39d93b93b0ff346d452db5c364997bff1bdc0887 WHIRLPOOL 84a542a0f47956a3b5f41717e7a48d3c4ce558a8bcd0cd4b5c8b38fc40c4740b89ab9d8d91286ab2ee8d5330d6c8e66146adca9ebfad44e11ea8c6474684fa71 +DIST android-ndk-r9c-linux-x86.tar.bz2 365412557 SHA256 3497ca83dc8e7c0e35c6fbe8aab882d307613a5f2ec64a2df50e99b9bb6d3cde SHA512 ebd85d9670956db60fb3842a827288d32df70a7b2febc0477fd2ec63531fa8fa61a89a3c3916decf6dba7ef3f2794121ffdd3c1b8263b0e9c259650e44dfb675 WHIRLPOOL cbe66cf87f538ca1f558760f83c7ef81e81373102d0fc945d94d0d7244a4dde1f5e5e5434219b1b132c063e887168bf03d5dd5e268972b406cc5821f6b7d94a9 +DIST android-ndk-r9c-linux-x86_64.tar.bz2 371254928 SHA256 300be3963d775d83c349487a68b4985df492561433d2eb25d81725db1a98b958 SHA512 317a3904561c850b9129a855fd353a7ba706986f08bde709d16ef10c6adffe546cdf3cb48e5e19a0261f33edde4b2d3b6f5ae9aa59280ec0742dbdacbba93755 WHIRLPOOL 8a468837bf79906692aed7d49b91b3317e6fe4edc0b5fa91a4b6f1ee2ea6fd633104032cb992c40dc02573c3dccf2e80a7cee818b5bef2ce2942c3577d2025a8 +DIST android-ndk-r9d-linux-x86.tar.bz2 405218267 SHA256 d5ec2e6cad089ea1229326b137f42edbb2db4d961840eb9b38aa55ca32ea3d53 SHA512 9ba1603d3ac5daf8816dbc7ba998d6b93d4f3d197a30beaaccb02fefe785554769b453462c90fe19194200808b38128396e77c32425c8d0872652c81a916304e WHIRLPOOL 90a0160e13535cb95fb9d5dfd15a03c9c67f3949ea154ddc792c20f470b34f2aa4462b51033df43067886133d599256d35cf295ba856c7fa3d37aa9e3077e09c +DIST android-ndk-r9d-linux-x86_64.tar.bz2 412879983 SHA256 14e1d183a85caca5e08e5e56e5a5beaa2e3f539755eb7a693efdb0e16ce6b19a SHA512 b6b663533785fb6cbc10e467a109cf47f4a49d87abc72f03439ac7b3aa57350e1602d766793bf6c3c5f6e4f4ab8733311ef1c761ac335691566b2e936f853af3 WHIRLPOOL 3f0b9a5692253c2776567ad9ce2b328716662b79755818727446bfe46411975f76b8d8f8c2a609d8060986d7fabb436b9dd8c89be2ae96d744b27aab91823ddb +DIST android-ndk32-r10-linux-x86.tar.bz2 420078216 SHA256 7480eea8fe699cfc6a3fcfca9debe8d7e2cd6ef00e31e12b91dead49fcb782b4 SHA512 c3acf611b360bea4d559341c4093d1194fa3131ad807ad9aa8f6c159c12bd4979cadc65388b9826baad89c0ba6a4a03f192ddd885c50f0066022ae3265d8e59c WHIRLPOOL a451edb6bb840d88c8f26b3615b27d87d7c5aa78954b5082a78ef184f5c3bafe161c2430803ab8db5dfb91b52d22ef66aa62acfaef75481e4e51f76f71978621 +DIST android-ndk32-r10-linux-x86_64.tar.bz2 420671390 SHA256 9d0b4aab6e3f34158a3698226ab7d6c8df4aa8c9cc5242da9b733ac1f988090e SHA512 004e223b741c8b63ab86bd37f2c83d89457d5144e18221e792676e070ffb9b23078568b52abee2067de7daa0dbe5e8152bcc82685273d60e1a243b3c5f159f84 WHIRLPOOL 8faa4a85a6b8d4a3a0fa1afff543f42a5484d43c4fd4c3ff5f93c2b592edc0ed50d59fae725e4fc26b07f3330b8a87a23fd3fb7aab30e0f4a5a974b445874c06 +DIST android-ndk32-r10b-linux-x86.tar.bz2 421052081 SHA256 e4766586d0f65452317e662758eb7d070c55ad4092e1e82ab1717a1114a1c430 SHA512 ecd270244c9f00b9bf883014f65a04459a5cd422e65239b13a463c363b9e82d7907495792bbe1287dee082117c03356b1f8d869339a4cf1966f2a56ae664aeb9 WHIRLPOOL 28710389c31d8f81f59565af744d17f2d6c081a063046306d9182a13995b7ec99688bdefa9cfd52613f3d76213e005eee84110c3f8cd709007416edddbc92459 +DIST android-ndk32-r10b-linux-x86_64.tar.bz2 422237011 SHA256 f309365a809f61ab012dd3560dff1ecdad8a3652b316938a6f9943cba42bda95 SHA512 6b7ec25a7c2d6cef94ba61403274276a912c5fa757dda5206548619fb155e97bd6eab0eb3354f51f703b82300a754ec8da352aeb20cdcdf80884aaa4bcd97a6f WHIRLPOOL 250d84d1d717db946a09e23a0689a544ea5999c4bfd9e420ea41ccc497102200e62a088c0a421721610e07fc15b112e61856aba59768b4bba87906ab503bb682 +DIST android-ndk64-r10-linux-x86.tar.bz2 338544906 SHA256 e8bdee2e7696b97e9e9e4ef62a59b39edb38a759dc0a566ff81caf08938c7d9f SHA512 09a54fb86a7a157e9dac5a682f2cbae9492fe8c2f64a23f613d7e331844eb682e8e4affbaea116895310f417514bd85b66e6841755197b9add4e84237114d4f5 WHIRLPOOL d5f593e7e9c2b55e631204f11546fded6abcfc52518905d16508ab393a86886cf8d7cee6c2916e76e9474cc2da13c3c8f7332a8908ac273a36e86df53c272bce +DIST android-ndk64-r10-linux-x86_64.tar.bz2 339708042 SHA256 b99bbc74973d0b2c17df22bc0ba9e61704d6f631deb036885fce05964d9ec921 SHA512 2d2a9689912c72e1f3ef5c14acef1b747460531b234d9fc9af25de7102a0195406c47e5c6e98cd5be2a58163fbf76eb1cbf3098a84f93b5c68c18eec94625a9e WHIRLPOOL 79dac240bdc48fed682e129cb8397deddd266397e5b6443b01e98491dbf876cc102c4f1cb7c6c8fff0e4a9d8ef2e4c5089dc47d2efd22380776833a27b32030b +DIST android-ndk64-r10b-linux-x86.tar.bz2 358060577 SHA256 f56782b70ceff53749b9e63f0384e4e0ad04a46a2d7cd64c3b27c7493d2f64dc SHA512 c951a3a50d0db66c435190a6a8000467785932fa1ff000d59b9f4c5917ddf78874df3e2163b5757c019a68a3dcb13492f486248f30d0c762279ff5d67327f26b WHIRLPOOL 022ca2d9968bd9214ad56fa81afa4969147913fb2c74234cbe69a250a8513a9220776e69675cafa5337f45382661b063149c949d8a74baac007e311b4e27f54f +DIST android-ndk64-r10b-linux-x86_64.tar.bz2 358835298 SHA256 32452087a846e73ef3007903e1368edc21847720566b34ae113e454ae259bd8b SHA512 95627d327db205b7a3ec1fb940a8f1509dcde3c2367d779cc06dd7bb2ffd41f3d2eece79bf4578279a571a42233f58109eb6586330b11844f98c79fa410f2c37 WHIRLPOOL c689b6efa8de4f1c1ae1312a99198c036476caa915ae649c4bd66b6879adb9ac790c597361c87a5aa733ef6908e02d8a03fd68186e0c8f1022daa4e99c2661a3 diff --git a/dev-util/android-ndk/android-ndk-10.ebuild b/dev-util/android-ndk/android-ndk-10.ebuild new file mode 100644 index 000000000000..2b545855efd7 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-10.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Open Handset Alliance's Android NDK (Native Dev Kit)" +HOMEPAGE="http://developer.android.com/sdk/ndk/" +SRC_URI="x86? ( target-32? ( http://dl.google.com/android/ndk/${PN}32-r${PV}-linux-x86.tar.bz2 ) + target-64? ( http://dl.google.com/android/ndk/${PN}64-r${PV}-linux-x86.tar.bz2 ) ) + amd64? ( target-32? ( http://dl.google.com/android/ndk/${PN}32-r${PV}-linux-x86_64.tar.bz2 ) + target-64? ( http://dl.google.com/android/ndk/${PN}64-r${PV}-linux-x86_64.tar.bz2 ) )" + +LICENSE="android" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+target-32 target-64" +RESTRICT="mirror strip installsources test" + +DEPEND="" +RDEPEND=">=dev-util/android-sdk-update-manager-10 + >=sys-devel/make-3.81" + +S="${WORKDIR}/${PN}-r${PV}" + +ANDROID_NDK_DIR="opt/${PN}" + +QA_PREBUILT="*" + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir "/${ANDROID_NDK_DIR}" + cp -pPR * "${ED}/${ANDROID_NDK_DIR}" || die + + 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" + + 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/android-ndk-10b.ebuild b/dev-util/android-ndk/android-ndk-10b.ebuild new file mode 100644 index 000000000000..2b545855efd7 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-10b.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Open Handset Alliance's Android NDK (Native Dev Kit)" +HOMEPAGE="http://developer.android.com/sdk/ndk/" +SRC_URI="x86? ( target-32? ( http://dl.google.com/android/ndk/${PN}32-r${PV}-linux-x86.tar.bz2 ) + target-64? ( http://dl.google.com/android/ndk/${PN}64-r${PV}-linux-x86.tar.bz2 ) ) + amd64? ( target-32? ( http://dl.google.com/android/ndk/${PN}32-r${PV}-linux-x86_64.tar.bz2 ) + target-64? ( http://dl.google.com/android/ndk/${PN}64-r${PV}-linux-x86_64.tar.bz2 ) )" + +LICENSE="android" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+target-32 target-64" +RESTRICT="mirror strip installsources test" + +DEPEND="" +RDEPEND=">=dev-util/android-sdk-update-manager-10 + >=sys-devel/make-3.81" + +S="${WORKDIR}/${PN}-r${PV}" + +ANDROID_NDK_DIR="opt/${PN}" + +QA_PREBUILT="*" + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir "/${ANDROID_NDK_DIR}" + cp -pPR * "${ED}/${ANDROID_NDK_DIR}" || die + + 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" + + 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/android-ndk-10d.ebuild b/dev-util/android-ndk/android-ndk-10d.ebuild new file mode 100644 index 000000000000..44f92a0d5815 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-10d.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Open Handset Alliance's Android NDK (Native Dev Kit)" +HOMEPAGE="http://developer.android.com/sdk/ndk/" +SRC_URI="x86? ( http://dl.google.com/android/ndk/${PN}-r${PV}-linux-x86.bin -> ${P}-x86.7z ) + amd64? ( http://dl.google.com/android/ndk/${PN}-r${PV}-linux-x86_64.bin -> ${P}-amd64.7z )" + +LICENSE="android" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror strip installsources test" + +DEPEND="app-arch/p7zip" +RDEPEND=">=dev-util/android-sdk-update-manager-10 + >=sys-devel/make-3.81" + +S="${WORKDIR}/${PN}-r${PV}" + +ANDROID_NDK_DIR="opt/${PN}" + +QA_PREBUILT="*" + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir "/${ANDROID_NDK_DIR}" + cp -pPR * "${ED}/${ANDROID_NDK_DIR}" || die + + 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" + + 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/android-ndk-10e.ebuild b/dev-util/android-ndk/android-ndk-10e.ebuild new file mode 100644 index 000000000000..54d6c82cde57 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-10e.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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="x86? ( http://dl.google.com/android/ndk/${PN}-r${PV}-linux-x86.bin -> ${P}-x86.7z ) + amd64? ( http://dl.google.com/android/ndk/${PN}-r${PV}-linux-x86_64.bin -> ${P}-amd64.7z )" + +LICENSE="android" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror strip installsources test" + +DEPEND="app-arch/p7zip" +RDEPEND=">=dev-util/android-sdk-update-manager-10 + >=sys-devel/make-3.81" + +S="${WORKDIR}/${PN}-r${PV}" + +ANDROID_NDK_DIR="opt/${PN}" + +QA_PREBUILT="*" + +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 + + 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" + + 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/android-ndk-8b.ebuild b/dev-util/android-ndk/android-ndk-8b.ebuild new file mode 100644 index 000000000000..cac57652e426 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-8b.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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-8c.ebuild b/dev-util/android-ndk/android-ndk-8c.ebuild new file mode 100644 index 000000000000..cac57652e426 --- /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 +# $Id$ + +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..21ab36b8e37f --- /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 +# $Id$ + +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}" +} diff --git a/dev-util/android-ndk/android-ndk-8e.ebuild b/dev-util/android-ndk/android-ndk-8e.ebuild new file mode 100644 index 000000000000..7e333122dbe5 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-8e.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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}" +} diff --git a/dev-util/android-ndk/android-ndk-9.ebuild b/dev-util/android-ndk/android-ndk-9.ebuild new file mode 100644 index 000000000000..18280c801516 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-9.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="${PN}-r${PV}" + +DESCRIPTION="Open Handset Alliance's Android NDK (Native Dev Kit)" +HOMEPAGE="http://developer.android.com/sdk/ndk/" +SRC_URI="x86? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86.tar.bz2 + legacy-toolchains? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86-legacy-toolchains.tar.bz2 ) ) + amd64? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86_64.tar.bz2 + legacy-toolchains? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86_64-legacy-toolchains.tar.bz2 ) )" + +LICENSE="android" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="legacy-toolchains" +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}" + +QA_PREBUILT="*" + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir "/${ANDROID_NDK_DIR}" + cp -pPR * "${ED}/${ANDROID_NDK_DIR}" || die + + 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" + + 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/android-ndk-9b.ebuild b/dev-util/android-ndk/android-ndk-9b.ebuild new file mode 100644 index 000000000000..18280c801516 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-9b.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="${PN}-r${PV}" + +DESCRIPTION="Open Handset Alliance's Android NDK (Native Dev Kit)" +HOMEPAGE="http://developer.android.com/sdk/ndk/" +SRC_URI="x86? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86.tar.bz2 + legacy-toolchains? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86-legacy-toolchains.tar.bz2 ) ) + amd64? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86_64.tar.bz2 + legacy-toolchains? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86_64-legacy-toolchains.tar.bz2 ) )" + +LICENSE="android" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="legacy-toolchains" +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}" + +QA_PREBUILT="*" + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir "/${ANDROID_NDK_DIR}" + cp -pPR * "${ED}/${ANDROID_NDK_DIR}" || die + + 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" + + 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/android-ndk-9c.ebuild b/dev-util/android-ndk/android-ndk-9c.ebuild new file mode 100644 index 000000000000..9a7acd58d984 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-9c.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="${PN}-r${PV}" + +DESCRIPTION="Open Handset Alliance's Android NDK (Native Dev Kit)" +HOMEPAGE="http://developer.android.com/sdk/ndk/" +SRC_URI="x86? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86.tar.bz2 ) + amd64? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86_64.tar.bz2 )" + +LICENSE="android" +SLOT="0" +KEYWORDS="~amd64 ~x86" +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}" + +QA_PREBUILT="*" + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir "/${ANDROID_NDK_DIR}" + cp -pPR * "${ED}/${ANDROID_NDK_DIR}" || die + + 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" + + 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/android-ndk-9d.ebuild b/dev-util/android-ndk/android-ndk-9d.ebuild new file mode 100644 index 000000000000..9a7acd58d984 --- /dev/null +++ b/dev-util/android-ndk/android-ndk-9d.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_P="${PN}-r${PV}" + +DESCRIPTION="Open Handset Alliance's Android NDK (Native Dev Kit)" +HOMEPAGE="http://developer.android.com/sdk/ndk/" +SRC_URI="x86? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86.tar.bz2 ) + amd64? ( http://dl.google.com/android/ndk/${MY_P}-linux-x86_64.tar.bz2 )" + +LICENSE="android" +SLOT="0" +KEYWORDS="~amd64 ~x86" +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}" + +QA_PREBUILT="*" + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir "/${ANDROID_NDK_DIR}" + cp -pPR * "${ED}/${ANDROID_NDK_DIR}" || die + + 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" + + 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 new file mode 100644 index 000000000000..905572c5b252 --- /dev/null +++ b/dev-util/android-ndk/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>perfinion@gentoo.org</email> + <name>Jason Zaman</name> + </maintainer> + <maintainer> + <email>cardoe@gentoo.org</email> + <name>Doug Goldstein</name> + <description>Feel free to update/modify this package, just don't break + my limited use case that I use it for.</description> + </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> + </use> +</pkgmetadata> |