diff options
author | Jason Zaman <perfinion@gentoo.org> | 2016-04-09 23:43:26 +0800 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2016-04-09 23:44:03 +0800 |
commit | 547b7c47250ad41b2d9f8fdbd2040817c80c98b1 (patch) | |
tree | 45586fd92dcbdfec1bd9e6277a8df304336f040e /dev-util | |
parent | sci-geosciences/geocode-glib: fix build on uclibc, bug #577290 (diff) | |
download | gentoo-547b7c47250ad41b2d9f8fdbd2040817c80c98b1.tar.gz gentoo-547b7c47250ad41b2d9f8fdbd2040817c80c98b1.tar.bz2 gentoo-547b7c47250ad41b2d9f8fdbd2040817c80c98b1.zip |
dev-util/android-studio: bump to 2.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/android-studio/Manifest | 1 | ||||
-rw-r--r-- | dev-util/android-studio/android-studio-2.0.0.20.143.2739321.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-util/android-studio/Manifest b/dev-util/android-studio/Manifest index 60e94a6f244c..10824347f2a3 100644 --- a/dev-util/android-studio/Manifest +++ b/dev-util/android-studio/Manifest @@ -1,2 +1,3 @@ DIST android-studio-ide-141.1980579-linux.zip 258628239 SHA256 46a1b492360f873f7b99f53b535ce79503f4127a8ee5d06afbe0f53ec5f56a21 SHA512 54a83e6a54cd07ade1bfd3756bdff9c3431594412a01809ac3d2b1b5b2fb1719b8dd4f980516eeba5f7016c7757950c93a1d368ad1034d1300b9fe44577a1bcd WHIRLPOOL 567bcc5ae38015a586224e7c5870d7766f18b4241b46aa53eb7459a7f26d859d9855632cdcf54d3b35bca1b7c39b15cfc1141d11a4d017d9b3e199b72f088b56 DIST android-studio-ide-141.2456560-linux.zip 380943097 SHA256 466e01ac99c44685f218cf8dfc621fcc6b1d2c18256d97dbefa377d06410d05c SHA512 08644adea21f50a0dacb1f6153fe4fa65be27b3a3b6c202e694177ca53040c6e28cff44a671a55c0b39210d5d8f10be178bab1e406696dd7650000a3b44ea9ef WHIRLPOOL 917231385f121c671f11cf083849301746a5a074d900e555ccd7d115b7f7ebc7ee13efc31e5ce95ece3aa2d20bd7fcc37a96dfb5e3fb1b3bae5c74200925b38c +DIST android-studio-ide-143.2739321-linux.zip 292106971 SHA256 f9fe60df5fedc345b8403000b7d73bf53bea5ddf71a38d2a2f01208314246b91 SHA512 8149f91d448b24cf0f30b215f371e371862e620f1ef5785bd2ff6f917d365e2830694861ff804157fb6452ed1a356c4cc968cfad29af6d2ade22a80a0a1ee9b0 WHIRLPOOL 780df70a7192a0230475404320d357cf57e18e081883c17b84cebf3b75204a8e8b10c72a3dabef0335a983b9f83ead6e8595890b7bd48c6b6e1e44e68cb660b0 diff --git a/dev-util/android-studio/android-studio-2.0.0.20.143.2739321.ebuild b/dev-util/android-studio/android-studio-2.0.0.20.143.2739321.ebuild new file mode 100644 index 000000000000..6ca6e7277a8d --- /dev/null +++ b/dev-util/android-studio/android-studio-2.0.0.20.143.2739321.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils versionator + +RESTRICT="strip" +QA_PREBUILT="opt/${PN}/bin/libbreakgen.so" +if [[ $(get_version_component_count) -eq 6 ]]; then + STUDIO_V=$(get_version_component_range 1-4) + BUILD_V=$(get_version_component_range 5-6) +else + STUDIO_V=$(get_version_component_range 1-3) + BUILD_V=$(get_version_component_range 4-5) +fi + +DESCRIPTION="A new Android development environment based on IntelliJ IDEA" +HOMEPAGE="http://developer.android.com/sdk/installing/studio.html" +SRC_URI="https://dl.google.com/dl/android/studio/ide-zips/${STUDIO_V}/${PN}-ide-${BUILD_V}-linux.zip" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="selinux" +KEYWORDS="~amd64 ~x86" + +DEPEND="app-arch/zip" +RDEPEND=">=virtual/jdk-1.7 + selinux? ( sec-policy/selinux-android ) + >=app-arch/bzip2-1.0.6-r4[abi_x86_32(-)] + >=dev-libs/expat-2.1.0-r3[abi_x86_32(-)] + >=dev-libs/libffi-3.0.13-r1[abi_x86_32(-)] + >=media-libs/fontconfig-2.10.92[abi_x86_32(-)] + >=media-libs/freetype-2.5.5[abi_x86_32(-)] + >=media-libs/libpng-1.2.51[abi_x86_32(-)] + >=media-libs/mesa-10.2.8[abi_x86_32(-)] + || ( >=sys-libs/ncurses-5.9-r3:5/5[abi_x86_32(-)] >=sys-libs/ncurses-5.9-r3:0/5[abi_x86_32(-)] ) + >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)] + >=x11-libs/libX11-1.6.2[abi_x86_32(-)] + >=x11-libs/libXau-1.0.7-r1[abi_x86_32(-)] + >=x11-libs/libXdamage-1.1.4-r1[abi_x86_32(-)] + >=x11-libs/libXdmcp-1.1.1-r1[abi_x86_32(-)] + >=x11-libs/libXext-1.3.2[abi_x86_32(-)] + >=x11-libs/libXfixes-5.0.1[abi_x86_32(-)] + >=x11-libs/libXrender-0.9.8[abi_x86_32(-)] + >=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)] + >=x11-libs/libdrm-2.4.46[abi_x86_32(-)] + >=x11-libs/libxcb-1.9.1[abi_x86_32(-)] + >=x11-libs/libxshmfence-1.1[abi_x86_32(-)]" +S=${WORKDIR}/${PN} + +src_install() { + local dir="/opt/${PN}" + + insinto "${dir}" + doins -r * + fperms 755 "${dir}/bin/studio.sh" "${dir}/bin/fsnotifier" "${dir}/bin/fsnotifier64" + + newicon "bin/studio.png" "${PN}.png" + make_wrapper ${PN} ${dir}/bin/studio.sh + make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE" +} |