mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-22 14:00:40 +08:00
change: scrcpy aur update hook
This commit is contained in:
parent
53b77e84f4
commit
334ebaa67d
2 changed files with 1 additions and 20 deletions
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue