android-studio: update to 3.5.2.

This commit is contained in:
Andrew Benson 2019-11-26 15:34:29 -06:00 committed by Helmut Pozimski
parent 6d45bfc5a9
commit 66fc6b74fa

View file

@ -1,10 +1,10 @@
# Template file for 'android-studio'
pkgname=android-studio
version=3.4.2
version=3.5.2
revision=1
# _studio_build and _studio_rev are for downloading the zip from dl.google.com
# https://developer.android.com/studio/#resources as of 2018-07-12
_studio_build=183.5692245
_studio_build=191.5977832
_studio_rev=0
archs="x86_64 i686"
create_wrksrc=yes
@ -15,26 +15,47 @@ license="Apache-2.0"
homepage="http://tools.android.com/"
# changelog="https://developer.android.com/studio/releases/index.html"
distfiles="https://dl.google.com/dl/android/studio/ide-zips/${version}.${_studio_rev}/android-studio-ide-${_studio_build}-linux.tar.gz"
checksum=35eb8c74837d1aab59229101fc91568a607ac04854a40209f7a0ba7ac0601924
checksum=f838486ce847db802bdaf1163059033934146c6ccdcdaa9a398bd85cda348d4d
repository=nonfree
restricted=yes
nopie=yes
nostrip=yes
# These files are not run or loaded on the host thus skip scanning their runtime deps
skiprdeps="/opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
/opt/android-studio/plugins/android/resources/installer/armeabi-v7a/installer
/opt/android-studio/plugins/android/resources/installer/x86/installer
/opt/android-studio/plugins/android/resources/perfa/arm64-v8a/libperfa.so
/opt/android-studio/plugins/android/resources/perfa/armeabi-v7a/libperfa.so
/opt/android-studio/plugins/android/resources/perfa/x86/libperfa.so
/opt/android-studio/plugins/android/resources/perfa/x86_64/libperfa.so
/opt/android-studio/plugins/android/resources/perfd/arm64-v8a/perfd
/opt/android-studio/plugins/android/resources/perfd/armeabi-v7a/perfd
/opt/android-studio/plugins/android/resources/perfd/x86/perfd
/opt/android-studio/plugins/android/resources/simpleperf/arm64-v8a/simpleperf
skiprdeps="/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced_probes
/opt/android-studio/plugins/android/resources/perfetto/x86_64/perfetto
/opt/android-studio/plugins/android/resources/perfetto/x86_64/traced
/opt/android-studio/plugins/android/resources/perfetto/x86_64/libperfetto.so
/opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced_probes
/opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/perfetto
/opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/traced
/opt/android-studio/plugins/android/resources/perfetto/arm64-v8a/libperfetto.so
/opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced_probes
/opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/perfetto
/opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/traced
/opt/android-studio/plugins/android/resources/perfetto/armeabi-v7a/libperfetto.so
/opt/android-studio/plugins/android/resources/perfetto/x86/traced_probes
/opt/android-studio/plugins/android/resources/perfetto/x86/perfetto
/opt/android-studio/plugins/android/resources/perfetto/x86/traced
/opt/android-studio/plugins/android/resources/perfetto/x86/libperfetto.so
/opt/android-studio/plugins/android/resources/simpleperf/armeabi-v7a/simpleperf
/opt/android-studio/plugins/android/resources/simpleperf/x86/simpleperf
/opt/android-studio/plugins/android/resources/simpleperf/x86_64/simpleperf"
/opt/android-studio/plugins/android/resources/simpleperf/x86_64/simpleperf
/opt/android-studio/plugins/android/resources/simpleperf/arm64-v8a/simpleperf
/opt/android-studio/plugins/android/resources/installer/x86/installer
/opt/android-studio/plugins/android/resources/installer/x86_64/installer
/opt/android-studio/plugins/android/resources/installer/arm64-v8a/installer
/opt/android-studio/plugins/android/resources/installer/test-installer
/opt/android-studio/plugins/android/resources/installer/armeabi-v7a/installer
/opt/android-studio/plugins/android/resources/transport/agent/arm64-v8a/libjvmtiagent.so
/opt/android-studio/plugins/android/resources/transport/agent/armeabi-v7a/libjvmtiagent.so
/opt/android-studio/plugins/android/resources/transport/agent/x86/libjvmtiagent.so
/opt/android-studio/plugins/android/resources/transport/agent/x86_64/libjvmtiagent.so
/opt/android-studio/plugins/android/resources/transport/armeabi-v7a/transport
/opt/android-studio/plugins/android/resources/transport/x86/transport
/opt/android-studio/plugins/android/resources/transport/arm64-v8a/transport
/opt/android-studio/plugins/android/lib/libwebp_jni.so
/opt/android-studio/plugins/android/lib/libwebp_jni64.so"
do_extract() {
tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-ide-${_studio_build}-linux.tar.gz --strip-components=1 -C ${wrksrc}
@ -43,7 +64,6 @@ do_extract() {
do_install() {
vmkdir opt/${pkgname}
vcopy bin opt/${pkgname}/
vcopy gradle opt/${pkgname}/
vcopy lib opt/${pkgname}/
vcopy jre opt/${pkgname}/
vcopy plugins opt/${pkgname}/