forked from hacc/haccfiles
pkgs/blackmagic-desktop-video: update to 12.2.2
This commit is contained in:
parent
2a1e692522
commit
ba60e3cf76
2 changed files with 16 additions and 16 deletions
|
@ -4,21 +4,21 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "blackmagic-desktop-video";
|
pname = "blackmagic-desktop-video";
|
||||||
version = "12.0";
|
version = "12.2.2";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libcxx libcxxabi
|
libcxx libcxxabi
|
||||||
];
|
];
|
||||||
|
|
||||||
src = requireFile {
|
src = requireFile {
|
||||||
name = "Blackmagic_Desktop_Video_Linux_12.1.tar.gz";
|
name = "Blackmagic_Desktop_Video_Linux_12.2.2.tar.gz";
|
||||||
url = "https://www.blackmagicdesign.com/support/download/d99c3a1740b546f094ffbb30ddf1f4c1";
|
url = "https://www.blackmagicdesign.com/support/";
|
||||||
sha256 = "51febf247d22412beea2d637fcc34cc19b1a46df9a5bf0e157d95705bf7c7b73";
|
sha256 = "8bca946bd3f002d2d404a74210c881935351e1a0d03f750559b180fdb439ef35";
|
||||||
};
|
};
|
||||||
|
|
||||||
setSourceRoot = ''
|
setSourceRoot = ''
|
||||||
tar xf Blackmagic_Desktop_Video_Linux_12.1/other/x86_64/desktopvideo-12.1a9-x86_64.tar.gz
|
tar xf Blackmagic_Desktop_Video_Linux_12.2.2/other/x86_64/desktopvideo-12.2.2a6-x86_64.tar.gz
|
||||||
sourceRoot=$NIX_BUILD_TOP/desktopvideo-12.1a9-x86_64
|
sourceRoot=$NIX_BUILD_TOP/desktopvideo-12.2.2a6-x86_64
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "decklink";
|
pname = "decklink";
|
||||||
version = "12.0";
|
version = "12.2.2";
|
||||||
|
|
||||||
src = requireFile {
|
src = requireFile {
|
||||||
name = "Blackmagic_Desktop_Video_Linux_12.1.tar.gz";
|
name = "Blackmagic_Desktop_Video_Linux_12.2.2.tar.gz";
|
||||||
url = "https://www.blackmagicdesign.com/support/download/d99c3a1740b546f094ffbb30ddf1f4c1";
|
url = "https://www.blackmagicdesign.com/support/";
|
||||||
sha256 = "51febf247d22412beea2d637fcc34cc19b1a46df9a5bf0e157d95705bf7c7b73";
|
sha256 = "8bca946bd3f002d2d404a74210c881935351e1a0d03f750559b180fdb439ef35";
|
||||||
};
|
};
|
||||||
|
|
||||||
KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
||||||
|
@ -16,15 +16,15 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||||
|
|
||||||
setSourceRoot = ''
|
setSourceRoot = ''
|
||||||
tar xf Blackmagic_Desktop_Video_Linux_12.1/other/x86_64/desktopvideo-12.1a9-x86_64.tar.gz
|
tar xf Blackmagic_Desktop_Video_Linux_12.2.2/other/x86_64/desktopvideo-12.2.2a6-x86_64.tar.gz
|
||||||
sourceRoot=$NIX_BUILD_TOP/desktopvideo-12.1a9-x86_64/usr/src
|
sourceRoot=$NIX_BUILD_TOP/desktopvideo-12.2.2a6-x86_64/usr/src
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
|
||||||
make -C $sourceRoot/blackmagic-12.1a9 -j$NIX_BUILD_CORES
|
make -C $sourceRoot/blackmagic-12.2.2a6 -j$NIX_BUILD_CORES
|
||||||
make -C $sourceRoot/blackmagic-io-12.1a9 -j$NIX_BUILD_CORES
|
make -C $sourceRoot/blackmagic-io-12.2.2a6 -j$NIX_BUILD_CORES
|
||||||
|
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
@ -32,8 +32,8 @@ stdenv.mkDerivation rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
make -C $KERNELDIR M=$sourceRoot/blackmagic-12.1a9 modules_install
|
make -C $KERNELDIR M=$sourceRoot/blackmagic-12.2.2a6 modules_install
|
||||||
make -C $KERNELDIR M=$sourceRoot/blackmagic-io-12.1a9 modules_install
|
make -C $KERNELDIR M=$sourceRoot/blackmagic-io-12.2.2a6 modules_install
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue