# IT4Innovations # LK 2024 easyblock = 'ConfigureMake' name = 'ffnvcodec' version = '11.1.5.2' homepage = 'https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git' description = """FFmpeg nvidia headers. Adds support for nvenc and nvdec. Requires Nvidia GPU and drivers to be present (picked up dynamically).""" toolchain = SYSTEM sources = [{ 'git_config': { 'url': 'https://git.videolan.org/git/ffmpeg/', 'repo_name': 'nv-codec-headers', 'tag': 'n%(version)s', }, 'filename': SOURCE_TAR_GZ, }] checksums = ['4f89ae923c20d9e2a9175b3c5b2c8cc5df1e076c2f3899227d3b8a9d89eafcc8'] skipsteps = ['configure'] preinstallopts = 'sed -i "s|PREFIX =.*|PREFIX ?= %(installdir)s|" Makefile && ' sanity_check_paths = { 'files': ['include/ffnvcodec/nvEncodeAPI.h', 'lib/pkgconfig/ffnvcodec.pc'], 'dirs': [], } moduleclass = 'lib'