From 4f312b4d13a04dfbd4c76d0cc0c3583087d5b144 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Sun, 18 Dec 2022 19:14:17 +0100 Subject: simplescreenrecorder: Make available on more platforms --- pkgs/applications/video/simplescreenrecorder/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/video') diff --git a/pkgs/applications/video/simplescreenrecorder/default.nix b/pkgs/applications/video/simplescreenrecorder/default.nix index 34842b38743b4..7778e7c222408 100644 --- a/pkgs/applications/video/simplescreenrecorder/default.nix +++ b/pkgs/applications/video/simplescreenrecorder/default.nix @@ -13,7 +13,10 @@ mkDerivation rec { sha256 = "0mrx8wprs8bi42fwwvk6rh634ic9jnn0gkfpd6q9pcawnnbz3vq8"; }; - cmakeFlags = [ "-DWITH_QT5=TRUE" ]; + cmakeFlags = [ + "-DWITH_QT5=TRUE" + "-DWITH_GLINJECT=${if stdenv.hostPlatform.isx86 then "TRUE" else "FALSE"}" + ]; patches = [ ./fix-paths.patch ]; @@ -35,7 +38,7 @@ mkDerivation rec { description = "A screen recorder for Linux"; homepage = "https://www.maartenbaert.be/simplescreenrecorder"; license = licenses.gpl3Plus; - platforms = [ "x86_64-linux" ]; + platforms = platforms.linux; maintainers = [ maintainers.goibhniu ]; }; } -- cgit 1.4.1