public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Pagano" <mpagano@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/android-studio/
Date: Fri, 27 Sep 2024 22:29:01 +0000 (UTC)	[thread overview]
Message-ID: <1727476109.77ec73d1e82d4bcfc65a2029bf5799ef05ecda7c.mpagano@gentoo> (raw)

commit:     77ec73d1e82d4bcfc65a2029bf5799ef05ecda7c
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 27 22:28:29 2024 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Fri Sep 27 22:28:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ec73d1

dev-util/android-studio: add 2024.1.2.13

Closes: https://bugs.gentoo.org/926715

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 dev-util/android-studio/Manifest                   |   1 +
 .../android-studio-2024.1.2.13.ebuild              | 125 +++++++++++++++++++++
 2 files changed, 126 insertions(+)

diff --git a/dev-util/android-studio/Manifest b/dev-util/android-studio/Manifest
index 791eb815ba86..c8469611c972 100644
--- a/dev-util/android-studio/Manifest
+++ b/dev-util/android-studio/Manifest
@@ -1 +1,2 @@
 DIST android-studio-2023.1.1.22-linux.tar.gz 1153989524 BLAKE2B 4dfd857543018c8a4584c4e2fff557d243a757ebe5974e915b3ea73a2a163fdb022e9e2bebc7a40ead74b6f2dccdd65a0bd796f45ffc43b598688d66533bb459 SHA512 f60495cc27cb70d240d8cf5f2c26009b50f91a75b807a53ee95f23dc8753cf569ed429ab351b7d64e8bf3b80c132e17a4ee2ee89602c4b564503cecf042a0297
+DIST android-studio-2024.1.2.13-linux.tar.gz 1236270079 BLAKE2B df145896887ac8a9cfe84172fbd097fdf4473eec04f829235b2e10773097441e752826afaabf715418d8de45ef007522833ab2a72c7f30770cce3f508b51300f SHA512 fd28fcbe11acabf6035ffebc861dde3c4dcb741f4d8bf067980762d0efb401303766a9b79c854c087e3772f76aca200332aa3f6eccf51543ddbc21a00dab3f88

