[packages/nv-codec-headers] - new
qboosh
qboosh at pld-linux.org
Sun Apr 28 11:33:59 CEST 2019
commit 422707abe3ac6b00e75719215583b7e8ff16485b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Apr 28 11:34:13 2019 +0200
- new
nv-codec-headers.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
---
diff --git a/nv-codec-headers.spec b/nv-codec-headers.spec
new file mode 100644
index 0000000..b21090f
--- /dev/null
+++ b/nv-codec-headers.spec
@@ -0,0 +1,53 @@
+Summary: FFmpeg version of headers for NVidia's codec APIs (ffnvcodec)
+Summary(pl.UTF-8): Wersja FFmpeg nagłówków do API kodeków firmy NVidia (ffnvcodec)
+Name: nv-codec-headers
+Version: 9.0.18.1
+Release: 1
+License: MIT
+Group: Development/Libraries
+# originally https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
+# but use github mirror for stable tarballs
+#Source0Download: https://github.com/FFmpeg/nv-codec-headers/releases
+Source0: https://github.com/FFmpeg/nv-codec-headers/releases/download/n%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 59bbe8fdf2ba3e3fe307d32046cfb9eb
+URL: https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
+BuildRequires: rpmbuild(macros) >= 1.446
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FFmpeg version of headers for NVidia's codec APIs.
+
+This version corresponds to Video Codec SDK version 9.0.18. Required
+minimal NVidia Linux drivers version is 418.30.
+
+%description -l pl.UTF-8
+Wersja FFmpeg nagłówków do API kodeków firmy NVidia.
+
+Ta wersja odpowiada Video Codec SDK w wersji 9.0.18. Wymagana
+minimalna wersja sterowników firmy NVidia dla Linuksa to 418.30.
+
+%prep
+%setup -q -n %{name}-n%{version}
+
+%build
+%{__make} \
+ PREFIX=%{_prefix}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+# pass LIBDIR (currently used for .pc file only) = "share" so that package can be noarch
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ PREFIX=%{_prefix} \
+ LIBDIR=share
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_includedir}/ffnvcodec
+%{_npkgconfigdir}/ffnvcodec.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nv-codec-headers.git/commitdiff/422707abe3ac6b00e75719215583b7e8ff16485b
More information about the pld-cvs-commit
mailing list