From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1B3CD13888F for ; Fri, 9 Oct 2015 16:39:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8978921C003; Fri, 9 Oct 2015 16:38:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 14E9221C003 for ; Fri, 9 Oct 2015 16:38:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DB419340702 for ; Fri, 9 Oct 2015 16:38:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8FCBD90 for ; Fri, 9 Oct 2015 16:38:54 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1444408708.acd893d95e732a8734d59ef248b5d65cdfc6fcff.perfinion@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/android-studio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/android-studio/android-studio-1.4.0.10.141.2288178-r1.ebuild X-VCS-Directories: dev-util/android-studio/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: acd893d95e732a8734d59ef248b5d65cdfc6fcff X-VCS-Branch: master Date: Fri, 9 Oct 2015 16:38:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 63f10697-943a-4faa-9c1c-a3a65d4fed42 X-Archives-Hash: 2d06381294cf81494920a44f70aea918 commit: acd893d95e732a8734d59ef248b5d65cdfc6fcff Author: Jason Zaman gentoo org> AuthorDate: Fri Oct 9 16:38:00 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Fri Oct 9 16:38:28 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acd893d9 dev-util/android-studio: Add dep on the ncurses SLOT5 too Gentoo-Bug: https://bugs.gentoo.org/562656 Package-Manager: portage-2.2.20.1 .../android-studio-1.4.0.10.141.2288178-r1.ebuild | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/dev-util/android-studio/android-studio-1.4.0.10.141.2288178-r1.ebuild b/dev-util/android-studio/android-studio-1.4.0.10.141.2288178-r1.ebuild new file mode 100644 index 0000000..2cff0d7 --- /dev/null +++ b/dev-util/android-studio/android-studio-1.4.0.10.141.2288178-r1.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:0/5[abi_x86_32(-)] >=sys-libs/ncurses-5.9-r3:5/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" +}