package created using the webbuild interface [release 12.2.72.0-1mamba;Thu Oct 24 2024]
This commit is contained in:
parent
f8b4c8eb90
commit
83eebbb859
@ -1,2 +1,4 @@
|
||||
# nv-codec-headers
|
||||
|
||||
FFmpeg version of headers required to interface with Nvidias codec APIs.
|
||||
|
||||
|
43
nv-codec-headers.spec
Normal file
43
nv-codec-headers.spec
Normal file
@ -0,0 +1,43 @@
|
||||
Name: nv-codec-headers
|
||||
Version: 12.2.72.0
|
||||
Release: 1mamba
|
||||
Summary: FFmpeg version of headers required to interface with Nvidias codec APIs
|
||||
Group: Development/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git
|
||||
Source: https://git.videolan.org/git/ffmpeg/nv-codec-headers.git/n%{version}/nv-codec-headers-%{version}.tar.bz2
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
%description
|
||||
FFmpeg version of headers required to interface with Nvidias codec APIs.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
# Extract license
|
||||
sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE
|
||||
sed -i '1,22s/^.\{,3\}//' LICENSE # Delete C comments
|
||||
|
||||
%build
|
||||
%make PREFIX=%{_prefix} LIBDIR=%{_lib}
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall PREFIX=%{_prefix} LIBDIR=%{_lib}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/ffnvcodec
|
||||
%{_includedir}/ffnvcodec/*.h
|
||||
%{_libdir}/pkgconfig/ffnvcodec.pc
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Thu Oct 24 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 12.2.72.0-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user