about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorOPNA2608 <christoph.neidahl@gmail.com>2022-12-18 19:14:17 +0100
committerOPNA2608 <christoph.neidahl@gmail.com>2022-12-18 19:14:17 +0100
commit4f312b4d13a04dfbd4c76d0cc0c3583087d5b144 (patch)
tree942b61d2d719f127d9b80a65d17fcf9775090d56 /pkgs/applications/video
parent1a46da8ccdabbe6ca5934715bcb293531ae36245 (diff)
simplescreenrecorder: Make available on more platforms
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/simplescreenrecorder/default.nix7
1 files changed, 5 insertions, 2 deletions
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 ];
   };
 }