From 4d65f881ce98b94e8517b556738f4592e8b0d728 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, 9 insertions(+), 11 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..bb2726b5f3a 100644 --- a/srcpkgs/scrcpy/template +++ b/srcpkgs/scrcpy/template @@ -1,7 +1,7 @@ # 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" @@ -14,11 +14,15 @@ 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" +pre_configure() { + echo -n > server/meson.build +} + post_install() { vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version}.jar \ - 644 /usr/share/scrcpy/ + 644 /usr/share/scrcpy/ scrcpy-server.jar }