NAME="nv-codec-headers" VERSION=11.1.5.2 RELEASE=1 LICENSE="MIT" CATEGORY="Devel" SUMMARY="FFmpeg version of Nvidia Codec SDK headers" DESCRIPTION="FFmpeg version of headers required to interface with Nvidias codec APIs. This package provides headers which loads corresponding dlls dynamically. The codec itself is implemented in the dlls and the Nvidia GPU." HOMEPAGE="https://github.com/FFmpeg/nv-codec-headers" ARCH="noarch" # This is noarch because it's just header files. SRC_URI="https://github.com/FFmpeg/nv-codec-headers/archive/refs/tags/n${VERSION}.tar.gz" SRC_DIR="${NAME}-n${VERSION}" src_compile() { cd ${B} ln -sf ${S}/Makefile . ln -sf ${S}/ffnvcodec.pc.in . ln -sf ${S}/include . cygmake }