summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2012-06-29 01:52:09 +0000
committerRichard Freeman <rich0@gentoo.org>2012-06-29 01:52:09 +0000
commit103cfde2945b06c4318995b8467260294fc498c5 (patch)
tree5fb0ffc591f0daaec6fde3bf6e50ef6c4fb49f14 /dev-util/android-sdk-update-manager
parentBeta and Stable channel bumps. (diff)
downloadhistorical-103cfde2945b06c4318995b8467260294fc498c5.tar.gz
historical-103cfde2945b06c4318995b8467260294fc498c5.tar.bz2
historical-103cfde2945b06c4318995b8467260294fc498c5.zip
bump - 413163
Package-Manager: portage-2.1.10.65/cvs/Linux x86_64
Diffstat (limited to 'dev-util/android-sdk-update-manager')
-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-20.ebuild98
3 files changed, 112 insertions, 6 deletions
diff --git a/dev-util/android-sdk-update-manager/ChangeLog b/dev-util/android-sdk-update-manager/ChangeLog
index d074743cf623..454153f9413c 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-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/android-sdk-update-manager/ChangeLog,v 1.36 2012/06/07 20:49:07 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/android-sdk-update-manager/ChangeLog,v 1.37 2012/06/29 01:52:09 rich0 Exp $
+
+*android-sdk-update-manager-20 (29 Jun 2012)
+
+ 29 Jun 2012; Richard Freeman <rich0@gentoo.org>
+ +android-sdk-update-manager-20.ebuild:
+ bump - 413163
07 Jun 2012; Zac Medico <zmedico@gentoo.org>
android-sdk-update-manager-16.ebuild, android-sdk-update-manager-17.ebuild:
diff --git a/dev-util/android-sdk-update-manager/Manifest b/dev-util/android-sdk-update-manager/Manifest
index d43478090d7d..339c4cd33cb1 100644
--- a/dev-util/android-sdk-update-manager/Manifest
+++ b/dev-util/android-sdk-update-manager/Manifest
@@ -1,16 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST android-sdk_r16-linux.tgz 22048174 RMD160 1a0bd9e1e1bd4f1f5abb3d6bee29858547fe21f9 SHA1 c12f2431f243d7f2b7f61168d2839dcd36726176 SHA256 3a3d6a3acbe92c3a31897732d4cf8b0bbb325f3ef317858deec25b47acc912db
DIST android-sdk_r17-linux.tgz 29706368 RMD160 d5431d4523f261a4c759057c9c86dbe63e49e214 SHA1 8ca6610bba8f58018779f403689df095756cb30b SHA256 4b133a926c95b7fb08b171d8055c0bf632971343f578234c19dfcb5adcb0d6fd
+DIST android-sdk_r20-linux.tgz 82589455 RMD160 687640fb92fa8dfbb4ab6b6e0bf8f0725c7ec570 SHA1 ab10577d91e5b66e4e40a504b2d1be90d0729767 SHA256 58c0728fe75fd0ef6800bf70d3d030c16364272d5c018ccef38118e6a84cffdb
EBUILD android-sdk-update-manager-16.ebuild 3233 RMD160 c0a1b728e4c5a76ce47e76254db30c2fba9db362 SHA1 79fd861673793f86ae31a9fc7a606408cad7f4e1 SHA256 0dc53144263070d016a969635429540e53c579af3082274c357095648f21adce
EBUILD android-sdk-update-manager-17.ebuild 3233 RMD160 f362b8db0f294f0bdfc3c5e73804b6d857f03c0e SHA1 b3e961aad7cc4e6428d34192d78647e07feaedb9 SHA256 609c725933e0bfde38a5bc8f21cd4c8bd15e2aa6f0d9b233f06caf68c7118550
-MISC ChangeLog 6879 RMD160 8da99133686820fc84111e2e02c44811cfa83df6 SHA1 f480f16f64ad50f5b574a54029c5718fa4d30cc3 SHA256 178e23023013410082e25d09d69e7cb367f512a65ae6e5dd03b86a0a7084bab2
+EBUILD android-sdk-update-manager-20.ebuild 3101 RMD160 4cf8e8918f7aa2a087f9f912259dc1e8f5c4b882 SHA1 4c941e4dcaca1b0e04461c771cdaec95cd79ce67 SHA256 ef92a47f4f98de04c15f7b0157da4e798a3f50e0ccb73d05768c849505a93607
+MISC ChangeLog 7031 RMD160 16b8b5ee5d3d22715d711f5e6c544a30fb3a35a0 SHA1 1cfa1948b501032bcc968dbcf8fae690df65c72a SHA256 16790a81a8bff05b6fa30d104f21c457361ac923a22247ea3fb0643905068ddc
MISC metadata.xml 200 RMD160 b0102e5207c9f1d4dedb973df6bfff85992a0d6a SHA1 776cedcdcdd4c3ce8b0809bc42383191c8a51259 SHA256 98e80d4c2848c87ef9f4b295ac60b27acca3a53380008166b7016a02d4e9526b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEARECAAYFAk/RE8kACgkQ/ejvha5XGaPFowCfYuRmgOYXJ18efoHY8AJCEjvp
-ejAAoIwgUBTzP3oBreDPmOtxEkpaFYRR
-=n/F+
+iF4EAREIAAYFAk/tClMACgkQCMFw3lXsEjowxQD/TtUuB32kN4i9iliRpcDGFoF8
+JchJ084D0uVGAYaWZfYA/1MkanJtsTrEeHrqFVMsAOLEmhWpb7mg32o0qwxpYHqu
+=sTZK
-----END PGP SIGNATURE-----
diff --git a/dev-util/android-sdk-update-manager/android-sdk-update-manager-20.ebuild b/dev-util/android-sdk-update-manager/android-sdk-update-manager-20.ebuild
new file mode 100644
index 000000000000..3294d8bc61ab
--- /dev/null
+++ b/dev-util/android-sdk-update-manager/android-sdk-update-manager-20.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2012 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-20.ebuild,v 1.1 2012/06/29 01:52:09 rich0 Exp $
+
+EAPI="3"
+
+inherit eutils user
+
+MY_P="android-sdk_r${PV}-linux"
+
+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"
+
+pkg_setup() {
+ enewgroup android
+}
+
+src_prepare(){
+ 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.
+ dodir "${ANDROID_SDK_DIR}"/{add-ons,docs,platforms,temp} || die "failed to dodir"
+
+ fowners root:android "${ANDROID_SDK_DIR}"/{,add-ons,docs,platforms,temp,tools} || die
+ fperms 0775 "${ANDROID_SDK_DIR}"/{,add-ons,docs,platforms,temp,tools} || die
+
+ echo "PATH=\"${EPREFIX}${ANDROID_SDK_DIR}/tools:${EPREFIX}${ANDROID_SDK_DIR}/platform-tools\"" > "${T}/80${PN}" || die
+
+ SWT_PATH=
+ SWT_VERSIONS="3.7 3.6 3.5"
+ for version in $SWT_VERSIONS; do
+ # redirecting stderr to /dev/null
+ # not sure if this is best, but avoids misleading error messages
+ SWT_PATH="`dirname \`java-config -p swt-\$version 2>/dev/null\` 2>/dev/null`"
+ if [ $SWT_PATH ]; then
+ einfo "SWT_PATH=$SWT_PATH selecting version $version of SWT."
+ break
+ fi
+ done
+
+ 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 "/etc/revdep-rebuild" && doins "${T}/80${PN}" || die
+
+}
+
+pkg_postinst() {
+ elog "The Android SDK now uses its own manager for the development environment."
+ elog "Run 'android' to download the full SDK, including some of the platform tools."
+ 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."
+}