[build] type = "makefile" [build.flags] makefile_commands = [ "make PREFIX=/usr", "sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE", '''sed -i '1,22s/^.\{,3\}//' LICENSE''', ] makefile_install_commands = ['make PREFIX=/usr DESTDIR="$DESTDIR" install'] [package] description = "FFmpeg version of headers required to interface with Nvidias codec APIs" homepage = "https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git" license = "MIT" name = "ffnvcodec-headers" version = "13.0.19.0" [[source]] extract_dir = "$name-$version" url = "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git#e844e5b26f46bb77479f063029595293aa8f812d"