change: scrcpy aur update hook

This commit is contained in:
Archlinux-Jerry Build Bot 2020-01-30 16:04:27 +08:00
parent 53b77e84f4
commit 334ebaa67d
2 changed files with 1 additions and 20 deletions

View File

@ -1,19 +0,0 @@
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
arch=('aarch64')
url='https://github.com/Genymobile/scrcpy'
license=('Apache')
-depends=('android-tools' 'ffmpeg' 'sdl2')
+depends=('ffmpeg' 'sdl2')
makedepends=('meson')
optdepends=('android-tools: required if adb is not already installed')
source=("https://github.com/Genymobile/scrcpy/archive/v${pkgver}.tar.gz"
@@ -26,7 +26,6 @@
--prefix /usr \
--buildtype release \
--strip \
- -Db_lto=true \
-Dprebuilt_server="../scrcpy-server-v${pkgver}" \
build
ninja -C build

View File

@ -7,7 +7,7 @@ PKGBUILD='PKGBUILD'
# prepare upstream source
prepare() {
sed -i "s/^arch=.*$/arch=('aarch64')/g" PKGBUILD
git apply ../0001-fix-aarch64-compilation.patch
sed -i "/^[ \t]*-Db_lto=true.*$/d" PKGBUILD
}
# which files to include, overrides exclude_files below