diff --git a/dev-util/android-studio/android-studio-2024.1.2.13.ebuild b/dev-util/android-studio/android-studio-2024.1.2.13.ebuild
new file mode 100644
index 000000000000..d439dfd216d0
--- /dev/null
+++ b/dev-util/android-studio/android-studio-2024.1.2.13.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop wrapper
+
+RESTRICT="bindist mirror strip"
+
+QA_PREBUILT="
+	opt/${PN}/bin/*
+	opt/${PN}/jbr/bin/*
+	opt/${PN}/jbr/lib/*
+	opt/${PN}/jbr/lib/jli/*
+	opt/${PN}/jbr/lib/server/*
+	opt/${PN}/lib/pty4j-native/linux/*/*
+	opt/${PN}/plugins/android/resources/installer/*/*
+	opt/${PN}/plugins/android/resources/native/*
+	opt/${PN}/plugins/android/resources/perfetto/*/*
+	opt/${PN}/plugins/android/resources/screen-sharing-agent/*/*
+	opt/${PN}/plugins/android/resources/simpleperf/*/*
+	opt/${PN}/plugins/android/resources/trace_processor_daemon/*
+	opt/${PN}/plugins/android/resources/transport/*/*
+	opt/${PN}/plugins/android/resources/transport/native/agent/*/*
+	opt/${PN}/plugins/android-ndk/resources/lldb/android/*/*
+	opt/${PN}/plugins/android-ndk/resources/lldb/bin/*
+	opt/${PN}/plugins/android-ndk/resources/lldb/lib/python3.9/lib-dynload/*
+	opt/${PN}/plugins/android-ndk/resources/lldb/lib64/*
+	opt/${PN}/plugins/design-tools/resources/layoutlib/data/linux/lib64/*
+	opt/${PN}/plugins/c-clangd/bin/clang/linux/*/*
+	opt/${PN}/plugins/webp/lib/libwebp/linux/*
+"
+
+DESCRIPTION="Android development environment based on IntelliJ IDEA"
+HOMEPAGE="https://developer.android.com/studio"
+SRC_URI="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${PV}/${P}-linux.tar.gz"
+
+LICENSE="Apache-2.0 android BSD BSD-2 CDDL-1.1 CPL-0.5
+	EPL-1.0 GPL-2 GPL-2+ JDOM IJG LGPL-2.1 MIT
+	MPL-1.1 MPL-2.0 NPL-1.1 OFL-1.1 ZLIB"
+SLOT="0"
+IUSE="selinux"
+KEYWORDS="~amd64"
+
+RDEPEND="${DEPEND}
+	selinux? ( sec-policy/selinux-android )
+	>=app-arch/bzip2-1.0.8-r4
+	>=dev-libs/expat-2.5.0
+	>=dev-libs/libffi-3.4.4
+	>=media-libs/fontconfig-2.14.0-r1
+	>=media-libs/freetype-2.12.1-r1
+	>=media-libs/libpng-1.6.39
+	>=media-libs/mesa-22.2.5[X(+)]
+	|| ( gnome-extra/zenity kde-apps/kdialog x11-apps/xmessage x11-libs/libnotify )
+	sys-libs/ncurses-compat:5[tinfo]
+	>=sys-libs/zlib-1.2.13-r1
+	>=x11-libs/libX11-1.8.1
+	>=x11-libs/libXau-1.0.11
+	>=x11-libs/libXdamage-1.1.6
+	>=x11-libs/libXdmcp-1.1.4-r2
+	>=x11-libs/libXext-1.3.5
+	>=x11-libs/libXfixes-6.0.0
+	>=x11-libs/libXrender-0.9.11
+	>=x11-libs/libXxf86vm-1.1.5
+	>=x11-libs/libdrm-2.4.114
+	>=x11-libs/libxcb-1.15-r1
+	>=x11-libs/libxshmfence-1.3.2
+	virtual/libcrypt:=
+"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+	:;
+}
+
+src_install() {
+	local dir="/opt/${PN}"
+	insinto "${dir}"
+	doins -r *
+
+	fperms 755 "${dir}"/bin/{fsnotifier,format.sh,game-tools.sh,inspect.sh,ltedit.sh,profiler.sh,studio.sh,studio_safe.sh}
+	fperms -R 755 "${dir}"/bin/{helpers,lldb}
+	fperms -R 755 "${dir}"/jbr/bin
+	fperms 755 "${dir}"/jbr/lib/{jexec,jspawnhelper}
+	fperms -R 755 "${dir}"/plugins/Kotlin/kotlinc/bin
+	fperms -R 755 "${dir}"/plugins/android/resources/installer
+	fperms -R 755 "${dir}"/plugins/android/resources/perfetto
+	fperms -R 755 "${dir}"/plugins/android/resources/simpleperf
+	fperms -R 755 "${dir}"/plugins/android/resources/trace_processor_daemon
+	fperms -R 755 "${dir}"/plugins/android/resources/transport/{arm64-v8a,armeabi-v7a,x86,x86_64}
+	fperms -R 755 "${dir}"/plugins/android-ndk/resources/lldb/{android,bin,lib,shared}
+	fperms 755 "${dir}"/plugins/c-clangd-plugin/bin/clang/linux/x64/clangd
+	fperms -R 755 "${dir}"/plugins/terminal/shell-integrations/{,fish}
+
+	newicon "bin/studio.png" "${PN}.png"
+	make_wrapper ${PN} ${dir}/bin/studio.sh
+	make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE" "StartupWMClass=jetbrains-studio"
+
+	# https://developer.android.com/studio/command-line/variables
+	newenvd - 99android-studio <<-EOF
+		# Configuration file android-studio
+		STUDIO_JDK="${dir}/jbr"
+	EOF
+
+	# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
+	mkdir -p "${D}/etc/sysctl.d/" || die
+	echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-android-studio-inotify-watches.conf" || die
+}
+
+pkg_postrm() {
+	elog "Android Studio data files were not removed."
+	elog "If there will be no other programs using them anymore"
+	elog "(especially another flavor of Android Studio)"
+	elog "remove manually following folders:"
+	elog ""
+	elog "		~/.android/"
+	elog "		~/.config/Google/AndroidStudio*/"
+	elog "		~/.local/share/Google/AndroidStudio*/"
+	elog "		~/Android/"
+	elog ""
+	elog "Also, if there are no other programs using Gradle, remove:"
+	elog ""
+	elog "		~/.gradle/"
+}


             reply	other threads:[~2024-09-27 22:29 UTC|newest]

