diff options
author | Carsten Rohrbach <carsten.rohrbach@codecentric.de> | 2020-05-22 15:06:58 +0200 |
---|---|---|
committer | Carsten Rohrbach <carsten.rohrbach@codecentric.de> | 2020-05-22 15:06:58 +0200 |
commit | f3050a68318a07c6b88c6052df48e8147388dfcd (patch) | |
tree | b9766e4b4649518a13a45f8f3c2cb0f551f448e4 /pkgs/applications/video/webcamoid | |
parent | 06ac702738a704d519b92abf7cd8df5bb4723fb0 (diff) |
webcamoid: init at 8.7.1
Diffstat (limited to 'pkgs/applications/video/webcamoid')
-rw-r--r-- | pkgs/applications/video/webcamoid/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/applications/video/webcamoid/default.nix b/pkgs/applications/video/webcamoid/default.nix new file mode 100644 index 0000000000000..41304c21ac30f --- /dev/null +++ b/pkgs/applications/video/webcamoid/default.nix @@ -0,0 +1,40 @@ +{ stdenv, fetchFromGitHub, pkgconfig, libxcb, mkDerivation, qmake +, qtbase, qtdeclarative, qtquickcontrols, qtquickcontrols2 +, ffmpeg-full, gstreamer, gst_all_1, libpulseaudio, alsaLib, jack2 +, v4l-utils }: +mkDerivation rec { + pname = "webcamoid"; + version = "8.7.1"; + + src = fetchFromGitHub { + sha256 = "1d8g7mq0wf0ycds87xpdhr3zkljgjmb94n3ak9kkxj2fqp9242d2"; + rev = version; + repo = "webcamoid"; + owner = "webcamoid"; + }; + + buildInputs = [ + libxcb + qtbase qtdeclarative qtquickcontrols qtquickcontrols2 + ffmpeg-full + gstreamer gst_all_1.gst-plugins-base + alsaLib libpulseaudio jack2 + v4l-utils + ]; + + nativeBuildInputs = [ pkgconfig qmake ]; + + qmakeFlags = [ + "Webcamoid.pro" + "INSTALLQMLDIR=${placeholder "out"}/lib/qt/qml" + ]; + + meta = with stdenv.lib; { + description = "Webcam Capture Software"; + longDescription = "Webcamoid is a full featured and multiplatform webcam suite."; + homepage = "https://github.com/webcamoid/webcamoid/"; + license = [ licenses.gpl3Plus ]; + platforms = platforms.linux; + maintainers = with maintainers; [ robaca ]; + }; +} |