diff options
-rw-r--r-- | dev-util/android-studio/Manifest | 1 | ||||
-rw-r--r-- | dev-util/android-studio/android-studio-2.1.2.0.143.2915827.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-util/android-studio/Manifest b/dev-util/android-studio/Manifest index a6fdbb928f87..3ded72d114db 100644 --- a/dev-util/android-studio/Manifest +++ b/dev-util/android-studio/Manifest @@ -1,2 +1,3 @@ DIST android-studio-ide-141.2836215-linux.zip 380946919 SHA256 146c23112ceef9c08463b3501573ce674ed1fbac7f00dadaa807daeb93698115 SHA512 7206da5841bc1931f14d10b61bca36f74446952348839a9b033ca9fb28036513d96a2fceb32d4b7d4389a4d91aeeb06676ecd379e7c79cacace7acf4619493a0 WHIRLPOOL 567d97e7f9f68473f34c6094b70b6b277f5de8895ead4f9174cf3f365165e26a6d439928aa5420d1603a92e0c3a2c77d996ea0460d3f25ce42a0e062a622402f DIST android-studio-ide-143.2821654-linux.zip 298125051 SHA256 01843a2428b9a33e59716cc24a10adec238adef81ce6e6e9df441e6fa1ffbdff SHA512 9822e9b1b30f1af9cd06af5628fb7419de35a341f5366647922d91a76083ef50ac4b6059dc77e4598ea92eb517002be51c7c0de42c2bec3d51565318d14077a0 WHIRLPOOL 2e581d3522df511f7f5c68f06380485041fe31b7f867e1fe37f9362ea2ba630f9d1f72dc97e4482b0e1a6de77eabd8689cb87f0aff1be618003f07f4e8e9e14c +DIST android-studio-ide-143.2915827-linux.zip 305181285 SHA256 baaa0555c96b542d047bce3b03ff41e38f422bed9e1a7f1e55fb1c4b3daac160 SHA512 42f0e6ebd51fc92f64f3bcfa980df3853922e6bff043ae23fbd7564b79cb905b30927bbee534613a52a92d24e60bad89ee577a06e382b301d5f7f773c166ce07 WHIRLPOOL a344331a3b308b2497e68ac5e13f4d1ef224c02e44d2fcf6cd48f0981bd25a4c87c9355f014fda23a5241e76719a5a6f79ed2424387c70fffc7c4cf964e526b9 diff --git a/dev-util/android-studio/android-studio-2.1.2.0.143.2915827.ebuild b/dev-util/android-studio/android-studio-2.1.2.0.143.2915827.ebuild new file mode 100644 index 000000000000..42d7ccae0759 --- /dev/null +++ b/dev-util/android-studio/android-studio-2.1.2.0.143.2915827.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils versionator + +RESTRICT="strip" +QA_PREBUILT="opt/${PN}/bin/libbreakgen*.so opt/${PN}/bin/fsnotifier*" +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" +} |