mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
linuxPackages.akvcam: 1.2.0 -> 1.2.2
The qmake-based build didn't seem to work any more, but there's a Kbuild-based build system available anyway, so let's just switch to that and save a dependency. Also clarify license.
This commit is contained in:
parent
7484cbf58e
commit
5ad9e2a74b
@ -1,32 +1,32 @@
|
||||
{ lib, stdenv, fetchFromGitHub, kernel, qmake }:
|
||||
{ lib, stdenv, fetchFromGitHub, kernel }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "akvcam";
|
||||
version = "1.2.0";
|
||||
version = "1.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "webcamoid";
|
||||
repo = "akvcam";
|
||||
rev = version;
|
||||
sha256 = "0r5xg7pz0wl6pq5029rpzm9fn978vq0md31xjkp2amny7rrgxw72";
|
||||
sha256 = "1f0vjia2d7zj3y5c63lx1r537bdjx6821yxy29ilbrvsbjq2szj8";
|
||||
};
|
||||
sourceRoot = "source/src";
|
||||
|
||||
nativeBuildInputs = [ qmake ];
|
||||
dontWrapQtApps = true;
|
||||
|
||||
qmakeFlags = [
|
||||
makeFlags = [
|
||||
"KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -m644 -b -D src/akvcam.ko $out/lib/modules/${kernel.modDirVersion}/akvcam.ko
|
||||
install -m644 -b -D akvcam.ko $out/lib/modules/${kernel.modDirVersion}/akvcam.ko
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Virtual camera driver for Linux";
|
||||
homepage = "https://github.com/webcamoid/akvcam";
|
||||
maintainers = with maintainers; [ freezeboy ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
license = licenses.gpl2Only;
|
||||
};
|
||||
}
|
||||
|
@ -21341,9 +21341,7 @@ with pkgs;
|
||||
|
||||
acpi_call = callPackage ../os-specific/linux/acpi-call {};
|
||||
|
||||
akvcam = callPackage ../os-specific/linux/akvcam {
|
||||
inherit (qt5) qmake;
|
||||
};
|
||||
akvcam = callPackage ../os-specific/linux/akvcam { };
|
||||
|
||||
amdgpu-pro = callPackage ../os-specific/linux/amdgpu-pro { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user