nixpkgs-suyu/pkgs/applications/video/webcamoid/default.nix

41 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, fetchFromGitHub, pkg-config, libxcb, mkDerivation, qmake
2020-05-22 15:06:58 +02:00
, qtbase, qtdeclarative, qtquickcontrols, qtquickcontrols2
, ffmpeg-full, gst_all_1, libpulseaudio, alsa-lib, jack2
2020-05-22 15:06:58 +02:00
, v4l-utils }:
mkDerivation rec {
pname = "webcamoid";
2021-02-20 14:39:36 +01:00
version = "8.8.0";
2020-05-22 15:06:58 +02:00
src = fetchFromGitHub {
2021-02-20 14:39:36 +01:00
sha256 = "0a8M9GQ6Ea9jBCyfbORVyB6HC/O6jdcIZruQZj9Aai4=";
2020-05-22 15:06:58 +02:00
rev = version;
repo = "webcamoid";
owner = "webcamoid";
};
buildInputs = [
libxcb
qtbase qtdeclarative qtquickcontrols qtquickcontrols2
ffmpeg-full
2020-09-02 02:46:59 +02:00
gst_all_1.gstreamer gst_all_1.gst-plugins-base
alsa-lib libpulseaudio jack2
2020-05-22 15:06:58 +02:00
v4l-utils
];
nativeBuildInputs = [ pkg-config qmake ];
2020-05-22 15:06:58 +02:00
qmakeFlags = [
"Webcamoid.pro"
"INSTALLQMLDIR=${placeholder "out"}/lib/qt/qml"
];
meta = with lib; {
2020-05-22 15:06:58 +02: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 ];
};
}