Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ checksums = ['28df33d400a1c1c1b20d07a99197809a3b88ef765f5f07dc1ff067fac64c59d6']
builddependencies = [
('binutils', '2.38'),
('pkgconf', '1.8.0'),
('ffnvcodec', '11.1.5.2', '', SYSTEM), # optional nvenc/dec support
]
dependencies = [
('NASM', '2.15.05'),
Expand Down
32 changes: 32 additions & 0 deletions easybuild/easyconfigs/f/ffnvcodec/ffnvcodec-11.1.5.2.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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 = [None]

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'