Skip to content

Commit

Permalink
add libheif, libde265 for recent GCCcore versions as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jfgrimm committed Dec 18, 2024
1 parent 3e10724 commit 6a3eb93
Show file tree
Hide file tree
Showing 6 changed files with 160 additions and 0 deletions.
2 changes: 2 additions & 0 deletions easybuild/easyconfigs/j/JasPer/JasPer-4.0.0-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ builddependencies = [
('CMake', '3.27.6'),
]

dependencies = [('libheif', '1.19.5')]

configopts = '-DJAS_ENABLE_DOC=OFF '

sanity_check_paths = {
Expand Down
2 changes: 2 additions & 0 deletions easybuild/easyconfigs/j/JasPer/JasPer-4.2.4-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ builddependencies = [
('CMake', '3.29.3'),
]

dependencies = [('libheif', '1.19.5')]

configopts = '-DJAS_ENABLE_DOC=OFF '

sanity_check_paths = {
Expand Down
34 changes: 34 additions & 0 deletions easybuild/easyconfigs/l/libde265/libde265-1.0.15-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
# Author: Denis Kristak
easyblock = 'CMakeMake'

name = 'libde265'
version = '1.0.15'

homepage = 'https://github.com/strukturag/libde265'
description = "libde265 is an open source implementation of the h.265 video codec"

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

source_urls = ['https://github.com/strukturag/libde265/releases/download/v%(version)s/']
sources = [SOURCE_TAR_GZ]
checksums = ['00251986c29d34d3af7117ed05874950c875dd9292d016be29d3b3762666511d']

builddependencies = [
('binutils', '2.40'),
('CMake', '3.27.6'),
]

configopts = "-DENABLE_DECODER=ON -DENABLE_ENCODER=ON"

sanity_check_paths = {
'files': ['bin/dec265', 'bin/enc265', 'lib/libde265.%s' % SHLIB_EXT, 'lib/pkgconfig/libde265.pc'],
'dirs': ['include/libde265', 'lib/cmake/libde265'],
}

sanity_check_commands = [
"dec265 --help",
"enc265 --help",
]

moduleclass = 'tools'
34 changes: 34 additions & 0 deletions easybuild/easyconfigs/l/libde265/libde265-1.0.15-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
# Author: Denis Kristak
easyblock = 'CMakeMake'

name = 'libde265'
version = '1.0.15'

homepage = 'https://github.com/strukturag/libde265'
description = "libde265 is an open source implementation of the h.265 video codec"

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = ['https://github.com/strukturag/libde265/releases/download/v%(version)s/']
sources = [SOURCE_TAR_GZ]
checksums = ['00251986c29d34d3af7117ed05874950c875dd9292d016be29d3b3762666511d']

builddependencies = [
('binutils', '2.42'),
('CMake', '3.29.3'),
]

configopts = "-DENABLE_DECODER=ON -DENABLE_ENCODER=ON"

sanity_check_paths = {
'files': ['bin/dec265', 'bin/enc265', 'lib/libde265.%s' % SHLIB_EXT, 'lib/pkgconfig/libde265.pc'],
'dirs': ['include/libde265', 'lib/cmake/libde265'],
}

sanity_check_commands = [
"dec265 --help",
"enc265 --help",
]

moduleclass = 'tools'
44 changes: 44 additions & 0 deletions easybuild/easyconfigs/l/libheif/libheif-1.19.5-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
# Author: Denis Kristak
easyblock = 'CMakeMake'

name = 'libheif'
version = '1.19.5'

homepage = 'https://github.com/strukturag/libheif'
description = "libheif is an HEIF and AVIF file format decoder and encoder"

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

source_urls = ['https://github.com/strukturag/libheif/releases/download/v%(version)s/']
sources = [SOURCE_TAR_GZ]
checksums = ['d3cf0a76076115a070f9bc87cf5259b333a1f05806500045338798486d0afbaf']

builddependencies = [
('binutils', '2.42'),
('CMake', '3.27.6'),
('Doxygen', '1.9.8'),
]

dependencies = [
('libpng', '1.6.40'),
('libjpeg-turbo', '3.0.1'),
('libde265', '1.0.15'),
('x265', '3.5'),
('Gdk-Pixbuf', '2.42.10'),
]

# build both static and shared libraries
configopts = [
"-DBUILD_SHARED_LIBS=OFF",
"-DBUILD_SHARED_LIBS=ON",
]

sanity_check_paths = {
'files': ['bin/heif-info', 'lib/libheif.a', 'lib/libheif.%s' % SHLIB_EXT, 'lib/pkgconfig/libheif.pc'],
'dirs': ['include/libheif'],
}

sanity_check_commands = ["heif-info --help"]

moduleclass = 'tools'
44 changes: 44 additions & 0 deletions easybuild/easyconfigs/l/libheif/libheif-1.19.5-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
# Author: Denis Kristak
easyblock = 'CMakeMake'

name = 'libheif'
version = '1.19.5'

homepage = 'https://github.com/strukturag/libheif'
description = "libheif is an HEIF and AVIF file format decoder and encoder"

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = ['https://github.com/strukturag/libheif/releases/download/v%(version)s/']
sources = [SOURCE_TAR_GZ]
checksums = ['d3cf0a76076115a070f9bc87cf5259b333a1f05806500045338798486d0afbaf']

builddependencies = [
('binutils', '2.42'),
('CMake', '3.29.3'),
('Doxygen', '1.11.0'),
]

dependencies = [
('libpng', '1.6.43'),
('libjpeg-turbo', '3.0.1'),
('libde265', '1.0.15'),
('x265', '3.6'),
('Gdk-Pixbuf', '2.42.11'),
]

# build both static and shared libraries
configopts = [
"-DBUILD_SHARED_LIBS=OFF",
"-DBUILD_SHARED_LIBS=ON",
]

sanity_check_paths = {
'files': ['bin/heif-info', 'lib/libheif.a', 'lib/libheif.%s' % SHLIB_EXT, 'lib/pkgconfig/libheif.pc'],
'dirs': ['include/libheif'],
}

sanity_check_commands = ["heif-info --help"]

moduleclass = 'tools'

0 comments on commit 6a3eb93

Please sign in to comment.