From 5033cacaed3b3ffd767317001b3acac28e16e1e7 Mon Sep 17 00:00:00 2001 From: prspkt Date: Sat, 5 Oct 2019 16:01:42 +0300 Subject: [PATCH] scrcpy: update to 1.10. Signed-off-by: prspkt --- srcpkgs/scrcpy/INSTALL.msg | 6 ------ srcpkgs/scrcpy/template | 14 +++++++------- 2 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 srcpkgs/scrcpy/INSTALL.msg diff --git a/srcpkgs/scrcpy/INSTALL.msg b/srcpkgs/scrcpy/INSTALL.msg deleted file mode 100644 index ea0e3ec7e9b..00000000000 --- a/srcpkgs/scrcpy/INSTALL.msg +++ /dev/null @@ -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. diff --git a/srcpkgs/scrcpy/template b/srcpkgs/scrcpy/template index 98543136b92..953ec08f28d 100644 --- a/srcpkgs/scrcpy/template +++ b/srcpkgs/scrcpy/template @@ -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 }