Thread overview: 108+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-27 22:29 Mike Pagano [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-07 14:00 [gentoo-commits] repo/gentoo:master commit in: dev-util/android-studio/ Mike Pagano
2024-11-07 13:18 Mike Pagano
2024-10-20 22:59 Mike Pagano
2024-10-20 22:59 Mike Pagano
2024-09-27 22:34 Mike Pagano
2024-05-13 17:33 Ulrich Müller
2024-05-13 16:11 Ulrich Müller
2023-10-13 20:12 Jason A. Donenfeld
2023-07-06 17:14 Jason A. Donenfeld
2023-06-08 13:00 Jason A. Donenfeld
2023-05-26 14:10 Jason A. Donenfeld
2023-05-17 16:25 Jason A. Donenfeld
2023-05-17 13:29 Jason A. Donenfeld
2023-05-09  1:04 Jason A. Donenfeld
2023-05-09  1:04 Jason A. Donenfeld
2023-04-13 16:21 Jason A. Donenfeld
2023-03-01 23:41 Mike Pagano
2022-09-21 16:44 Mike Pagano
2022-09-21 16:44 Mike Pagano
2022-05-10 19:38 Mike Pagano
2021-09-27 18:13 Jason A. Donenfeld
2021-04-08 18:24 Mart Raudsepp
2021-02-02 18:29 Mart Raudsepp
2021-01-05 14:40 Mart Raudsepp
2020-10-13 14:56 Jason A. Donenfeld
2020-07-23 14:00 Jason A. Donenfeld
2020-05-27 16:56 Mart Raudsepp
2020-04-01 19:19 Mart Raudsepp
2020-03-01 21:20 Nicolas Bock
2020-02-29  7:10 Jason Zaman
2020-02-29  7:10 Jason Zaman
2020-02-22  7:39 Jason Zaman
2020-02-22  7:39 Jason Zaman
2020-01-02 17:02 Mart Raudsepp
2019-10-18 12:07 Jason Zaman
2019-10-18 12:07 Jason Zaman
2019-10-01 19:14 Michał Górny
2019-09-21  6:25 Jason Zaman
2019-09-21  6:25 Jason Zaman
2019-09-21  6:25 Jason Zaman
2019-06-04 16:34 Jason Zaman
2019-06-04 16:34 Jason Zaman
2019-05-11 22:30 Jason Zaman
2019-05-11 22:30 Jason Zaman
2019-04-29 14:24 Jason Zaman
2019-02-01 12:17 Jason Zaman
2019-02-01 12:17 Jason Zaman
2019-02-01 12:17 Jason Zaman
2018-12-09 15:59 Jason Zaman
2018-09-29 10:20 Jason Zaman
2018-09-29 10:20 Jason Zaman
2018-09-29 10:20 Jason Zaman
2018-08-25  3:23 Jason Zaman
2018-06-24  8:25 Jason Zaman
2018-05-26  7:40 Jason Zaman
2018-05-26  7:39 Jason Zaman
2018-04-27 10:36 Jason Zaman
2018-04-13  6:43 Jason Zaman
2018-04-07  6:08 Jason Zaman
2018-02-15 16:54 Jason Zaman
2018-02-15 16:54 Jason Zaman
2017-12-10 14:13 Michał Górny
2017-11-27  3:23 Jason Zaman
2017-11-27  3:23 Jason Zaman
2017-10-29 10:40 Jason Zaman
2017-10-29 10:40 Jason Zaman
2017-10-29 10:37 Jason Zaman
2017-07-08  9:05 Jason Zaman
2017-07-08  9:05 Jason Zaman
2017-07-08  9:05 Jason Zaman
2017-05-18 14:17 Jason Zaman
2017-05-18 14:17 Jason Zaman
2017-05-18 14:17 Jason Zaman
2017-04-10  8:08 Jason Zaman
2017-04-10  8:08 Jason Zaman
2017-03-13 15:52 Jason Zaman
2017-02-23 18:31 Jason Zaman
2017-02-23 18:31 Jason Zaman
2016-12-07  6:42 Jason Zaman
2016-12-07  6:42 Jason Zaman
2016-12-07  6:42 Jason Zaman
2016-11-05  2:46 Jason Zaman
2016-10-31  7:16 Jason Zaman
2016-10-31  7:16 Jason Zaman
2016-10-31  7:16 Jason Zaman
2016-10-04 15:33 Jason Zaman
2016-09-20 16:42 Jason Zaman
2016-08-29  4:23 Jason Zaman
2016-07-21 16:16 Jason Zaman
2016-07-21 16:16 Jason Zaman
2016-06-09 16:21 Jason Zaman
2016-05-12 14:23 Jason Zaman
2016-05-12 14:23 Jason Zaman
2016-05-12 14:23 Jason Zaman
2016-05-01  3:15 Jason Zaman
2016-04-09 15:44 Jason Zaman
2016-03-14 22:12 Agostino Sarubbo
2015-12-12  4:45 Jason Zaman
2015-12-10  3:49 Jason Zaman
2015-11-20  6:09 Jason Zaman
2015-11-04  6:06 Jason Zaman
2015-10-18 14:37 Jason Zaman
2015-10-09 16:38 Jason Zaman
2015-10-03  5:14 Jason Zaman
2015-10-03  5:14 Jason Zaman
2015-09-10 10:47 Jason Zaman
2015-08-20 13:52 Jason Zaman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1727476109.77ec73d1e82d4bcfc65a2029bf5799ef05ecda7c.mpagano@gentoo \
    --to=mpagano@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox