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