libv4l: 1.20.0 -> 1.22.1
* libv4l: 1.20.0 -> 1.22.1 (#143322) * v4l-utils: build in parallel and fix patching of shebangs under utils and add meta.changelog URL and clarify meta.license (libs are LGPL 2.1 but tools are GPL 2) Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
parent
5e0b594cc3
commit
dfab9e35c6
|
@ -12,11 +12,11 @@ let
|
||||||
# we need to use stdenv.mkDerivation in order not to pollute the libv4l’s closure with Qt
|
# we need to use stdenv.mkDerivation in order not to pollute the libv4l’s closure with Qt
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "v4l-utils";
|
pname = "v4l-utils";
|
||||||
version = "1.20.0";
|
version = "1.22.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://linuxtv.org/downloads/${pname}/${pname}-${version}.tar.bz2";
|
url = "https://linuxtv.org/downloads/${pname}/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "1xr66y6w422hil6s7n8d61a2vhwh4im8l267amf41jvw7xqihqcm";
|
hash = "sha256-Zcb76DCkTKEFxEOwJxgsGyyQU6kdHnKthJ36s4i5TjE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" ] ++ lib.optional withUtils "lib" ++ [ "dev" ];
|
outputs = [ "out" ] ++ lib.optional withUtils "lib" ++ [ "dev" ];
|
||||||
|
@ -40,14 +40,16 @@ in stdenv.mkDerivation rec {
|
||||||
propagatedBuildInputs = [ libjpeg ];
|
propagatedBuildInputs = [ libjpeg ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs utils/cec-ctl/msg2ctl.pl
|
patchShebangs utils/
|
||||||
patchShebangs utils/libcecutil/cec-gen.pl
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "V4L utils and libv4l, provide common image formats regardless of the v4l device";
|
description = "V4L utils and libv4l, provide common image formats regardless of the v4l device";
|
||||||
homepage = "https://linuxtv.org/projects.php";
|
homepage = "https://linuxtv.org/projects.php";
|
||||||
license = licenses.lgpl21Plus;
|
changelog = "https://git.linuxtv.org/v4l-utils.git/plain/ChangeLog?h=v4l-utils-${version}";
|
||||||
|
license = with licenses; [ lgpl21Plus gpl2Plus ];
|
||||||
maintainers = with maintainers; [ codyopel ];
|
maintainers = with maintainers; [ codyopel ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue