decklink: update to 12.2

This commit is contained in:
hexchen 2021-11-28 15:22:36 +00:00 committed by Jörg Thalheim
parent 15db31b2d9
commit 59271ebaa5
2 changed files with 6 additions and 19 deletions

View File

@ -2,27 +2,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "decklink"; pname = "decklink";
version = "12.0a14"; version = "12.2a12";
src = requireFile { src = requireFile {
name = "Blackmagic_Desktop_Video_Linux_${lib.versions.majorMinor version}.tar.gz"; name = "Blackmagic_Desktop_Video_Linux_${lib.versions.majorMinor version}.tar.gz";
url = "https://www.blackmagicdesign.com/support/download/76b2edbed5884e1dbbfea104071f1643/Linux"; url = "https://www.blackmagicdesign.com/support/download/33abc1034cd54cf99101f9acd2edd93d/Linux";
sha256 = "e5a586ee705513cf5e6b024e1ec68621ab91d50b370981023e0bff73a19169c2"; sha256 = "62954a18b60d9040aa4a959dff30ac9c260218ef78d6a63cbb243788f7abc05f";
}; };
patches = [
(fetchpatch {
name = "01-fix-get_user_pages.patch";
url = "https://aur.archlinux.org/cgit/aur.git/plain/01-fix-get_user_pages.patch?h=decklink&id=212ec426d96db3de0fedad803238d0604cc4df76";
sha256 = "193199d59kmwdajhyw9k98636lbxrxwnxwlbhhijp1qms6y1qn2j";
})
(fetchpatch {
name = "02-fix-have_unlocked_ioctl.patch";
url = "https://aur.archlinux.org/cgit/aur.git/plain/02-fix-have_unlocked_ioctl.patch?h=decklink&id=212ec426d96db3de0fedad803238d0604cc4df76";
sha256 = "0yf3bwry28zr1yfnx6wyh650d8kac4q70x95kz4p7sr6r7ajwzdm";
})
];
KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"; KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
INSTALL_MOD_PATH = placeholder "out"; INSTALL_MOD_PATH = placeholder "out";

View File

@ -4,7 +4,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "blackmagic-desktop-video"; pname = "blackmagic-desktop-video";
version = "12.0a14"; version = "12.2a12";
buildInputs = [ buildInputs = [
libcxx libcxxabi libcxx libcxxabi
@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
src = requireFile { src = requireFile {
name = "Blackmagic_Desktop_Video_Linux_${lib.versions.majorMinor version}.tar.gz"; name = "Blackmagic_Desktop_Video_Linux_${lib.versions.majorMinor version}.tar.gz";
url = "https://www.blackmagicdesign.com/support/download/76b2edbed5884e1dbbfea104071f1643/Linux"; url = "https://www.blackmagicdesign.com/support/download/33abc1034cd54cf99101f9acd2edd93d/Linux";
sha256 = "e5a586ee705513cf5e6b024e1ec68621ab91d50b370981023e0bff73a19169c2"; sha256 = "62954a18b60d9040aa4a959dff30ac9c260218ef78d6a63cbb243788f7abc05f";
}; };
postUnpack = '' postUnpack = ''