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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, fetchFromGitHub, fetchpatch2, pkg-config, libxcb, mkDerivation, cmake
2020-05-22 13:06:58 +00:00
, qtbase, qtdeclarative, qtquickcontrols, qtquickcontrols2
, ffmpeg_7, gst_all_1, libpulseaudio, alsa-lib, jack2
2020-05-22 13:06:58 +00:00
, v4l-utils }:
mkDerivation rec {
pname = "webcamoid";
2023-06-22 03:18:28 +00:00
version = "9.1.1";
2020-05-22 13:06:58 +00:00
src = fetchFromGitHub {
2023-06-22 03:18:28 +00:00
sha256 = "sha256-E2hHFrksJtdDLWiX7wL1z9LBbBKT04a853V8u+WiwbA=";
2020-05-22 13:06:58 +00:00
rev = version;
repo = "webcamoid";
owner = "webcamoid";
};
patches = [
# Update mediawriterffmpeg.cpp for ffmpeg-7.0
(fetchpatch2 {
url = "https://github.com/webcamoid/webcamoid/commit/b4864f13ec8c2ec93ebb5c13d9293cf9c02c93fd.patch?full_index=1";
hash = "sha256-QasfVocxAzRMME03JFRfz7QQYXQGq4TSFiBsKL1g/wU=";
})
];
2020-05-22 13:06:58 +00:00
buildInputs = [
libxcb
qtbase qtdeclarative qtquickcontrols qtquickcontrols2
ffmpeg_7
2020-09-02 00:46:59 +00:00
gst_all_1.gstreamer gst_all_1.gst-plugins-base
alsa-lib libpulseaudio jack2
2020-05-22 13:06:58 +00:00
v4l-utils
];
2022-04-23 09:47:11 +00:00
nativeBuildInputs = [ pkg-config cmake ];
2020-05-22 13:06:58 +00:00
meta = with lib; {
2020-05-22 13:06:58 +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 ];
2023-11-27 01:17:53 +00:00
mainProgram = "webcamoid";
2020-05-22 13:06:58 +00:00
};
}