diff options
-rw-r--r-- | dev-util/android-studio/Manifest | 1 | ||||
-rw-r--r-- | dev-util/android-studio/android-studio-1.5.0.4.141.2422023.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-util/android-studio/Manifest b/dev-util/android-studio/Manifest index 0eaec6302688..1c6c26c39e39 100644 --- a/dev-util/android-studio/Manifest +++ b/dev-util/android-studio/Manifest @@ -2,3 +2,4 @@ DIST android-studio-ide-141.1980579-linux.zip 258628239 SHA256 46a1b492360f873f7 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 DIST android-studio-ide-141.2343393-linux.zip 381078272 SHA256 9762f6ffe48768915a399064f0e1c515d62ba96acf4bccfc642faa50903a1dcc SHA512 370c8f934ff7cb2d4128ad228eac38fc62e5452a8645b08ddeb63ad87d684e1e4b9015feaf33098aaec4d78c99522282309bf4c95a4671b08190f9e51257caf4 WHIRLPOOL 4d202b8cf6eef6f0d4d00b7a65094b54a0f7262d1d8a9a55ff082d55869b65d563522eaf280335f4f0ec1b5ae3ad77169e10c8c8b7c7d3fd6ef19c792ca8cc4d +DIST android-studio-ide-141.2422023-linux.zip 380940715 SHA256 3f848d7381c67011c426b25c26d82017f1f0167f629bfb6ba7aad58359d25dea SHA512 09fb1bf25454450b14cdcd83dba290a77f6cf0043336f8ea0ab6a196292040dd3d17ef43d156507f5829b8714beed4c44b47129094f2b9be187605252f8adcc5 WHIRLPOOL 4ba0c4fca6cd5d923a97c22d72e4300b28de1e1d2192d9c5fe6370c024284540424d302e67a6038e506628498eb6b7049de1e1b72c01dc40604e105713b1f060 diff --git a/dev-util/android-studio/android-studio-1.5.0.4.141.2422023.ebuild b/dev-util/android-studio/android-studio-1.5.0.4.141.2422023.ebuild new file mode 100644 index 000000000000..721d7ba3934a --- /dev/null +++ b/dev-util/android-studio/android-studio-1.5.0.4.141.2422023.ebuild @@ -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: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" +} |