flac: updated to 1.3.4
FLAC 1.3.4
This release mostly fixes (security related) bugs. When building with MSVC, using CMake is preferred, see the README under "Building with CMake" for more information. Building with MSVC using solution files is deprecated and these files will be removed in the future.
General:
* Fix 12 decoder bugs found by oss-fuzz, including CVE-2020-0499 (erikd, Martijn van Beurden)
- Fix encoder bug CVE-2021-0561 (NeelkamalSemwal)
- Integrate oss-fuzzers (erikd, Guido Vranken)
- Seeking fixes (NeelkamalSemwal, Robert Kausch)
- Various fixes and improvements (Andrei Astafev, Rosen Penev, Håkan Kvist, oreo639, erikd, Tamás Zahola, Ulrik Mikaelsson, Tyler Dunn, tmkk)
* FLAC format:
- (none)
* Ogg FLAC format:
- (none)
* flac:
- Various fixes and improvements (Andrei Astafev, Martijn van Beurden)
* metaflac:
- (none)
* build system:
- CMake improvements (evpobr, Vitaliy Kirsanov, erikd, Ozkan Sezer, Tyler Dunn, tg-m DeadSix27, ericLemanissier, Chocobo1).
- Fixes for MinGW and MSVC (Ozkan Sezer).
- Fix for clang (Ozkan Sezer)
- Fix for PowerPC (Peter Seiderer, Thomas BERNARD)
- Fix for FreeBSD PowerPC (pkubaj).
* testing/validation:
- Add Windows target to CI, improve logging (Ralph Giles)
- CI improvements (Ralph Giles, Ewout ter Hoeven)
* documentation:
- Doxygen fixes (Tyler Dunn)
- Fix typos (Tim Gates, maxz)
* Interface changes:
- libFLAC:
(none)
- libFLAC++:
(none)
2022-02-21 09:19:41 +01:00
|
|
|
# $NetBSD: Makefile,v 1.57 2022/02/21 08:19:41 adam Exp $
|
2001-07-23 15:28:26 +02:00
|
|
|
|
flac: updated to 1.3.4
FLAC 1.3.4
This release mostly fixes (security related) bugs. When building with MSVC, using CMake is preferred, see the README under "Building with CMake" for more information. Building with MSVC using solution files is deprecated and these files will be removed in the future.
General:
* Fix 12 decoder bugs found by oss-fuzz, including CVE-2020-0499 (erikd, Martijn van Beurden)
- Fix encoder bug CVE-2021-0561 (NeelkamalSemwal)
- Integrate oss-fuzzers (erikd, Guido Vranken)
- Seeking fixes (NeelkamalSemwal, Robert Kausch)
- Various fixes and improvements (Andrei Astafev, Rosen Penev, Håkan Kvist, oreo639, erikd, Tamás Zahola, Ulrik Mikaelsson, Tyler Dunn, tmkk)
* FLAC format:
- (none)
* Ogg FLAC format:
- (none)
* flac:
- Various fixes and improvements (Andrei Astafev, Martijn van Beurden)
* metaflac:
- (none)
* build system:
- CMake improvements (evpobr, Vitaliy Kirsanov, erikd, Ozkan Sezer, Tyler Dunn, tg-m DeadSix27, ericLemanissier, Chocobo1).
- Fixes for MinGW and MSVC (Ozkan Sezer).
- Fix for clang (Ozkan Sezer)
- Fix for PowerPC (Peter Seiderer, Thomas BERNARD)
- Fix for FreeBSD PowerPC (pkubaj).
* testing/validation:
- Add Windows target to CI, improve logging (Ralph Giles)
- CI improvements (Ralph Giles, Ewout ter Hoeven)
* documentation:
- Doxygen fixes (Tyler Dunn)
- Fix typos (Tim Gates, maxz)
* Interface changes:
- libFLAC:
(none)
- libFLAC++:
(none)
2022-02-21 09:19:41 +01:00
|
|
|
DISTNAME= flac-1.3.4
|
2004-10-01 15:17:50 +02:00
|
|
|
CATEGORIES= audio archivers
|
Update to 1.3.0:
FLAC 1.3.0 (26-May-2013)
General:
Move development to Xiph.org git repository.
The --sector-align option of flac has been deprecated and may not exist in future versions. shntool provides similar functionality.
Support for the RF64 and Wave64 formats in flac (see below).
Better handling of cuesheets with non-CD-DA sample rates.
The --ignore-chunk-sizes option has been added to the flac command line tool.
FLAC format:
(none)
Ogg FLAC format:
(none)
flac:
Added support for encoding from and decoding to the RF64 format, and a new corresponding option --force-rf64-format. (SF #1762502). --keep-foreign-metadata is also supported.
Added support for encoding from and decoding to the Sony Wave64 format, and a new corresponding option --force-wave64-format. (SF #1769582). --keep-foreign-metadata is also supported.
Added new options --preserve-modtime and --no-preserve-modtime to specify whether or not output files should copy the timestamp and permissions from their input files. The default is --preserve-modtime as in previous versions. (SF #1805428).
Allow MM:SS:FF and MM:SS.SS time formats in non-CD-DA cuesheets. (SF #1947353, SF #2182432)
The --sector-align option of flac has been deprecated and may not exist in future versions. shntool provides similar functionality. (SF #1805946)
Improved error message when user attempts to decode a non-FLAC file (SF #2222789).
Fix bug where flac was disallowing use of --replay-gain when encoding from stdin (SF #1840124).
Fix bug with fractional seconds on some locales (SF #1815517, SF #1858012).
Read and write appropriate channel masks for 6.1 and 7.1 surround input WAV files. Documentation was also updated.
Correct Wave64 GUIDs.
Support 56kHz to 192kHz gain analysis (patch from Earl Chew)
Add ability to handle utf8 filenames on Windows (large set of patches from Janne Hyvärinen)
metaflac:
Allow MM:SS:FF and MM:SS.SS time formats in non-CD-DA cuesheets. (SF #1947353, SF #2182432)
plugins:
Minor updates for XMMS plugin.
Winamp2 plugin was dropped because Nullsoft has provided native FLAC support since 2006.
build system:
Fixes for autotools (including SF #1859664).
Fixes for MinGW (including SF #2000973, SF #2209829).
Fixes for gcc (including SF #1834168, SF #2002481).
Fixes for Sun Studio/Forte (SF #1701960).
Fixes for windows builds (including SF #1676822, SF #1756624, SF #1809863, SF #1911149).
Fixes for FreeBSD and OpenBSD.
Compile with GNU gcc _FORTIFY_SOURCE=2 and stack protection where those features are detected.
Enable a bunch of GCC compiler warnings and fix code that generates warnings.
documentation:
Document --ignore-chunk-sizes and --apply-replaygain-which-is-not-lossless option for flac.
libraries:
libFLAC encoder was defaulting to level 0 compression instead of 5 (SF #1816825).
Fix bug in bitreader handling of read callback returning a short count (SF #2490454).
Improve decoder's ability to distinguish between a FLAC sync code and an MPEG one (SF #2491433).
Interface changes:
libFLAC:
Added FLAC__format_blocksize_is_subset()
libFLAC++:
Add a number of convienience methods.
2013-06-12 22:31:51 +02:00
|
|
|
MASTER_SITES= http://downloads.xiph.org/releases/flac/
|
|
|
|
EXTRACT_SUFX= .tar.xz
|
2001-07-23 15:28:26 +02:00
|
|
|
|
2006-12-15 15:34:18 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-08-01 16:58:51 +02:00
|
|
|
HOMEPAGE= https://xiph.org/flac/
|
2004-10-01 15:17:50 +02:00
|
|
|
COMMENT= Free lossless audio codec
|
2010-01-24 18:11:17 +01:00
|
|
|
LICENSE= modified-bsd AND gnu-gpl-v2 AND gnu-lgpl-v2.1
|
2001-07-23 15:28:26 +02:00
|
|
|
|
2004-02-14 18:21:32 +01:00
|
|
|
USE_LIBTOOL= yes
|
2019-12-17 14:59:50 +01:00
|
|
|
USE_TOOLS+= aclocal autoconf autoheader automake gmake
|
2004-02-03 13:38:51 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2002-09-04 21:31:44 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2019-08-05 17:35:12 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-doxygen-docs
|
|
|
|
CONFIGURE_ARGS+= --disable-xmms-plugin
|
|
|
|
PKGCONFIG_OVERRIDE+= src/libFLAC++/flac++.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= src/libFLAC/flac.pc.in
|
2007-11-21 13:47:04 +01:00
|
|
|
|
2021-08-01 07:07:54 +02:00
|
|
|
BUILD_DEFS+= PKGSRC_MKPIE
|
|
|
|
|
2004-02-03 13:38:51 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2021-08-01 07:07:54 +02:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
. if ${PKGSRC_MKPIE:tl} == "yes"
|
|
|
|
CONFIGURE_ARGS+= --disable-asm-optimizations
|
|
|
|
. else
|
|
|
|
TOOL_DEPENDS+= nasm>=0.98:../../devel/nasm
|
|
|
|
. endif
|
2004-02-03 13:38:51 +01:00
|
|
|
.endif
|
|
|
|
|
2004-10-18 20:25:49 +02:00
|
|
|
.if !empty(MACHINE_PLATFORM:M*-*-powerpc)
|
2009-06-05 22:47:30 +02:00
|
|
|
. if ${OPSYS} != "Darwin"
|
2004-10-18 16:23:29 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-asm-optimizations
|
|
|
|
CONFIGURE_ARGS+= --disable-altivec
|
2009-06-05 22:47:30 +02:00
|
|
|
. endif
|
2004-10-18 16:23:29 +02:00
|
|
|
.endif
|
|
|
|
|
2006-08-27 05:00:19 +02:00
|
|
|
.if !empty(MACHINE_PLATFORM:MDarwin-*-i386)
|
|
|
|
CONFIGURE_ARGS+= --disable-asm-optimizations
|
|
|
|
.endif
|
|
|
|
|
2004-11-16 13:07:03 +01:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
|
2004-11-16 13:05:54 +01:00
|
|
|
# SunPro does not support __inline
|
|
|
|
.if !empty(PKGSRC_COMPILER:Msunpro)
|
|
|
|
CFLAGS+= -D__inline=inline
|
|
|
|
.endif
|
|
|
|
|
2013-10-27 21:05:14 +01:00
|
|
|
# With -fgnu89-inline option duplicate symbols arise.
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-fgnu89-inline
|
|
|
|
.endif
|
|
|
|
|
2019-12-17 14:59:50 +01:00
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && autoreconf
|
|
|
|
|
2004-04-13 01:15:01 +02:00
|
|
|
.include "../../multimedia/libogg/buildlink3.mk"
|
2001-07-23 15:28:26 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|