Merge pull request #168394 from Ferdi265/update-wl-mirror

wl-mirror: 0.10.0 -> 0.11.2
This commit is contained in:
Sandro 2022-04-18 01:12:29 +02:00 committed by GitHub
commit 08ff3eb349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,16 +26,17 @@ in
stdenv.mkDerivation rec {
pname = "wl-mirror";
version = "0.10.0";
version = "0.11.2";
src = fetchFromGitHub {
owner = "Ferdi265";
repo = "wl-mirror";
rev = "v${version}";
hash = "sha256-ygzSLbzn4P/BdYbqUDduUGwSbRHeU/OBYOX2uznVy1g=";
hash = "sha256-D5uUKaepcSW9v2x6uBeLGXAyuLorlt4Lb6lZD/prfp8=";
};
patchPhase = ''
postPatch = ''
echo 'v${version}' > version.txt
substituteInPlace CMakeLists.txt \
--replace 'WL_PROTOCOL_DIR "/usr' 'WL_PROTOCOL_DIR "${wayland-protocols}' \
--replace 'WLR_PROTOCOL_DIR "/usr' 'WLR_PROTOCOL_DIR "${wlr-protocols}'