about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2023-01-01 02:35:37 +0100
committerGitHub <noreply@github.com>2023-01-01 02:35:37 +0100
commit06c49ba44a5f08c6716965433293c69b1daba3df (patch)
tree5619b04cef0b28fb99742e484a2dc11b183171f1 /pkgs/applications/video
parentac949b889280f7258021d7af4e08d619bd7686a8 (diff)
parent4f312b4d13a04dfbd4c76d0cc0c3583087d5b144 (diff)
Merge pull request #206731 from OPNA2608/fix/simplescreenrecorder_aarch64
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 ];
   };
 }