From 336efca84ce548ea8cb92144a529553131dd16fa Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 15 May 2026 13:58:31 -0500 Subject: [PATCH] chore: Remove libva-nvidia-driver (#12300) (#12309) (cherry picked from commit 61d844c8666f166f18fddad4c1e4ded3277e55ab) Co-authored-by: Gilver --- .../nvidia/libva-nvidia-driver/anda.hcl | 11 --- .../libva-nvidia-driver.spec | 76 ------------------- .../nvidia/libva-nvidia-driver/update.rhai | 8 -- 3 files changed, 95 deletions(-) delete mode 100644 anda/system/nvidia/libva-nvidia-driver/anda.hcl delete mode 100644 anda/system/nvidia/libva-nvidia-driver/libva-nvidia-driver.spec delete mode 100644 anda/system/nvidia/libva-nvidia-driver/update.rhai diff --git a/anda/system/nvidia/libva-nvidia-driver/anda.hcl b/anda/system/nvidia/libva-nvidia-driver/anda.hcl deleted file mode 100644 index 007aa44ec7..0000000000 --- a/anda/system/nvidia/libva-nvidia-driver/anda.hcl +++ /dev/null @@ -1,11 +0,0 @@ -project "pkg" { - rpm { - spec = "libva-nvidia-driver.spec" - } - arches = ["x86_64", "aarch64", "i386"] - labels = { - subrepo = "nvidia" - mock = 1 - nightly = 1 - } -} diff --git a/anda/system/nvidia/libva-nvidia-driver/libva-nvidia-driver.spec b/anda/system/nvidia/libva-nvidia-driver/libva-nvidia-driver.spec deleted file mode 100644 index 6e91d4590e..0000000000 --- a/anda/system/nvidia/libva-nvidia-driver/libva-nvidia-driver.spec +++ /dev/null @@ -1,76 +0,0 @@ -%global commit0 0ba758d54591bf90133f63ca8b29796d51ec1761 -%global date 20260415 -%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) - -%global upstream_name nvidia-vaapi-driver - -%ifarch %ix86 -%global build_cflags %{__build_flags_lang_c} %{?_distro_extra_cflags} -Wno-error=format= -%endif - -Name: libva-nvidia-driver -Epoch: 1 -Version: 0.0.16%{!?tag:^%{date}git%{shortcommit0}} -Release: 1%{?dist} -Summary: VA-API user mode driver for Nvidia GPUs -License: MIT -URL: https://github.com/elFarto/%{upstream_name} - -%if "%{?shortcommit0}" -Source0: %{url}/archive/%{commit0}/%{upstream_name}-%{commit0}.tar.gz#/%{upstream_name}-%{shortcommit0}.tar.gz -%else -Source0: %{url}/archive/v%{version}/%{upstream_name}-%{version}.tar.gz -%endif - -BuildRequires: gcc -BuildRequires: meson >= 0.58.0 -BuildRequires: pkgconfig(egl) -BuildRequires: pkgconfig(ffnvcodec) >= 11.1.5.1 -%if 0%{?fedora} || 0%{?rhel} >= 9 -BuildRequires: pkgconfig(gstreamer-codecparsers-1.0) -%endif -BuildRequires: pkgconfig(libdrm) >= 2.4.60 -BuildRequires: pkgconfig(libva) >= 1.8.0 - -Conflicts: libva-vdpau-driver%{?_isa} -Obsoletes: %{upstream_name} < 0.0.10-3 -Provides: %{upstream_name} = %{version}-%{release} -# Alternative name that better describes the API involved -Provides: nvdec-vaapi-driver = %{version}-%{release} - -Requires: mesa-filesystem -%if 0%{?fedora} -%ifarch x86_64 -Requires: (%{name}(x86-32) = %{?epoch:%{epoch}:}%{version}-%{release} if steam(x86-32)) -%endif -%endif - -%description -This is a VA-API implementation that uses NVDEC as a backend. This -implementation is specifically designed to be used by Firefox for accelerated -decode of web content, and may not operate correctly in other applications. - -%prep -%if "%{?shortcommit0}" -%autosetup -p1 -n %{upstream_name}-%{commit0} -%else -%autosetup -p1 -n %{upstream_name}-%{version} -%endif - -%build -%meson -%meson_build - -%install -%meson_install - -%check -%meson_test - -%files -%license COPYING -%doc README.md -%{_libdir}/dri/nvidia_drv_video.so - -%changelog -%autochangelog diff --git a/anda/system/nvidia/libva-nvidia-driver/update.rhai b/anda/system/nvidia/libva-nvidia-driver/update.rhai deleted file mode 100644 index fb6821cfbc..0000000000 --- a/anda/system/nvidia/libva-nvidia-driver/update.rhai +++ /dev/null @@ -1,8 +0,0 @@ -rpm.global("commit0", gh_commit("elFarto/nvidia-vaapi-driver")); -if rpm.changed() { - let v = gh("elFarto/nvidia-vaapi-driver"); - v.crop(1); - v += "%{!?tag:^%{date}git%{shortcommit0}}"; - rpm.version(v); - rpm.global("date", date()); -}