aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2023-06-26 20:23:31 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2023-06-26 20:26:21 +0000
commit7a00365c6911b28d5cd5567cda82b086e21423ef (patch)
treed501bcfc97d5298a31c12eb81df1dad4ea076dfd
parent2f0d75fa81a4e3632e261968eae7b456b210ce04 (diff)
downloadports-7a00365c6911b28d5cd5567cda82b086e21423ef.tar.gz
ports-7a00365c6911b28d5cd5567cda82b086e21423ef.zip
audio/flac: update to 1.4.3
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
-rw-r--r--audio/flac/Makefile12
-rw-r--r--audio/flac/distinfo6
-rw-r--r--audio/flac/files/patch-configure14
-rw-r--r--audio/flac/pkg-plist4
4 files changed, 16 insertions, 20 deletions
diff --git a/audio/flac/Makefile b/audio/flac/Makefile
index cd6f20679d9b..bb34c9f9d336 100644
--- a/audio/flac/Makefile
+++ b/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
@@ -28,8 +29,7 @@ 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
@@ -37,10 +37,6 @@ 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
diff --git a/audio/flac/distinfo b/audio/flac/distinfo
index fc1c468e3fdd..3bb392d2b949 100644
--- a/audio/flac/distinfo
+++ b/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
diff --git a/audio/flac/files/patch-configure b/audio/flac/files/patch-configure
index 1f47882210cc..28ef3a0e1f8c 100644
--- a/audio/flac/files/patch-configure
+++ b/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
diff --git a/audio/flac/pkg-plist b/audio/flac/pkg-plist
index e879d8ededcb..9c75c0e72dd9 100644
--- a/audio/flac/pkg-plist
+++ b/audio/flac/pkg-plist
@@ -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