From d6ab69c5cb88477efcf998c49222aeb782557d54 Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Sun, 26 Nov 2023 11:08:46 -0500 Subject: [PATCH] Scrcpy: update to 2.3 apply patch from master branch referenced in https://github.com/Genymobile/scrcpy/issues/2256#issuecomment-1467008307 --- apps/Scrcpy/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/Scrcpy/install b/apps/Scrcpy/install index 311773d327..fbba95321a 100755 --- a/apps/Scrcpy/install +++ b/apps/Scrcpy/install @@ -1,6 +1,6 @@ #!/bin/bash -version=v2.1.1 +version=v2.3 echo -e "==============\n" echo " ยท More info: run "\""scrcpy --help"\"" or visit https://github.com/Genymobile/scrcpy" @@ -32,9 +32,9 @@ cd /tmp git_clone https://github.com/Genymobile/scrcpy -b ${version} || error "Failed to download repo!" cd scrcpy -# fixme: upstream v2.0 release does not build. upstream still has not fixed with a new release after a month -wget https://github.com/Genymobile/scrcpy/commit/6b769675fa68e60c9765022e43c4d7b1e329353a.patch -git apply 6b769675fa68e60c9765022e43c4d7b1e329353a.patch +# fixme: upstream v2.3 release does not build. upstream has not made a new release but fixed in master +wget https://github.com/Genymobile/scrcpy/commit/4135c411af419f4f86dc9ec9301c88012d616c49.patch +git apply 4135c411af419f4f86dc9ec9301c88012d616c49.patch status "Downloading prebuilt scrcpy-server that gets pushed to the android device" wget https://github.com/Genymobile/scrcpy/releases/download/${version}/scrcpy-server-${version} -O scrcpy-server || error "Failed to download scrcpy-server prebuilt!"