scrcpy: update to 1.10.

Signed-off-by: prspkt <prspkt@protonmail.com>
This commit is contained in:
prspkt 2019-10-05 16:01:42 +03:00 committed by John Zimmermann
parent 7539030788
commit 2ff3c62cd9
2 changed files with 7 additions and 13 deletions

View File

@ -1,6 +0,0 @@
If you encounter the following error:
adb: error: cannot stat '/usr/bin/scrcpy-server.jar': No such file or directory
ERROR: "adb push" returned with value 1
Execute "export SCRCPY_SERVER_PATH=/usr/share/scrcpy/scrcpy-server-v1.9.jar"
before executing scrcpy, or add it in your ~/.bashrc file.

View File

@ -1,10 +1,10 @@
# Template file for 'scrcpy'
pkgname=scrcpy
version=1.9
revision=2
version=1.10
revision=1
build_style=meson
configure_args="-Dbuild_server=false
-Doverride_server_path=/usr/share/scrcpy/scrcpy-server-v${version}.jar"
configure_args="-Dcompile_server=false
-Dprebuilt_server=/usr/share/scrcpy/scrcpy-server-v${version}.jar"
hostmakedepends="pkg-config"
makedepends="SDL2-devel ffmpeg-devel"
depends="android-tools"
@ -14,11 +14,11 @@ license="Apache-2.0"
homepage="https://github.com/Genymobile/scrcpy"
distfiles="${homepage}/archive/v${version}.tar.gz
${homepage}/releases/download/v${version}/scrcpy-server-v${version}.jar"
checksum="905fe62e2825310eeb77187f8974763c3ae2f08ca1f649bcaf4721f1fd14a764
ad7e539f100e48259b646f26982bc63e0a60a81ac87ae135e242855bef69bd1a"
checksum="71bd3b01f26233d73b91c0953ce004bd3195bcfd0c83b76c269094fb06e5ffa5
cbeb1a4e046f1392c1dc73c3ccffd7f86dec4636b505556ea20929687a119390"
skip_extraction="scrcpy-server-v${version}.jar"
post_install() {
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version}.jar \
644 /usr/share/scrcpy/
644 /usr/share/scrcpy/ scrcpy-server.jar
}