!2 Update to 11.1.5.1

From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2022-04-13 06:01:33 +00:00 committed by Gitee
commit 6441334303
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 8 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: nv-codec-headers Name: nv-codec-headers
Version: 9.1.23.1 Version: 11.1.5.1
Release: 1 Release: 1
Summary: FFmpeg version of Nvidia Codec SDK headers Summary: FFmpeg version of Nvidia Codec SDK headers
License: MIT License: MIT
URL: https://github.com/FFmpeg/nv-codec-headers URL: https://github.com/FFmpeg/nv-codec-headers
Source0: %url/archive/n%{version}/%{name}-n%{version}.tar.gz Source0: https://github.com/FFmpeg/nv-codec-headers/archive/n%{version}/%{name}-n%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
@ -13,6 +13,8 @@ FFmpeg version of headers required to interface with Nvidias codec APIs.
%prep %prep
%autosetup -n %{name}-n%{version} %autosetup -n %{name}-n%{version}
sed -i -e 's@/include@/include/ffnvcodec@g' ffnvcodec.pc.in sed -i -e 's@/include@/include/ffnvcodec@g' ffnvcodec.pc.in
sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE
sed -i '1,22s/^.\{,3\}//' LICENSE
%build %build
%make_build PREFIX=%{_prefix} LIBDIR=/share %make_build PREFIX=%{_prefix} LIBDIR=/share
@ -22,9 +24,13 @@ sed -i -e 's@/include@/include/ffnvcodec@g' ffnvcodec.pc.in
%files %files
%doc README %doc README
%license LICENSE
%{_includedir}/ffnvcodec/ %{_includedir}/ffnvcodec/
%{_datadir}/pkgconfig/ffnvcodec.pc %{_datadir}/pkgconfig/ffnvcodec.pc
%changelog %changelog
* Wed Jan 12 2022 Leigh Scott <leigh123linux@gmail.com> - 11.1.5.1-1
- Update to 11.1.5.1
* Fri May 07 2021 weidong <weidong@unionetch.com> - 9.1.23.1-1 * Fri May 07 2021 weidong <weidong@unionetch.com> - 9.1.23.1-1
- Initial package. - Initial package.