Skip to content

Commit

Permalink
audio/flac: update to 1.4.3
Browse files Browse the repository at this point in the history
Improve the flac tool's handling of foreign metadata on decoding a
file (i.e. restoring the foreign metadata) and add a few features
to the metaflac tool.  Both tools have been vetted with fuzzing,
resulting in numerous small fixes.

All PowerPC-specific code has been removed.

PR:		272185
  • Loading branch information
Christian Weisgerber authored and Christian Weisgerber committed Jun 26, 2023
1 parent 2f0d75f commit 7a00365
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 20 deletions.
12 changes: 4 additions & 8 deletions audio/flac/Makefile
@@ -1,8 +1,9 @@
PORTNAME= flac
PORTVERSION= 1.4.2
DISTVERSION= 1.4.3
PORTEPOCH= 1
CATEGORIES= audio
MASTER_SITES= https://downloads.xiph.org/releases/flac/
MASTER_SITES= https://downloads.xiph.org/releases/flac/ \
https://github.com/xiph/flac/releases/download/${DISTVERSION}/

MAINTAINER= naddy@FreeBSD.org
COMMENT= Free lossless audio codec
Expand All @@ -28,19 +29,14 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static \
--with-ogg="${LOCALBASE}" \
--disable-doxygen-docs \
--disable-thorough-tests \
--disable-xmms-plugin
--disable-thorough-tests
INSTALL_TARGET= install-strip
TEST_TARGET= check

OPTIONS_DEFINE= DOCS

.include <bsd.port.pre.mk>

.if ${ARCH} != powerpc64le
CONFIGURE_ARGS+=--disable-vsx
.endif

# test_libFLAC:
# "iterator claims file is writable when tester thinks it should not be"
.if ${UID} == 0
Expand Down
6 changes: 3 additions & 3 deletions audio/flac/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1666882895
SHA256 (flac-1.4.2.tar.xz) = e322d58a1f48d23d9dd38f432672865f6f79e73a6f9cc5a5f57fcaa83eb5a8e4
SIZE (flac-1.4.2.tar.xz) = 1013700
TIMESTAMP = 1687809019
SHA256 (flac-1.4.3.tar.xz) = 6c58e69cd22348f441b861092b825e591d0b822e106de6eb0ee4d05d27205b70
SIZE (flac-1.4.3.tar.xz) = 1006728
14 changes: 7 additions & 7 deletions audio/flac/files/patch-configure
@@ -1,13 +1,13 @@
--- configure.orig 2022-10-27 15:10:23 UTC
--- configure.orig 2023-06-22 08:50:43 UTC
+++ configure
@@ -21455,8 +21455,8 @@ fi
if test "x${ax_enable_debug}" = "xno"
@@ -21404,8 +21404,8 @@ if test x$ac_cv_c_compiler_gnu = xyes -o x$xiph_cv_c_c
if test "x${ax_enable_debug}" = "xno"
then :

- CFLAGS="-O3 -funroll-loops $CFLAGS"
- CXXFLAGS="-O3 $CXXFLAGS"
+ #CFLAGS="-O3 -funroll-loops $CFLAGS"
+ #CXXFLAGS="-O3 $CXXFLAGS"
- CFLAGS="-O3 -funroll-loops $CFLAGS"
- CXXFLAGS="-O3 $CXXFLAGS"
+ #CFLAGS="-O3 -funroll-loops $CFLAGS"
+ #CXXFLAGS="-O3 $CXXFLAGS"

fi

4 changes: 2 additions & 2 deletions audio/flac/pkg-plist
Expand Up @@ -17,11 +17,11 @@ include/FLAC/stream_encoder.h
lib/libFLAC++.a
lib/libFLAC++.so
lib/libFLAC++.so.10
lib/libFLAC++.so.10.0.0
lib/libFLAC++.so.10.0.1
lib/libFLAC.a
lib/libFLAC.so
lib/libFLAC.so.12
lib/libFLAC.so.12.0.0
lib/libFLAC.so.12.1.0
libdata/pkgconfig/flac++.pc
libdata/pkgconfig/flac.pc
man/man1/flac.1.gz
Expand Down

0 comments on commit 7a00365

Please sign in to comment.