3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/video/webcamoid/default.nix
Atemu 9bd2506458 treewide: make ffmpeg_4-dependant packages depend on ffmpeg_4
These packages were identified as broken when ffmpeg = ffmpeg_5.

Tested _only_ by building them. If you are a maintainer of one of these
packages, please test whether your package still works.
2023-03-13 16:42:22 -06:00

36 lines
1,008 B
Nix

{ lib, fetchFromGitHub, pkg-config, libxcb, mkDerivation, cmake
, qtbase, qtdeclarative, qtquickcontrols, qtquickcontrols2
, ffmpeg_4, gst_all_1, libpulseaudio, alsa-lib, jack2
, v4l-utils }:
mkDerivation rec {
pname = "webcamoid";
version = "9.0.0";
src = fetchFromGitHub {
sha256 = "sha256-NV1BmG+fgy+ZcvHl+05VX5J1BAz8PxKiZ3z9BxjhMU0=";
rev = version;
repo = "webcamoid";
owner = "webcamoid";
};
buildInputs = [
libxcb
qtbase qtdeclarative qtquickcontrols qtquickcontrols2
ffmpeg_4
gst_all_1.gstreamer gst_all_1.gst-plugins-base
alsa-lib libpulseaudio jack2
v4l-utils
];
nativeBuildInputs = [ pkg-config cmake ];
meta = with 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 ];
};
}