dev-util/android-studio: Version bump to 1.4
authorJason Zaman <perfinion@gentoo.org>
Sat, 3 Oct 2015 05:07:24 +0000 (13:07 +0800)
committerJason Zaman <perfinion@gentoo.org>
Sat, 3 Oct 2015 05:09:14 +0000 (13:09 +0800)
Package-Manager: portage-2.2.20.1

dev-util/android-studio/Manifest
dev-util/android-studio/android-studio-1.4.0.10.141.2288178.ebuild [new file with mode: 0644]

index 92a450b14b34fb68ad6d9fcd3f8b4e2e0073141e..a87898a8e46b402915e7d37b8b797ff7b5796785 100644 (file)
@@ -3,3 +3,4 @@ DIST android-studio-ide-141.1980579-linux.zip 258628239 SHA256 46a1b492360f873f7
 DIST android-studio-ide-141.2117773-linux.zip 351742127 SHA256 061be01b266fea24517dfee24ed98cec1eee2ef840f062a697c6bd07d2db5d27 SHA512 e21291c3e759e1b500eca487ef1e43c2dfd44e051cffd6fe2abbf9445c7577846d8e11aaaf0cb7423b70185bbcbdca8bf4ae2d084fedba7f28adc9063409520c WHIRLPOOL 22e00aae65870af2d9e0c77754f9b0fe9a35b9798c2e0e4535288cbb9803a40c405b2235b078f97e203356e8468fb6e49f270d00704abdc2027448984adf794a
 DIST android-studio-ide-141.2135290-linux.zip 351992670 SHA256 60068d74bfa60f63f7e4920b8b43dff2f34d1956ee222a9bdec1b5590a38d4ac SHA512 799d37869276240854cbe8106146592e0fc9a019d3595d2c73f24f7ceabf76e6b0872d1594ca76cc4c59a9d7b573824e68b2a2c445f8b64334aa356aa415e112 WHIRLPOOL be853ac9ad8c16f633f6281c0ec16a1ce340caeac7d3f3653207cfa6c5d26e5c853980c090c5b18cc348fe0b3dc1eef96f565df3f879a192386746b9225fd90b
 DIST android-studio-ide-141.2178183-linux.zip 352010593 SHA256 22316dc4cd17f82d02c7ca79efaa8d36ce7a6b3b384c6237ea1bcdd55d711762 SHA512 68f45638919d38a8c3c144ec2dc69ccbfe6467eddc570a2fadd7a36a79bdd609861224f06989b7e4ea1422c68914539221a4cf0a33e413da49fc72e1e418e717 WHIRLPOOL 4d0f63d22047e97bbb5b0a6d1382fdad5f4b1ddff59bda6d34b38ed5691c69a0b37e5a68a42ac3a3c0cff6c0b760bb7ec18a6a7d82f533ae97c3a06e94d4deb2
+DIST android-studio-ide-141.2288178-linux.zip 380821638 SHA256 a7a83d9af8b14589d7a791cbb2121fd63bcfc5ff44ef4ea7b9f16fdacdfcff13 SHA512 afc77575f9261060c28f27ee49b05b88de338c0b2b8d91eea2a8585243dc6404bc2784b7d15b2c05ac504228ceea11ccbbdfd4fa79a1037893232c55cb524b2f WHIRLPOOL 2d8d9c836b5049739d81c6ab374b87f3a1943252e555be2e3b52b11be7a54654d4947db1f87289c85e3d376a92c023508563c3705d956732132933c28ac12870
diff --git a/dev-util/android-studio/android-studio-1.4.0.10.141.2288178.ebuild b/dev-util/android-studio/android-studio-1.4.0.10.141.2288178.ebuild
new file mode 100644 (file)
index 0000000..37680af
--- /dev/null
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 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[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"
+}