]> git.pld-linux.org Git - packages/nv-codec-headers.git/commitdiff
- new auto/th/nv-codec-headers-9.0.18.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Apr 2019 09:34:13 +0000 (11:34 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Apr 2019 09:34:13 +0000 (11:34 +0200)
nv-codec-headers.spec [new file with mode: 0644]

diff --git a/nv-codec-headers.spec b/nv-codec-headers.spec
new file mode 100644 (file)
index 0000000..b21090f
--- /dev/null
@@ -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
This page took 0.334735 seconds and 4 git commands to generate.