!1 Initial package.
From: @weidongkl Reviewed-by: @yeqinglong01 Signed-off-by: @yeqinglong01
This commit is contained in:
commit
bbd592c7b6
BIN
nv-codec-headers-n9.1.23.1.tar.gz
Normal file
BIN
nv-codec-headers-n9.1.23.1.tar.gz
Normal file
Binary file not shown.
30
nv-codec-headers.spec
Normal file
30
nv-codec-headers.spec
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
Name: nv-codec-headers
|
||||||
|
Version: 9.1.23.1
|
||||||
|
Release: 1
|
||||||
|
Summary: FFmpeg version of Nvidia Codec SDK headers
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/FFmpeg/nv-codec-headers
|
||||||
|
Source0: %url/archive/n%{version}/%{name}-n%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
FFmpeg version of headers required to interface with Nvidias codec APIs.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-n%{version}
|
||||||
|
sed -i -e 's@/include@/include/ffnvcodec@g' ffnvcodec.pc.in
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make_build PREFIX=%{_prefix} LIBDIR=/share
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install PREFIX=%{_prefix} LIBDIR=/share
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README
|
||||||
|
%{_includedir}/ffnvcodec/
|
||||||
|
%{_datadir}/pkgconfig/ffnvcodec.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri May 07 2021 weidong <weidong@unionetch.com> - 9.1.23.1-1
|
||||||
|
- Initial package.
|
||||||
Loading…
x
Reference in New Issue
Block a user