summaryrefslogtreecommitdiff
path: root/libvpl-gpu.nix
diff options
context:
space:
mode:
authorsss <sss@dark-alexandr.net>2025-07-01 02:03:23 +0300
committersss <sss@dark-alexandr.net>2025-07-01 02:03:23 +0300
commit188f69443c0873970d41217b52e11c46d584c06d (patch)
treeeab9f51137f212c7bfe7e512490748dae371b698 /libvpl-gpu.nix
nix common overlays initial commit
Diffstat (limited to 'libvpl-gpu.nix')
-rw-r--r--libvpl-gpu.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/libvpl-gpu.nix b/libvpl-gpu.nix
new file mode 100644
index 0000000..f87307e
--- /dev/null
+++ b/libvpl-gpu.nix
@@ -0,0 +1,32 @@
+{ inputs }:
+self: super: {
+ libvpl-gpu =
+ with super;
+ stdenv.mkDerivation {
+ name = "libvpl-gpu";
+ version = "git";
+ src = fetchGit {
+ url = "https://github.com/intel/vpl-gpu-rt";
+ ref = "main";
+ # rev = "205bdb828b70439482d96dc398727b975523866c";
+ };
+ nativeBuildInputs = [
+ cmake
+ pkg-config
+ ];
+ buildInputs = with xorg; [
+ self.libva_my
+ libdrm
+ libpciaccess
+ libX11
+ libxcb
+ self.intel-gmmlib
+ # self.libvpl
+ # intel-ocl self.intel-media-sdk
+ ];
+ cmakeFlags = [
+ "-DBUILD_RUNTIME=ON"
+ "-DBUILD_TOOLS=ON"
+ ];
+ };
+}