summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/android-sdk-update-manager/ChangeLog8
-rw-r--r--dev-util/android-sdk-update-manager/Manifest12
-rw-r--r--dev-util/android-sdk-update-manager/android-sdk-update-manager-10.ebuild90
3 files changed, 104 insertions, 6 deletions
diff --git a/dev-util/android-sdk-update-manager/ChangeLog b/dev-util/android-sdk-update-manager/ChangeLog
index f9f03e85f3bc..2239fd984795 100644
--- a/dev-util/android-sdk-update-manager/ChangeLog
+++ b/dev-util/android-sdk-update-manager/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/android-sdk-update-manager
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/android-sdk-update-manager/ChangeLog,v 1.18 2011/02/12 14:41:30 rich0 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/android-sdk-update-manager/ChangeLog,v 1.19 2011/02/23 15:45:20 rich0 Exp $
+
+*android-sdk-update-manager-10 (23 Feb 2011)
+
+ 23 Feb 2011; Richard Freeman <rich0@gentoo.org>
+ +android-sdk-update-manager-10.ebuild:
+ New revision - thanks to Rajat Vig for the notice and update.
12 Feb 2011; Richard Freeman <rich0@gentoo.org>
android-sdk-update-manager-9.ebuild:
diff --git a/dev-util/android-sdk-update-manager/Manifest b/dev-util/android-sdk-update-manager/Manifest
index 5fa53cf51730..38fba89a3ed2 100644
--- a/dev-util/android-sdk-update-manager/Manifest
+++ b/dev-util/android-sdk-update-manager/Manifest
@@ -6,17 +6,19 @@ AUX android-sdk-update-manager-8-swt.patch 634 RMD160 2839f1b3b1ab146d2f891b5d5b
DIST android-sdk_r06-linux_86.tgz 16971139 RMD160 099b6c613063c9a603e3b283579eeb79f30c144c SHA1 41e656c101e0037c875ce1ef448552312e7a5f46 SHA256 9d1f5e2fff0deac3d39dbb8318c96d54f344e731f3a646a910057c6de38bfc40
DIST android-sdk_r08-linux_86.tgz 26817291 RMD160 4c28ee1d09c576ce5b58a9cddb90d34bb49db04c SHA1 4296facae44911b145f4bebeba828032e14b8de1 SHA256 a9d3d0075de21fb2f871a64d4fa262cf3ecfe4749e4e3a970953dbf70471a764
DIST android-sdk_r09-linux_x86.tgz 26917824 RMD160 4d208ae47eb2a5a8f7ffa40a7f5812cc5250827f SHA1 c17b49a19dd57cee61130ade7cea9f716d161ae1 SHA256 ad908a58febefcfbc206bfcfdb70d4b8379440ebc19c1e60d717bfdefa3a1ca4
+DIST android-sdk_r10-linux_x86.tgz 26981997 RMD160 e9ca77ee90934071798b3cf91d6d0ef14ebe5d37 SHA1 335ce0060933106295ec1f8eee11abe3e5fc0420 SHA256 26738face3b53cca7f558b8eba6ea0574e855a7557a8fb565af72d8f4715675a
+EBUILD android-sdk-update-manager-10.ebuild 2836 RMD160 64696859bcdfd0d0d8c393f1970610be89d7aff8 SHA1 95f1e19091bfd3f473c1a9e1ce1c016b1cab1af1 SHA256 be8966d8ea28b3834baab4ffb9310d339a7e0cda35976b1173aa09284f3bd4ce
EBUILD android-sdk-update-manager-6-r2.ebuild 2490 RMD160 cc843d1e88ae439569c809611d8e2f8072f32da8 SHA1 9c1c6b8b90402b5c33751a04fa7c5bb2fbf153d6 SHA256 a4fc5be1e990f4e17c6fa5cc2a99b379dc65dbf7e9a7a318287613f2ea1283b5
EBUILD android-sdk-update-manager-8-r1.ebuild 2569 RMD160 2b120fe6d849d7891c8f8459c6e52fc83bcff8f9 SHA1 7984c5ee22d3dcdfb015ce23749c291811a2ab56 SHA256 03bbe4a99020f9ce66d8f76d751fa21005c3e53fa5dbd77c3269d47f92359bb8
EBUILD android-sdk-update-manager-8-r2.ebuild 2727 RMD160 0af8ea7954e9a68ffcc228b416f238254fbdd6bf SHA1 f6b3d16744563a9327e09cb2ae7f579ac022723b SHA256 295f8cc46f0676c86437a463893e47c5929df151a30f41a527afd6758497dc3d
EBUILD android-sdk-update-manager-8.ebuild 2452 RMD160 7604d45df43a65c6660d9ca47ad841b9e70155dc SHA1 973b8247c12ca5a6ffbfdc7a7a084dc515466216 SHA256 26d1da5bf0d69cb0dd3814f5596df7b57cac154479ca7bea67648f982ab07eb7
EBUILD android-sdk-update-manager-9.ebuild 2836 RMD160 da72e073ad0995fc42a3689a5d6f71a2024aef8b SHA1 b33a51b76a0cd86a1618f2d17a6d48fbfa145896 SHA256 883aac0a16617f2fcf1970bdd81a587281abf7215fc3cf8297ffb9028f71ff07
-MISC ChangeLog 3721 RMD160 d026121f11a45788f15d921fbd3721429235b924 SHA1 44d46f19bba37e6b779a85462ba2e827daadd643 SHA256 d9e67ed988e97e56c994689623418efca7dec403b9397402cfe3a032ac19bf34
+MISC ChangeLog 3923 RMD160 b663a033c71b6d3b04e6b15686d4b082bed55827 SHA1 06d4c85b5a7faadc2c7105acbf0a56c7c7cbd18b SHA256 76d6c5ba745dd556a08c01ac21489a3b245ceee64deaa1b44b7e6ba2e100a69b
MISC metadata.xml 258 RMD160 9f316fb78a594d92c950ff6daadefc8e9a65506f SHA1 918ee729b0051fb573df6cedd25457f3059049b5 SHA256 0c53e23730313005e113fc99b79a1c4ebc3c51e1dfb37d901572a95c972d6eb7
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk1WnCUACgkQG4/rWKZmVWm8bgCeK2O2Yup/KDL7oFTEx3GGOuAj
-Kv4An2hfs8UINs/8Sft6tVJFAUb9Jt/v
-=RNfl
+iEYEARECAAYFAk1lK5kACgkQG4/rWKZmVWlqdgCfdBN1pHfNQd5g/dugLMkFUMJR
+oaUAn1fNTfWuoityIVJiQzyvYBxjJzfi
+=6CM8
-----END PGP SIGNATURE-----
diff --git a/dev-util/android-sdk-update-manager/android-sdk-update-manager-10.ebuild b/dev-util/android-sdk-update-manager/android-sdk-update-manager-10.ebuild
new file mode 100644
index 000000000000..721eaa072c0c
--- /dev/null
+++ b/dev-util/android-sdk-update-manager/android-sdk-update-manager-10.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/android-sdk-update-manager/android-sdk-update-manager-10.ebuild,v 1.1 2011/02/23 15:45:20 rich0 Exp $
+
+EAPI="3"
+
+inherit eutils
+
+MY_P="android-sdk_r${PV}-linux_x86"
+
+DESCRIPTION="Open Handset Alliance's Android SDK"
+HOMEPAGE="http://developer.android.com"
+SRC_URI="http://dl.google.com/android/${MY_P}.tgz"
+IUSE=""
+RESTRICT="mirror"
+
+LICENSE="android"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/tar
+ app-arch/gzip"
+RDEPEND=">=virtual/jdk-1.5
+ >=dev-java/ant-core-1.6.5
+ =dev-java/swt-3.5*
+ amd64? ( app-emulation/emul-linux-x86-gtklibs )
+ x86? ( x11-libs/gtk+:2 )"
+
+ANDROID_SDK_DIR="/opt/${PN}"
+QA_DT_HASH_x86="
+ ${ANDROID_SDK_DIR/\/}/tools/emulator
+ ${ANDROID_SDK_DIR/\/}/tools/adb
+ ${ANDROID_SDK_DIR/\/}/tools/mksdcard
+ ${ANDROID_SDK_DIR/\/}/tools/sqlite3
+ ${ANDROID_SDK_DIR/\/}/tools/hprof-conv
+ ${ANDROID_SDK_DIR/\/}/tools/zipalign
+ ${ANDROID_SDK_DIR/\/}/tools/dmtracedump
+"
+QA_DT_HASH_amd64="${QA_DT_HASH_x86}"
+
+S="${WORKDIR}/android-sdk-linux_x86"
+
+pkg_setup() {
+ enewgroup android || die
+}
+
+src_prepare(){
+# epatch "${FILESDIR}/${PN}-8-swt.patch"
+
+ rm -rf tools/lib/x86*
+}
+
+src_install(){
+ dodoc tools/NOTICE.txt "SDK Readme.txt" || die
+ rm -f tools/NOTICE.txt "SDK Readme.txt"
+
+ dodir "${ANDROID_SDK_DIR}/tools"
+ cp -pPR tools/* "${ED}${ANDROID_SDK_DIR}/tools" || die "failed to install tools"
+
+ # Maybe this is needed for the tools directory too.
+ #keepdir "${ANDROID_SDK_DIR}"/{add-ons,docs,platforms,temp} || die "failed to keepdir"
+ dodir "${ANDROID_SDK_DIR}"/{add-ons,docs,platforms,temp} || die "failed to dodir"
+
+ fowners root:android "${ANDROID_SDK_DIR}"/{,add-ons,docs,platforms,temp} || die
+ fperms 0775 "${ANDROID_SDK_DIR}"/{,add-ons,docs,platforms,temp} || die
+
+ echo "PATH=\"${EPREFIX}${ANDROID_SDK_DIR}/tools:${EPREFIX}${ANDROID_SDK_DIR}/platform-tools\"" > "${T}/80${PN}" || die
+
+ SWT_PATH="`dirname \`java-config -p swt-3.5\``"
+
+ echo "ANDROID_SWT=\"${SWT_PATH}\"" >> "${T}/80${PN}" || die
+
+ doenvd "${T}/80${PN}" || die
+
+ echo "SEARCH_DIRS_MASK=\"${EPREFIX}${ANDROID_SDK_DIR}\"" > "${T}/80${PN}" || die
+
+ insinto "${EPREFIX}/etc/revdep-rebuild" && doins "${T}/80${PN}" || die
+
+}
+
+pkg_postinst() {
+ elog "The Android SDK now uses its own manager for the development environment."
+ elog "You must be in the android group to manage the development environment."
+ elog "Just run 'gpasswd -a <USER> android', then have <USER> re-login."
+ elog "See http://developer.android.com/sdk/adding-components.html for more"
+ elog "information."
+ elog "If you have problems downloading the SDK, see http://code.google.com/p/android/issues/detail?id=4406"
+ elog "You need to run env-update and source /etc/profile in any open shells"
+ elog "if you get an SWT error."
+}