From d3a9121424f60a336cdbaa713651fd8c6470c6c5 Mon Sep 17 00:00:00 2001
From: Philipp Jungkamp
Date: Tue, 4 Jun 2024 13:59:26 +0200
Subject: [PATCH] onevpl-intel-gpu: Rename to vpl-gpu-rt
Move the `package.nix` file from `pkgs/by-name/on/onevpl-intel-gpu` to
`pkgs/by-name/vp/vpl-gpu-rt`. Add an `onevpl-intel-gpu` alias for backwards
compatability.
Intel has merged the `oneapi-src` GitHub organization into the `intel`
namespace. `oneVPL-intel-gpu` has been renamed to `vpl-gpu-rt` as part of
this move. The repo at https://github.com/oneapi-src/oneVPL-intel-gpu now
redirects to https://github.com/intel/vpl-gpu-rt.
---
.../{on/onevpl-intel-gpu => vp/vpl-gpu-rt}/package.nix | 10 +++++-----
pkgs/top-level/aliases.nix | 1 +
2 files changed, 6 insertions(+), 5 deletions(-)
rename pkgs/by-name/{on/onevpl-intel-gpu => vp/vpl-gpu-rt}/package.nix (76%)
diff --git a/pkgs/by-name/on/onevpl-intel-gpu/package.nix b/pkgs/by-name/vp/vpl-gpu-rt/package.nix
similarity index 76%
rename from pkgs/by-name/on/onevpl-intel-gpu/package.nix
rename to pkgs/by-name/vp/vpl-gpu-rt/package.nix
index da1e611e8d5c..f7da2d46a136 100644
--- a/pkgs/by-name/on/onevpl-intel-gpu/package.nix
+++ b/pkgs/by-name/vp/vpl-gpu-rt/package.nix
@@ -8,14 +8,14 @@
}:
stdenv.mkDerivation rec {
- pname = "onevpl-intel-gpu";
+ pname = "vpl-gpu-rt";
version = "24.2.2";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
- owner = "oneapi-src";
- repo = "oneVPL-intel-gpu";
+ owner = "intel";
+ repo = "vpl-gpu-rt";
rev = "intel-onevpl-${version}";
sha256 = "sha256-JtvRh4p4wPRnqFfE86tJW+yS9AKMoi3TPZO+LZ2Q7Mo=";
};
@@ -26,8 +26,8 @@ stdenv.mkDerivation rec {
meta = {
description = "oneAPI Video Processing Library Intel GPU implementation";
- homepage = "https://github.com/oneapi-src/oneVPL-intel-gpu";
- changelog = "https://github.com/oneapi-src/oneVPL-intel-gpu/releases/tag/${src.rev}";
+ homepage = "https://github.com/intel/vpl-gpu-rt";
+ changelog = "https://github.com/intel/vpl-gpu-rt/releases/tag/${src.rev}";
license = [ lib.licenses.mit ];
platforms = lib.platforms.linux;
# CMake adds x86 specific compiler flags in