android-studio: fix runtime deps
Use the new `skiprdeps' variable to skip runtime dependency checking for a number of files which are not meant to be run or loaded on the host and as such were generating a wrong dependency on libc.so. Closes: #12766 Closes: #9830 Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Template file for 'android-studio'
|
||||
pkgname=android-studio
|
||||
version=3.0.1
|
||||
revision=1
|
||||
revision=2
|
||||
# _studio_build and _studio_rev are for downloading the zip from dl.google.com
|
||||
# https://developer.android.com/studio/index.html#resources as of 2017-07-04
|
||||
_studio_build=171.4443003
|
||||
@@ -21,6 +21,13 @@ license="Apache-2.0"
|
||||
homepage="http://tools.android.com/"
|
||||
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/perfa/armeabi-v7a/libperfa.so
|
||||
/opt/android-studio/plugins/android/resources/perfa/x86/libperfa.so
|
||||
/opt/android-studio/plugins/android/resources/perfa/arm64-v8a/libperfa.so
|
||||
/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/perfd/arm64-v8a/perfd"
|
||||
|
||||
do_install() {
|
||||
unzip android-studio-ide-${_studio_build}-linux.zip
|
||||
|
||||
Reference in New Issue
Block a user