Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37559601
en ru br
ALT Linux repos
S:12.0.16.0-alt1

Group :: Development/C
RPM: nv-codec-headers

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: nv-codec-headers
Version: 12.0.16.0
Release: alt1
Group: Development/C
License: MIT
Summary: FFmpeg version of headers required to interface with Nvidias codec APIs
Url: https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git

BuildArch: noarch

Source: %name-%version.tar
Patch: %name-%version-%release.patch

%description
FFmpeg version of headers required to interface with Nvidias codec APIs

%prep
%setup
%patch -p1

%build
make PREFIX=/usr .
sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE # Extract license
sed -i '1,22s/^.\{,3\}//' LICENSE # Delete C comments

%install
make PREFIX=/usr LIBDIR=share DESTDIR=%buildroot install

%files
%_includedir/*
%_datadir/pkgconfig/*.pc
%doc LICENSE README

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin