Merge pull request #39974 from Ma27/ssr-qt5

simplescreenrecorder: port to qt5

authored by

xeji and committed by
GitHub
da69dc40 4c8c3146

+7 -5
+6 -4
pkgs/applications/video/simplescreenrecorder/default.nix
··· 1 - { stdenv, fetchurl, alsaLib, ffmpeg, libjack2, libX11, libXext 2 - , libXfixes, libGLU_combined, pkgconfig, libpulseaudio, qt4, cmake, ninja 3 }: 4 5 stdenv.mkDerivation rec { ··· 11 sha256 = "02rl9yyx3hlz9fqvgzv7ipmvx2qahj7ws5wx2m7zs3lssq3qag3g"; 12 }; 13 14 patches = [ ./fix-paths.patch ]; 15 16 postPatch = '' ··· 24 nativeBuildInputs = [ pkgconfig cmake ninja ]; 25 buildInputs = [ 26 alsaLib ffmpeg libjack2 libX11 libXext libXfixes libGLU_combined 27 - libpulseaudio qt4 28 ]; 29 30 meta = with stdenv.lib; { 31 description = "A screen recorder for Linux"; 32 homepage = http://www.maartenbaert.be/simplescreenrecorder; 33 license = licenses.gpl3; 34 - platforms = platforms.linux; 35 maintainers = [ maintainers.goibhniu ]; 36 }; 37 }
··· 1 + { stdenv, fetchurl, alsaLib, ffmpeg, libjack2, libX11, libXext, qtx11extras 2 + , libXfixes, libGLU_combined, pkgconfig, libpulseaudio, qtbase, cmake, ninja 3 }: 4 5 stdenv.mkDerivation rec { ··· 11 sha256 = "02rl9yyx3hlz9fqvgzv7ipmvx2qahj7ws5wx2m7zs3lssq3qag3g"; 12 }; 13 14 + cmakeFlags = [ "-DWITH_QT5=TRUE" ]; 15 + 16 patches = [ ./fix-paths.patch ]; 17 18 postPatch = '' ··· 26 nativeBuildInputs = [ pkgconfig cmake ninja ]; 27 buildInputs = [ 28 alsaLib ffmpeg libjack2 libX11 libXext libXfixes libGLU_combined 29 + libpulseaudio qtbase qtx11extras 30 ]; 31 32 meta = with stdenv.lib; { 33 description = "A screen recorder for Linux"; 34 homepage = http://www.maartenbaert.be/simplescreenrecorder; 35 license = licenses.gpl3; 36 + platforms = [ "x86_64-linux" ]; 37 maintainers = [ maintainers.goibhniu ]; 38 }; 39 }
+1 -1
pkgs/top-level/all-packages.nix
··· 4877 4878 simpleproxy = callPackage ../tools/networking/simpleproxy { }; 4879 4880 - simplescreenrecorder = callPackage ../applications/video/simplescreenrecorder { }; 4881 4882 sipsak = callPackage ../tools/networking/sipsak { }; 4883
··· 4877 4878 simpleproxy = callPackage ../tools/networking/simpleproxy { }; 4879 4880 + simplescreenrecorder = libsForQt5.callPackage ../applications/video/simplescreenrecorder { }; 4881 4882 sipsak = callPackage ../tools/networking/sipsak { }; 4883