DIST android-sdk_r10-linux_x86.tgz 26981997 RMD160 e9ca77ee90934071798b3cf91d6d0ef14ebe5d37 SHA1 335ce0060933106295ec1f8eee11abe3e5fc0420 SHA256 26738face3b53cca7f558b8eba6ea0574e855a7557a8fb565af72d8f4715675a
DIST android-sdk_r12-linux_x86.tgz 30034243 RMD160 82eda7bb6ca4a51a414f6306aa25713040bd9944 SHA1 9cd738dff5c3052de74f13477e4eb94157f8da74 SHA256 c9bbfd0110e8299a565f4a5e3ea3f634d10f425199b2920e03e71ff64e8ab17d
DIST android-sdk_r13-linux_x86.tgz 30034328 RMD160 e530529ed2e3a4587a4f82fe5089074dc3717ba2 SHA1 f5ddb7a399e985434f516ff32b140a4a79db760d SHA256 0edd4478f9dbd882322995c161c49396ffd542daaf180ecf38f347ff8fc17d6b
+DIST android-sdk_r14-linux.tgz 26075938 RMD160 b86f89a98376e913822dfe2e3084456bdb63450b SHA1 ab504aaf912fb98f13007c7600ba207535c43775 SHA256 bd38cf72f482256c3996c9611ca78269acb0fdeaf3f65b6b3d682fca69a3019e
EBUILD android-sdk-update-manager-10-r1.ebuild 2927 RMD160 c5f6aac1e05b05406e0cb330e5a8b178eddbc21b SHA1 37b74d3538db1abe960442b48b58a8a50a95052f SHA256 db0dd69fcb13e7691ec41b5fd052af31d6c92e6e9bf4d2b248ef0ca3ffc99f39
EBUILD android-sdk-update-manager-10.ebuild 2912 RMD160 a174e089d958944c9516dbfca20a240e94a4133f SHA1 536824556fb7c73eb64a9dfe3251e64cd55ceaa8 SHA256 045a4ea1412f6a839f9a72e8a33800711c651fce4ef387d2f9699157fe8003a0
EBUILD android-sdk-update-manager-12.ebuild 2924 RMD160 d73f64e80de6726c3259901bcf5f538ad3ec233f SHA1 ef071c5dc759c78e907d21c3936ed0c4f1658f09 SHA256 d99494a41fa260f3db61d695d3374a9a7e4590b8f2fe1fff10610823747baab0
EBUILD android-sdk-update-manager-13.ebuild 2924 RMD160 cbe2858bb6cee921f447ef8498f88ed690a7ae69 SHA1 717269c284d0cd6aa28d9c10898a0e73e5975590 SHA256 038d2d1588e071685a65c90774819a53fd91d68dfb5686e915f68878ccc4424c
-MISC ChangeLog 5242 RMD160 6784ca54ccfe54515a0de94abb345f275272e4c8 SHA1 6bb4130484222132d0f2cbeffd7b60d01689e605 SHA256 e7f4faf2fd62606b62cc3f60fd6f398a8fac39bd97b811a4383faf0db42f265a
+EBUILD android-sdk-update-manager-14.ebuild 2916 RMD160 44813c016055b86390272400d86db4cc84007aa0 SHA1 1c7834c371305166eee80f143843e09df7087db9 SHA256 6441ec99a4e52aacd96b3563c5b947d91d2ea1f912e6bd2656b38a3feb41aed3
+MISC ChangeLog 5401 RMD160 a861e323b9387450fb0fa35dea09b70367c28855 SHA1 531d607374adcfcf272db0c3404345241ccffc5b SHA256 67574b1c67850c9c70d770ad715f696e7ca20d55a4160b9a6c41102416b477a4
MISC metadata.xml 237 RMD160 c1fb37d90302321b3d091154718f7444ac9bd00a SHA1 b4fbccd4396827e29df9045b21ab94a12a920865 SHA256 750cd2dceb72a3eb165fecfb21c1dbdd2736a92fc9b0b43fccd5910f1f9508fc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk6GI84ACgkQCMFw3lXsEjo9BQEAmxnsFBtwheTJ6GfMtaXxrKID
-11mpaKV3xPlVLrrzenUBAJMidk/OiMP6v9O5Bj/ChpW5hQ+RuSe8tnfKhYgZghie
-=ExaJ
+iF4EAREIAAYFAk6e8K8ACgkQCMFw3lXsEjowIgD/adtdyFnCuZhB3mlJ1cTJTrAv
+iTdWRvvLrDZryWPPUk8BAKzhXn63UM03f4oghN3/JzwUG6QMhF8F0l3DY4fAdM5f
+=SwgP
-----END PGP SIGNATURE-----
--- /dev/null
+# 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-14.ebuild,v 1.1 2011/10/19 15:45:41 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 || 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,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="`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 "/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."
+}