2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, pkg-config, libxcb, mkDerivation, qmake
|
2020-05-29 06:06:01 +00:00
|
|
|
, qtbase, qtdeclarative, qtquickcontrols, qtquickcontrols2
|
2020-09-25 04:45:31 +00:00
|
|
|
, ffmpeg-full, gst_all_1, libpulseaudio, alsaLib, jack2
|
2020-05-29 06:06:01 +00:00
|
|
|
, 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
|
2020-09-25 04:45:31 +00:00
|
|
|
gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
2020-05-29 06:06:01 +00:00
|
|
|
alsaLib libpulseaudio jack2
|
|
|
|
v4l-utils
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config qmake ];
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
qmakeFlags = [
|
|
|
|
"Webcamoid.pro"
|
|
|
|
"INSTALLQMLDIR=${placeholder "out"}/lib/qt/qml"
|
|
|
|
];
|
|
|
|
|
2020-11-21 19:51:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-29 06:06:01 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|