commit 237885acc38931964874592341172128e7a350ea
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Jun 21 10:59:52 2022 +0200
Initial import
.gitignore | 1 +
nvidia-vaapi-driver.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 60 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bdbc4ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+nvidia-vaapi-driver-*.tar.gz
diff --git a/nvidia-vaapi-driver.spec b/nvidia-vaapi-driver.spec
new file mode 100644
index 0000000..205c34f
--- /dev/null
+++ b/nvidia-vaapi-driver.spec
@@ -0,0 +1,58 @@
+Name: nvidia-vaapi-driver
+Version: 0.0.6
+Release: 10%{?dist}
+Summary: VA-API implementation that uses NVDEC as a backend
+
+License: MIT
+URL:
https://github.com/elFarto/nvidia-vaapi-driver/
+Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+
+# Nvidia driver is only available on theses arches
+ExclusiveArch: x86_64 i686 aarch64 ppc64le
+
+BuildRequires: libva-devel
+BuildRequires: gcc
+BuildRequires: meson
+BuildRequires: pkgconfig(egl)
+BuildRequires: pkgconfig(ffnvcodec)
+BuildRequires: pkgconfig(gstreamer-codecparsers-1.0)
+
+Requires: mesa-filesystem%{?_isa}
+
+# The nvidia_drv_video.so symlink is also provided by theses packages
+Conflicts: libva-vdpau-driver%{?_isa}
+Conflicts: libva-vdpau-driver-vp9%{?_isa}
+# Alternative name that better describes the API involved
+Provides: nvdec-vaapi-driver = %{version}-%{release}
+
+
+Requires: (xorg-x11-drv-nvidia-cuda-libs%{_isa} or
xorg-x11-drv-nvidia-470xx-cuda-libs%{_isa})
+
+%description
+This is a VA-API implementation that uses NVDEC as a backend.
+
+%prep
+%autosetup -p1
+
+
+%build
+%meson
+%meson_build
+
+
+%install
+%meson_install
+
+
+%files
+%license COPYING
+%doc README.md
+%{_libdir}/dri/nvidia_drv_video.so
+
+
+%changelog
+* Mon May 30 2022 Nicolas Chauvet <kwizart(a)gmail.com> - 0.0.6-10
+- Update to 0.0.6
+
+* Sat Feb 12 2022 Nicolas Chauvet <kwizart(a)gmail.com> - 0.0.5-1
+- Initial spec file
diff --git a/sources b/sources
index e69de29..912ba5d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (nvidia-vaapi-driver-0.0.6.tar.gz) =
6f24195c4282d0effa6642a07a49da02ebcaaa8799f6a12dae84aab245d79ced58ecdd50bd84db1ec7311f7e68b80c2b7ca98214bafecc58cc95b590cfdad82a