mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-26 05:20:39 +00:00
c72c975c16
* add nvidia-kmod * add settings, xsettings, mock label * oops * add nvidia setting assets * add libva-nvidia-driver * add: nvidia-kmod-common w/ properietary defaults * download the x86 version of the driver package when running common * add nvidia-driver package * I don't think we actually need i386 * add a readme, fix build error and clean up script * add back the accursed tarball script, we can port the thing later * add nvidia-modprobe * update metadata, add nvidia-persistenced * add update scripts to nvidia drivers * add update scripts for every cuda package * make the component fetch a separate function for memoization * cusparse * cusparselt is not from cuda toolkit * add nvidia subrepo label for multirepo * set version for nvidia tarball * nvidia-driver: download tarballs on build time * clean up inline prep script * NVProf is dropped in Jetpack 5, so there's no ARM version of it.
94 lines
2.8 KiB
RPMSpec
94 lines
2.8 KiB
RPMSpec
%global commit0 259b7b7b7c6891805fbfb8f799d12ea03bd260f7
|
|
%global date 20241108
|
|
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
|
|
%global upstream_name nvidia-vaapi-driver
|
|
|
|
Name: libva-nvidia-driver
|
|
Epoch: 1
|
|
Version: 0.0.13%{!?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
|
|
|
|
%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
|
|
* Sun Nov 10 2024 Simone Caronni <negativo17@gmail.com> - 1:0.0.13^20241108git259b7b7-1
|
|
- Update to latest snapshot.
|
|
- Drop no longer needed patch.
|
|
|
|
* Fri Oct 04 2024 Simone Caronni <negativo17@gmail.com> - 1:0.0.12^20240909git68efa33-2
|
|
- Update to latest snapshot.
|
|
- Add patch for 560/Wayland.
|
|
|
|
* Mon May 06 2024 Simone Caronni <negativo17@gmail.com> - 1:0.0.12-1
|
|
- Update to 0.0.12.
|
|
- Trim changelog.
|
|
- Clean up SPEC file, allow it to build for EL8.
|
|
|
|
* Wed Nov 08 2023 Simone Caronni <negativo17@gmail.com> - 0.0.11-1
|
|
- Update to 0.0.11.
|
|
- Rename to libva-nvidia-driver, as in main Fedora repository.
|
|
|
|
* Wed Jun 28 2023 Simone Caronni <negativo17@gmail.com> - 0.0.10-1
|
|
- Update to 0.0.10.
|
|
|
|
* Mon Mar 20 2023 Simone Caronni <negativo17@gmail.com> - 0.0.9-1.20230319gitc0a7f54
|
|
- Update to latest snapshot.
|
|
|
|
* Mon Feb 06 2023 Simone Caronni <negativo17@gmail.com> - 0.0.8-2.20230205git17c62b8
|
|
- Add latest fixes.
|
|
|
|
* Sat Feb 04 2023 Simone Caronni <negativo17@gmail.com> - 0.0.8-1.20230131git2bb71a5
|
|
- Rebase to latest snapshot. |