scrcpy: 1.14 -> 1.15.1

This commit is contained in:
Vladyslav M 2020-08-08 22:13:53 +03:00 committed by Jon
parent 6f17a51e72
commit 9344a17735

View File

@ -5,15 +5,15 @@
, fetchpatch , fetchpatch
, platform-tools , platform-tools
, ffmpeg_3 , ffmpeg
, SDL2 , SDL2
}: }:
let let
version = "1.14"; version = "1.15.1";
prebuilt_server = fetchurl { prebuilt_server = fetchurl {
url = "https://github.com/Genymobile/scrcpy/releases/download/v${version}/scrcpy-server-v${version}"; url = "https://github.com/Genymobile/scrcpy/releases/download/v${version}/scrcpy-server-v${version}";
sha256 = "082n57a9lw39lfjxybgim09qf0id9m0rpfb3zmqng58fp2i1h6qx"; sha256 = "1hrp2rfwl06ff2b2i12ccka58l1brvn6xqgm1f38k36s61mbs1py";
}; };
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
owner = "Genymobile"; owner = "Genymobile";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1w06gsvgjdbpb9lvvhpjwmysxjl0daiigjfh3cxfgz88447bgw7j"; sha256 = "0ijar1cycj42p39cgpnwdwr6nz5pyr6vacr1gvc0f6k92pl8vr13";
}; };
# postPatch: # postPatch:
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper meson ninja pkg-config ]; nativeBuildInputs = [ makeWrapper meson ninja pkg-config ];
buildInputs = [ ffmpeg_3 SDL2 ]; buildInputs = [ ffmpeg SDL2 ];
# Manually install the server jar to prevent Meson from "fixing" it # Manually install the server jar to prevent Meson from "fixing" it
preConfigure = '' preConfigure = ''