Compare commits
10 Commits
d671185f17
...
2c1df87bd5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c1df87bd5 | ||
|
|
93be08a8fa | ||
|
|
435fdf2824 | ||
|
|
e210741b23 | ||
|
|
6611fba1c5 | ||
|
|
30b750307e | ||
|
|
6441334303 | ||
|
|
499fc06bbd | ||
|
|
bbd592c7b6 | ||
|
|
fa9670dfc3 |
BIN
nv-codec-headers-12.1.14.0.tar.gz
Normal file
BIN
nv-codec-headers-12.1.14.0.tar.gz
Normal file
Binary file not shown.
42
nv-codec-headers.spec
Normal file
42
nv-codec-headers.spec
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
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.
|
||||||
5
nv-codec-headers.yaml
Normal file
5
nv-codec-headers.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
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