Compare commits
No commits in common. "2c1df87bd55813ab5d59a11ca9e550f520e41327" and "d671185f17e6a41a8945b58cd64c8a39d77a5979" have entirely different histories.
2c1df87bd5
...
d671185f17
Binary file not shown.
@ -1,42 +0,0 @@
|
|||||||
Name: nv-codec-headers
|
|
||||||
Version: 12.1.14.0
|
|
||||||
Release: 1
|
|
||||||
Summary: FFmpeg version of Nvidia Codec SDK headers
|
|
||||||
License: MIT
|
|
||||||
URL: https://github.com/FFmpeg/nv-codec-headers
|
|
||||||
Source0: https://github.com/FFmpeg/nv-codec-headers/archive/n%{version}/%{name}-%{version}.tar.gz
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description
|
|
||||||
FFmpeg version of headers required to interface with Nvidias codec APIs.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n %{name}-%{version}
|
|
||||||
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
|
|
||||||
%make_build PREFIX=%{_prefix} LIBDIR=/share
|
|
||||||
|
|
||||||
%install
|
|
||||||
%make_install PREFIX=%{_prefix} LIBDIR=/share
|
|
||||||
|
|
||||||
%files
|
|
||||||
%doc README
|
|
||||||
%license LICENSE
|
|
||||||
%{_includedir}/ffnvcodec/
|
|
||||||
%{_datadir}/pkgconfig/ffnvcodec.pc
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Fri Dec 29 2023 wangqia <wangqia@uniontech.com> - 12.1.14.0-1
|
|
||||||
- Update to 12.1.14.0
|
|
||||||
|
|
||||||
* Mon Apr 11 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 11.1.5.1-2
|
|
||||||
- Add nv-codec-headers.yaml
|
|
||||||
|
|
||||||
* Wed Jan 12 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 11.1.5.1-1
|
|
||||||
- Update to 11.1.5.1
|
|
||||||
|
|
||||||
* Fri May 07 2021 weidong <weidong@unionetch.com> - 9.1.23.1-1
|
|
||||||
- Initial package.
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
version_control: github
|
|
||||||
src_repo: FFmpeg/nv-codec-headers
|
|
||||||
tag_prefix: ^v
|
|
||||||
seperator: .
|
|
||||||
git_url: https://github.com/FFmpeg/nv-codec-headers.git
|
|
||||||
Loading…
x
Reference in New Issue
Block a user