dev-util/android-studio: drop 2025.2.1.8

Signed-off-by: Mike Pagano <mpagano@gentoo.org>
This commit is contained in:
Mike Pagano 2025-12-04 18:32:56 -05:00
parent 4cc17500fb
commit c1bb1ad889
No known key found for this signature in database
GPG Key ID: FA1D8A7860CC2F96
2 changed files with 0 additions and 131 deletions

View File

@ -1,2 +1 @@
DIST android-studio-2025.2.1.8-linux.tar.gz 1473966792 BLAKE2B a9bfa54f7c8b01423195dcb98345a991f1839eb9fceef79cd6b122afef1a9aa0ad1c4cd723b4e32ade760e9cbc0de8a155277a35f653c6f760b29ab848d2b444 SHA512 cac12e7c964ca94197f001e9b5de8a758eb411c9d54d484d189b8387a2c196a57939279612da19b37940dc956c306739bda3e70734138c79b40acd7f31159dbb
DIST android-studio-2025.2.2.7-linux.tar.gz 1479280731 BLAKE2B 3abeac581c59fab394b113640b4e6f2b956876f2ba71178e7c1fa02afa669e843f9c4dd84d87ae291dde14b85a88174fb7711cd60574e0439f524e25af974c41 SHA512 02914dcf45849254c877cc6900b7ea5375000dd2d7202647aac979f174f5ad53d799bd1aaa2060f0c9f8058e269aa4c5189e5378729986f467f8b737e4be5d1a

View File

@ -1,130 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop wrapper
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"
S=${WORKDIR}/${PN}
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"
KEYWORDS="~amd64"
IUSE="selinux"
RESTRICT="bindist mirror strip"
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]
>=virtual/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
sys-libs/libxcrypt[compat]
dev-libs/wayland
>=x11-libs/libxshmfence-1.3.2
virtual/libcrypt:=
"
src_prepare() {
default
cat <<-EOF >> bin/idea.properties || die
#-----------------------------------------------------------------------
# Disable automatic updates as these are handled through Gentoo's
# package manager.
#-----------------------------------------------------------------------
ide.no.platform.update=Gentoo
EOF
}
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,studio.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-ndk/resources/lldb/{android,bin,lib,shared}
fperms 755 "${dir}"/plugins/cidr-clangd/bin/clang/linux/x64/bin/clangd
fperms -R 755 "${dir}"/plugins/terminal/shell-integrations/{,fish}
newicon "bin/studio.png" "${PN}.png"
make_wrapper ${PN} ${dir}/bin/studio
make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE" "StartupWMClass=jetbrains-studio"
# 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/"
}