From acaedc8f589b60c4320b709bb96baf504387a596 Mon Sep 17 00:00:00 2001 From: Julian Paul Dasmarinas Date: Thu, 1 Aug 2019 20:24:14 +0800 Subject: [PATCH] Add post install message to scrcpy --- srcpkgs/scrcpy/INSTALL.msg | 6 ++++++ srcpkgs/scrcpy/template | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/scrcpy/INSTALL.msg diff --git a/srcpkgs/scrcpy/INSTALL.msg b/srcpkgs/scrcpy/INSTALL.msg new file mode 100644 index 00000000000..ea0e3ec7e9b --- /dev/null +++ b/srcpkgs/scrcpy/INSTALL.msg @@ -0,0 +1,6 @@ +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 2be41514874..98543136b92 100644 --- a/srcpkgs/scrcpy/template +++ b/srcpkgs/scrcpy/template @@ -1,7 +1,7 @@ # Template file for 'scrcpy' pkgname=scrcpy version=1.9 -revision=1 +revision=2 build_style=meson configure_args="-Dbuild_server=false -Doverride_server_path=/usr/share/scrcpy/scrcpy-server-v${version}.jar"