From 334ebaa67d86fd8f19e2373d209cfde328b88963 Mon Sep 17 00:00:00 2001 From: Archlinux-Jerry Build Bot Date: Thu, 30 Jan 2020 16:04:27 +0800 Subject: [PATCH] change: scrcpy aur update hook --- .../0001-fix-aarch64-compilation.patch | 19 ------------------- scrcpy/buildbot.update.d/config.sh | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 scrcpy/buildbot.update.d/0001-fix-aarch64-compilation.patch diff --git a/scrcpy/buildbot.update.d/0001-fix-aarch64-compilation.patch b/scrcpy/buildbot.update.d/0001-fix-aarch64-compilation.patch deleted file mode 100644 index fca5e73..0000000 --- a/scrcpy/buildbot.update.d/0001-fix-aarch64-compilation.patch +++ /dev/null @@ -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 diff --git a/scrcpy/buildbot.update.d/config.sh b/scrcpy/buildbot.update.d/config.sh index edf7872..33528d6 100644 --- a/scrcpy/buildbot.update.d/config.sh +++ b/scrcpy/buildbot.update.d/config.sh @@ -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