!1 Initial package.

From: @weidongkl
Reviewed-by: @yeqinglong01
Signed-off-by: @yeqinglong01
This commit is contained in:
openeuler-ci-bot 2021-05-08 13:11:54 +08:00 committed by Gitee
commit bbd592c7b6
2 changed files with 30 additions and 0 deletions

Binary file not shown.

30
nv-codec-headers.spec Normal file
View 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.