summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2012-03-24 09:29:59 +0000
committerRichard Freeman <rich0@gentoo.org>2012-03-24 09:29:59 +0000
commita43397d3fef7645faeddbec9dd4cbf5408beace9 (patch)
tree38127c2355cd7b1a5cf1ddf26fa74166f8b60364 /dev-util/android-sdk-update-manager
parentRemove unused djbdns-setup. Thanks to Michael Orlitzky <michael@orlitzky.com>... (diff)
downloadhistorical-a43397d3fef7645faeddbec9dd4cbf5408beace9.tar.gz
historical-a43397d3fef7645faeddbec9dd4cbf5408beace9.tar.bz2
historical-a43397d3fef7645faeddbec9dd4cbf5408beace9.zip
bump - 409249
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-util/android-sdk-update-manager')
-rw-r--r--dev-util/android-sdk-update-manager/ChangeLog10
-rw-r--r--dev-util/android-sdk-update-manager/Manifest10
-rw-r--r--dev-util/android-sdk-update-manager/android-sdk-update-manager-17.ebuild101
3 files changed, 115 insertions, 6 deletions
diff --git a/dev-util/android-sdk-update-manager/ChangeLog b/dev-util/android-sdk-update-manager/ChangeLog
index d99b757f2ed6..a9377398b03b 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.32 2011/12/26 12:28:40 rich0 Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/android-sdk-update-manager/ChangeLog,v 1.33 2012/03/24 09:29:59 rich0 Exp $
+
+*android-sdk-update-manager-17 (24 Mar 2012)
+
+ 24 Mar 2012; Richard Freeman <rich0@gentoo.org>
+ +android-sdk-update-manager-17.ebuild:
+ bump - 409249
*android-sdk-update-manager-16 (26 Dec 2011)
diff --git a/dev-util/android-sdk-update-manager/Manifest b/dev-util/android-sdk-update-manager/Manifest
index ff330a523526..5dd9ff54bdd9 100644
--- a/dev-util/android-sdk-update-manager/Manifest
+++ b/dev-util/android-sdk-update-manager/Manifest
@@ -5,16 +5,18 @@ DIST android-sdk_r13-linux_x86.tgz 30034328 RMD160 e530529ed2e3a4587a4f82fe50890
DIST android-sdk_r14-linux.tgz 26075938 RMD160 b86f89a98376e913822dfe2e3084456bdb63450b SHA1 ab504aaf912fb98f13007c7600ba207535c43775 SHA256 bd38cf72f482256c3996c9611ca78269acb0fdeaf3f65b6b3d682fca69a3019e
DIST android-sdk_r15-linux.tgz 26124434 RMD160 80a57a75f41d82937e9414f853ed434585e07196 SHA1 f861b3097fac3f5facb335fe4cc7f6fdbc689f9c SHA256 5e7f56f314355ad5f8d0c4ba6dd94c2d0764ccc0d64986c878464a44129fc474
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
EBUILD android-sdk-update-manager-13.ebuild 2918 RMD160 1f583d99cf047878d3bed34f85606a1cf8ec559b SHA1 3f50e49e84eed1eb161eed99a26be58b95341e47 SHA256 ae262032bb820b9860e9c52d605138b6a52a2dc9572c964ec6ea00634787fd9f
EBUILD android-sdk-update-manager-14.ebuild 2910 RMD160 96c9bba2a14fb6b4d3f1720b0d37024bd47d811b SHA1 9c4abb47087b783a224d5503cf41fbba3e24d814 SHA256 1e4ce5eb58505b06aae5f2dc9756f57116fbe7c3b5273a61524bfd26278c578d
EBUILD android-sdk-update-manager-15.ebuild 3226 RMD160 1acd2d66d3696efb9323d674dd1c8f6e9a03cece SHA1 dcc15598ab6214d3dacc91e82c9f403c8b8ef398 SHA256 032891598100735d9803d5f39b17cd17196ca8ba376f53c36484bf58a83a2f58
EBUILD android-sdk-update-manager-16.ebuild 3226 RMD160 f7b398457c9127ac9ba02973c1eaeff6f61705ca SHA1 93d1520606bc0ad71a3c66a4150025cc2cc93e26 SHA256 8fc3b625669893dc9c9a2e90dcd06bc055ac6f12535dd5054eac2a655ec28253
-MISC ChangeLog 6296 RMD160 7e55d1579080f44e814bddaa4bfb0b46f53160a9 SHA1 feb820f542b159ef90d4c8689ed5a397b52ae927 SHA256 c65bc103bb4005f57431796821f52a5693104547cdac398732b602af31221b50
+EBUILD android-sdk-update-manager-17.ebuild 3226 RMD160 e384a48d847a6f81839f347abab3bd95519482e8 SHA1 3e993dc928d2beae28be9e8ba46f03871c2ca0e7 SHA256 86b79646f3728f0d4aebe097cc06b64eeacdf79aa7c66693946117e7623e8236
+MISC ChangeLog 6450 RMD160 797fbb00cc5d80353cc829f4644e701e034a502c SHA1 ce85f5083e3dbaa0a71a554e638faa07660e0080 SHA256 5876cacc9b961285cd0ae292d3425521ab2daf0acdcfeeefef75b096831dd2c7
MISC metadata.xml 237 RMD160 c1fb37d90302321b3d091154718f7444ac9bd00a SHA1 b4fbccd4396827e29df9045b21ab94a12a920865 SHA256 750cd2dceb72a3eb165fecfb21c1dbdd2736a92fc9b0b43fccd5910f1f9508fc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF0EAREIAAYFAk74aIQACgkQCMFw3lXsEjoGMAD4rxHRP54brCGOVr/KexSImzvI
-kzwCluG23/JHga2TyAD/UJkry6USJd2WJLr8WR5jFXJii2JR+XXsXQVZfGFbrYw=
-=GJev
+iF4EAREIAAYFAk9tlB8ACgkQCMFw3lXsEjol2wEAuehpd2kGe6peNb+x8UB6DPD9
+C0L5FKTVvzkrLxMjsyEA/j4KZO/iAuVvhQ9I1ZwHBzbqZLmAhNCFQF0kU8SQPrSG
+=WtW6
-----END PGP SIGNATURE-----
diff --git a/dev-util/android-sdk-update-manager/android-sdk-update-manager-17.ebuild b/dev-util/android-sdk-update-manager/android-sdk-update-manager-17.ebuild
new file mode 100644
index 000000000000..3b7f695d80ed
--- /dev/null
+++ b/dev-util/android-sdk-update-manager/android-sdk-update-manager-17.ebuild
@@ -0,0 +1,101 @@
+# 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-17.ebuild,v 1.1 2012/03/24 09:29:59 rich0 Exp $
+
+EAPI="3"
+
+inherit eutils
+
+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(){
+# 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,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."
+}