git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #39974 from Ma27/ssr-qt5

simplescreenrecorder: port to qt5

commitda69dc40f09f11e668537d385ceaff0ba0191222 authorxeji <36407913+xeji@users.noreply.github.com> dateFri 4 May 2018, 22:54 (9 years ago) parent4c8c314b4bfc02
2 files changed+7−5
pkgs/applications/video/simplescreenrecorder/default.nix+6−4 pkgs/top-level/all-packages.nix+1−1
pkgs/applications/video/simplescreenrecorder/default.nix+6−4
@@ -1,5 +1,5 @@
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
33}:
44
55stdenv.mkDerivation rec {
@@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
1111 sha256 = "02rl9yyx3hlz9fqvgzv7ipmvx2qahj7ws5wx2m7zs3lssq3qag3g";
1212 };
1313
14+ cmakeFlags = [ "-DWITH_QT5=TRUE" ];
15+
1416 patches = [ ./fix-paths.patch ];
1517
1618 postPatch = ''
@@ -24,14 +26,14 @@ stdenv.mkDerivation rec {
2426 nativeBuildInputs = [ pkgconfig cmake ninja ];
2527 buildInputs = [
2628 alsaLib ffmpeg libjack2 libX11 libXext libXfixes libGLU_combined
27− libpulseaudio qt4
29+ libpulseaudio qtbase qtx11extras
2830 ];
2931
3032 meta = with stdenv.lib; {
3133 description = "A screen recorder for Linux";
3234 homepage = http://www.maartenbaert.be/simplescreenrecorder;
3335 license = licenses.gpl3;
34− platforms = platforms.linux;
36+ platforms = [ "x86_64-linux" ];
3537 maintainers = [ maintainers.goibhniu ];
3638 };
3739}
pkgs/top-level/all-packages.nix+1−1
@@ -4877,7 +4877,7 @@ with pkgs;
48774877
48784878 simpleproxy = callPackage ../tools/networking/simpleproxy { };
48794879
4880− simplescreenrecorder = callPackage ../applications/video/simplescreenrecorder { };
4880+ simplescreenrecorder = libsForQt5.callPackage ../applications/video/simplescreenrecorder { };
48814881
48824882 sipsak = callPackage ../tools/networking/sipsak { };
48834883