Nicolas Benes 2024-10-08 20:25:43 +02:00
parent 01b7c60b9c
commit 2e279ed7ee

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "libvpl"; pname = "libvpl";
version = "2.10.1"; version = "2.13.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "intel"; owner = "intel";
repo = "libvpl"; repo = "libvpl";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-2yfJo4iwI/h0CJ+mJJ3cAyG5S7KksUibwJHebF3MR+E="; hash = "sha256-H+pRdpk1B/QgsXaTxhQfm3JW5Plgz4esrUV1kKfjY1s=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -24,13 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
]; ];
cmakeFlags = [ cmakeFlags = [
"-DENABLE_DRI3=ON" (lib.cmakeBool "BUILD_TESTS" finalAttrs.finalPackage.doCheck)
"-DENABLE_DRM=ON"
"-DENABLE_VA=ON"
"-DENABLE_WAYLAND=ON"
"-DENABLE_X11=ON"
"-DINSTALL_EXAMPLE_CODE=OFF"
"-DBUILD_TOOLS=OFF"
]; ];
patches = [ patches = [
@ -40,6 +34,8 @@ stdenv.mkDerivation (finalAttrs: {
}) })
]; ];
doCheck = true;
meta = with lib; { meta = with lib; {
description = "Intel Video Processing Library"; description = "Intel Video Processing Library";
homepage = "https://intel.github.io/libvpl/"; homepage = "https://intel.github.io/libvpl/";