about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorxeji <36407913+xeji@users.noreply.github.com>2018-05-04 22:54:08 +0200
committerGitHub <noreply@github.com>2018-05-04 22:54:08 +0200
commitda69dc40f09f11e668537d385ceaff0ba0191222 (patch)
tree3f9f5f6b4ea5055e0f1077cb3594072b2b04f3fc /pkgs/applications/video
parent4c8c314689c3dd907d467ccd441bcbb8f4319bee (diff)
parentb4bfc02d352a737b08d11592efe0128bf1075a8d (diff)
downloadnixlib-da69dc40f09f11e668537d385ceaff0ba0191222.tar
nixlib-da69dc40f09f11e668537d385ceaff0ba0191222.tar.gz
nixlib-da69dc40f09f11e668537d385ceaff0ba0191222.tar.bz2
nixlib-da69dc40f09f11e668537d385ceaff0ba0191222.tar.lz
nixlib-da69dc40f09f11e668537d385ceaff0ba0191222.tar.xz
nixlib-da69dc40f09f11e668537d385ceaff0ba0191222.tar.zst
nixlib-da69dc40f09f11e668537d385ceaff0ba0191222.zip
Merge pull request #39974 from Ma27/ssr-qt5
simplescreenrecorder: port to qt5
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/simplescreenrecorder/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/video/simplescreenrecorder/default.nix b/pkgs/applications/video/simplescreenrecorder/default.nix
index 0ae9de046801..d1f6f8b6ad1b 100644
--- a/pkgs/applications/video/simplescreenrecorder/default.nix
+++ b/pkgs/applications/video/simplescreenrecorder/default.nix
@@ -1,5 +1,5 @@
-{ stdenv, fetchurl, alsaLib, ffmpeg, libjack2, libX11, libXext
-, libXfixes, libGLU_combined, pkgconfig, libpulseaudio, qt4, cmake, ninja
+{ stdenv, fetchurl, alsaLib, ffmpeg, libjack2, libX11, libXext, qtx11extras
+, libXfixes, libGLU_combined, pkgconfig, libpulseaudio, qtbase, cmake, ninja
 }:
 
 stdenv.mkDerivation rec {
@@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
     sha256 = "02rl9yyx3hlz9fqvgzv7ipmvx2qahj7ws5wx2m7zs3lssq3qag3g";
   };
 
+  cmakeFlags = [ "-DWITH_QT5=TRUE" ];
+
   patches = [ ./fix-paths.patch ];
 
   postPatch = ''
@@ -24,14 +26,14 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ pkgconfig cmake ninja ];
   buildInputs = [
     alsaLib ffmpeg libjack2 libX11 libXext libXfixes libGLU_combined
-    libpulseaudio qt4
+    libpulseaudio qtbase qtx11extras
   ];
 
   meta = with stdenv.lib; {
     description = "A screen recorder for Linux";
     homepage = http://www.maartenbaert.be/simplescreenrecorder;
     license = licenses.gpl3;
-    platforms = platforms.linux;
+    platforms = [ "x86_64-linux" ];
     maintainers = [ maintainers.goibhniu ];
   };
 }