1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/applications/video/simplescreenrecorder/default.nix
R. RyanTM dfd12da9d0 simplescreenrecorder: 0.3.10 -> 0.3.11
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/simplescreenrecorder/versions.

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/a8fww8kyx1kxkbr94mx0k3aml8p1iv9y-simplescreenrecorder-0.3.11/bin/simplescreenrecorder had a zero exit code or showed the expected version
- /nix/store/a8fww8kyx1kxkbr94mx0k3aml8p1iv9y-simplescreenrecorder-0.3.11/bin/ssr-glinject passed the binary check.
- 1 of 2 passed binary check by having a zero exit code.
- 0 of 2 passed binary check by having the new version present in output.
- found 0.3.11 with grep in /nix/store/a8fww8kyx1kxkbr94mx0k3aml8p1iv9y-simplescreenrecorder-0.3.11
- directory tree listing: https://gist.github.com/37e7c1c2b6ea1075aec16c5886d64421
- du listing: https://gist.github.com/e083fc723fa4e92eac89902a7ae3fd56
2018-05-22 18:56:33 -07:00

40 lines
1.1 KiB
Nix

{ stdenv, fetchurl, alsaLib, ffmpeg, libjack2, libX11, libXext, qtx11extras
, libXfixes, libGLU_combined, pkgconfig, libpulseaudio, qtbase, cmake, ninja
}:
stdenv.mkDerivation rec {
name = "simplescreenrecorder-${version}";
version = "0.3.11";
src = fetchurl {
url = "https://github.com/MaartenBaert/ssr/archive/${version}.tar.gz";
sha256 = "0l6irdadqpajvv0dj3ngs1231n559l0y1pykhs2h7526qm4w7xal";
};
cmakeFlags = [ "-DWITH_QT5=TRUE" ];
patches = [ ./fix-paths.patch ];
postPatch = ''
for i in scripts/ssr-glinject src/AV/Input/GLInjectInput.cpp; do
substituteInPlace $i \
--subst-var out \
--subst-var-by sh ${stdenv.shell}
done
'';
nativeBuildInputs = [ pkgconfig cmake ninja ];
buildInputs = [
alsaLib ffmpeg libjack2 libX11 libXext libXfixes libGLU_combined
libpulseaudio qtbase qtx11extras
];
meta = with stdenv.lib; {
description = "A screen recorder for Linux";
homepage = http://www.maartenbaert.be/simplescreenrecorder;
license = licenses.gpl3;
platforms = [ "x86_64-linux" ];
maintainers = [ maintainers.goibhniu ];
};
}