libsndfile/1.0.31-cpeCray-21.06 (libsndfile-1.0.31-cpeCray-21.06.eb)
This software is archived in the LUMI-SoftwareStack GitHub repository as easybuild/easyconfigs/__archive__/l/libsndfile/libsndfile-1.0.31-cpeCray-21.06.eb. The corresponding module would be libsndfile/1.0.31-cpeCray-21.06.
# Developed by Kurt Lust, UAntwerp
easyblock = 'ConfigureMake'
local_FLAC_version = '1.3.3' # https://xiph.org/downloads/ or https://github.com/xiph/flac/releases
local_libsndfile_version = '1.0.31' # https://github.com/libsndfile/libsndfile/releases
local_libogg_version = '1.3.5' # https://www.xiph.org/downloads/ or https://github.com/xiph/ogg/releases
local_libopus_version = '1.3.1' # http://opus-codec.org/downloads/ or https://github.com/xiph/opus/releases
local_libvorbis_version = '1.3.7' # https://xiph.org/downloads/ or https://github.com/xiph/vorbis/releases
name = 'libsndfile'
version = local_libsndfile_version
homepage = 'http://www.mega-nerd.com/libsndfile/'
whatis = [
"Description: Library and tools encapsulating various audio codecs",
]
description = """
Libsndfile is a C library for reading and writing files containing sampled sound
(such as MS Windows WAV and the Apple/SGI AIFF format) through one standard
library interface. It is released in source code format under the Gnu Lesser
General Public License.
The library was written to compile and run on a Linux system but should compile
and run on just about any Unix (including MacOS X). There are also pre-compiled
binaries available for 32 and 64 bit windows.
It was designed to handle both little-endian (such as WAV) and big-endian (such
as AIFF) data, and to compile and run correctly on little-endian (such as Intel
and DEC/Compaq Alpha) processor systems as well as big-endian processor systems
such as Motorola 68k, Power PC, MIPS and Sparc. Hopefully the design of the
library will also make it easy to extend for reading and writing new sound file
formats.
This module includes support for the FLAC, Opus and OggVorbis codecs, but does
not include support for the obsoleet Speex codec. It also does not include support
for ALSA and SQLite.
"""
docurls = [
'Web-based API documentation on http://www.mega-nerd.com/libsndfile/api.html',
'Manual pages for the tools in section 1',
]
toolchain = {'name': 'cpeCray', 'version': '21.06'}
toolchainopts = {'pic': True}
# https://github.com/erikd/libsndfile/archive/1.0.28.zip
#sources = [ {
# 'download_filename': '%(version)s.zip',
# 'filename': 'libsndfile-%(version)s.zip',
# 'source_urls': ['https://github.com/erikd/libsndfile/archive/']
#} ]
source_urls = ['https://github.com/libsndfile/libsndfile/releases/download/%(version)s/']
sources = [SOURCE_TAR_BZ2]
checksums = ['a8cfb1c09ea6e90eff4ca87322d4168cdbe5035cb48717b40bf77e751cc02163']
builddependencies = [ # Create a reproducible build environment.
('buildtools', '%(toolchain_version)s', '', True),
]
dependencies = [
( 'libopus', local_libopus_version),
( 'libogg', local_libogg_version),
( 'libvorbis', local_libvorbis_version),
( 'FLAC', local_FLAC_version),
]
configopts = '--disable-alsa --disable-sqlite --disable-octave '
sanity_check_paths = {
'files': ['include/sndfile.h', 'lib/libsndfile.a', 'lib/libsndfile.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'data'