7b93abb894
Version 1.0.31 (2021-01-24) * The releaser of libsndfile starting from this version is the libsndfile team member @SoapGentoo, see AUTHORS for details. * Implement fast SSE2 optimized psf_lrintf() and psf_lrintf() functions to improve perfomance when libsndfile is built using Visual C++ (especially) and other compilers on x86 and AMD64 platforms. See also description of ENABLE_SSE2 CMake option in README.md. * Documentation: * Move site to new URL: http://libsndfile.github.io/libsndfile/ * Convert documentation pages from HTML to Markdown * Use GitHub's Jekyll static site generator to generate static HTML pages for site * Fix api.md table error, thanks to @zodf0055980 * Other docuemntation fixes and updates * Change CMake's project name from sndfile to libsndfile as it should be. * Change behaviour of ENABLE_STATIC_RUNTIME option. In short: * You can use ENABLE_STATIC_RUNTIME for CMake >= 3.15 without error. * You can use your our method to set MSVC runtime library flags if none of ENABLE_STATIC_RUNTIME and CMAKE_MSVC_RUNTIME_LIBRARY were set. Advanced information: * If this option is defined (set to ON or OFF), set CMP0091 policy to OLD (we handle MSVC runtime library flags using compiler flags), set corresponding compiler flags for user. * NEW: If this option is not defined, set CMP0091 policy to OLD (we handle MSVC runtime library flags using compiler flags), don't touch compiler options, allow user to set it manually. * NEW: If new CMake option CMAKE_MSVC_RUNTIME_LIBRARY is set, change CMP0091 policy to NEW (we handle MSVC runtime library flags using that option), don't touch compiler flags. * NEW: If both ENABLE_STATIC_RUNTIME and CMAKE_MSVC_RUNTIME_LIBRARY are set, terminate configuration with fatal error. * For MinGW toolchain this option is experimental. If you enabled it and then disabled again, you need to clear CMake cache (delete CMakeCache.txt). * Make CMake clip test faster. * Fix CMake bug with sndio library dependency, thanks to @drhenault. * Fix memory leak in wav_read_smpl_chunk() function, credit to OSS-Fuzz. * Fix aiff_read_header() memory leak(), credit to OSS-Fuzz. * Fix leak in wav_read_header(), credit to OSS-Fuzz. * Fix leak in wavlike_read_cart_chunk(), credit to OSS-Fuzz. * Fix memory leak in wav_read_acid_chunk(), credit to OSS-Fuzz. * Fix memory leak in aiff_read_basc_chunk(), credit to OSS-Fuzz. * Fix memory leak in wavlike_read_peak_chunk(), credit to OSS-Fuzz. * Fix memory leak in aiff_read_header(), credit to OSS-Fuzz. * Fix use of uninitialized value in exif_subchunk_parse(), credit to OSS-Fuzz. * Fix use of uninitialized value in endswap_int64_t_array(), credit to OSS-Fuzz. * Fix up the fuzzer so that it can't under or overseek, thanks to Max Dymond <cmeister2@gmail.com>. * Fix Autotools configure on macOS, thanks to @tmcguire and @nwh. * Exclude repository-configuration from git-archive, thanks to @umlaeute. * Use version-script when compiling with clang on Unix with Autotools, thanks to @tstellar. * Improve handling of SMPL chunks in WAV files, thanks to @zodf0055980.
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.86 2021/01/24 14:50:25 nia Exp $
|
|
|
|
DISTNAME= libsndfile-1.0.31
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=libsndfile/}
|
|
GITHUB_PROJECT= libsndfile
|
|
GITHUB_RELEASE= ${PKGVERSION_NOREV}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://libsndfile.github.io/libsndfile/
|
|
COMMENT= Library for reading and writing audio files
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
PKGCONFIG_OVERRIDE= sndfile.pc.in
|
|
GNU_CONFIGURE= yes
|
|
PYTHON_FOR_BUILD_ONLY= tool
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "options.mk"
|
|
|
|
OPSYSVARS+= BUILDLINK_PASSTHRU_DIRS
|
|
|
|
BUILDLINK_PASSTHRU_DIRS.Darwin+= /Developer
|
|
|
|
.if !empty(PKGSRC_COMPILER:Msunpro)
|
|
CXXFLAGS+= -features=extensions
|
|
.endif
|
|
|
|
.include "../../audio/flac/buildlink3.mk"
|
|
.include "../../audio/libopus/buildlink3.mk"
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
.include "../../lang/python/tool.mk"
|
|
BUILDLINK_API_DEPENDS.libogg+= libogg>=1.1.3
|
|
.include "../../multimedia/libogg/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|