Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add libheif dep to JasPer #22055

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
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 @@ -24,6 +24,8 @@ builddependencies = [
('CMake', '3.20.1'),
]

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

configopts = '-DJAS_ENABLE_DOC=OFF '

sanity_check_paths = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ builddependencies = [
('CMake', '3.21.1'),
]

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

configopts = '-DJAS_ENABLE_DOC=OFF '

sanity_check_paths = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ builddependencies = [
('CMake', '3.23.1'),
]

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

configopts = '-DJAS_ENABLE_DOC=OFF '

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

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

configopts = '-DJAS_ENABLE_DOC=OFF '

sanity_check_paths = {
Expand Down
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'
Loading