aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2024-10-21 03:03:49 +0000
committerJason E. Hale <jhale@FreeBSD.org>2024-10-22 05:35:55 +0000
commita640fdbaf2c35a5d3115038acdbc1546b63f39c7 (patch)
tree8f58a09d6c78c5c43c13a7fe0ebb9abf5c337d81
parent5aeaee63e619f512be06eb562d56b81143fabb1a (diff)
downloadports-a640fdbaf2c35a5d3115038acdbc1546b63f39c7.tar.gz
ports-a640fdbaf2c35a5d3115038acdbc1546b63f39c7.zip
audio/libmysofa: Update to 1.3.3
-rw-r--r--audio/libmysofa/Makefile2
-rw-r--r--audio/libmysofa/distinfo6
-rw-r--r--audio/libmysofa/files/extrapatch-tests_compare.sh11
-rw-r--r--audio/libmysofa/files/extrapatch-tests_compareIgnoreNew.sh11
-rw-r--r--audio/libmysofa/files/patch-src_CMakeLists.txt15
-rw-r--r--audio/libmysofa/files/patch-src_hrtf_portable__endian.h30
-rw-r--r--audio/libmysofa/pkg-plist3
7 files changed, 18 insertions, 60 deletions
diff --git a/audio/libmysofa/Makefile b/audio/libmysofa/Makefile
index 716b11100250..b39b1abfb624 100644
--- a/audio/libmysofa/Makefile
+++ b/audio/libmysofa/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libmysofa
DISTVERSIONPREFIX= v
-DISTVERSION= 1.3.2
+DISTVERSION= 1.3.3
CATEGORIES= audio
MAINTAINER= jhale@FreeBSD.org
diff --git a/audio/libmysofa/distinfo b/audio/libmysofa/distinfo
index c412638cc352..0a7ba7bfa0b8 100644
--- a/audio/libmysofa/distinfo
+++ b/audio/libmysofa/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1697487219
-SHA256 (hoene-libmysofa-v1.3.2_GH0.tar.gz) = 6c5224562895977e87698a64cb7031361803d136057bba35ed4979b69ab4ba76
-SIZE (hoene-libmysofa-v1.3.2_GH0.tar.gz) = 208753292
+TIMESTAMP = 1729476519
+SHA256 (hoene-libmysofa-v1.3.3_GH0.tar.gz) = a15f7236a2b492f8d8da69f6c71b5bde1ef1bac0ef428b94dfca1cabcb24c84f
+SIZE (hoene-libmysofa-v1.3.3_GH0.tar.gz) = 208753723
diff --git a/audio/libmysofa/files/extrapatch-tests_compare.sh b/audio/libmysofa/files/extrapatch-tests_compare.sh
index c701ea6dd6fa..27c52a172880 100644
--- a/audio/libmysofa/files/extrapatch-tests_compare.sh
+++ b/audio/libmysofa/files/extrapatch-tests_compare.sh
@@ -1,13 +1,14 @@
Undo bashism added upstream in a5a3562. The built-in 'command' command of
sh(1) does not take multiple arguments.
---- tests/compare.sh.orig 2022-02-14 10:05:41 UTC
+
+--- tests/compare.sh.orig 2024-10-19 19:02:44 UTC
+++ tests/compare.sh
-@@ -1,7 +1,7 @@
+@@ -1,7 +1,7 @@ SCRIPTDIR=${0%/*}
#!/bin/sh
SCRIPTDIR=${0%/*}
-NODEJS=$(command -v node nodejs false | head -1)
+NODEJS=$(which node nodejs false | head -1)
-
- ${MYSOFA2JSON:-${SCRIPTDIR}/../build/src/mysofa2json} -c -s "$1".sofa >tmp1.json 2>tmp1.txt
-
+ TMP1=`mktemp -p . tmp1-XXXXXXXX.json`
+ TMP2=`mktemp -p . tmp2-XXXXXXXX.txt`
+ TMP3=`mktemp -p . tmp3-XXXXXXXX.json`
diff --git a/audio/libmysofa/files/extrapatch-tests_compareIgnoreNew.sh b/audio/libmysofa/files/extrapatch-tests_compareIgnoreNew.sh
index 8b5d9ea74c31..03c909aae978 100644
--- a/audio/libmysofa/files/extrapatch-tests_compareIgnoreNew.sh
+++ b/audio/libmysofa/files/extrapatch-tests_compareIgnoreNew.sh
@@ -1,13 +1,14 @@
Undo bashism added upstream in a5a3562. The built-in 'command' command of
sh(1) does not take multiple arguments.
---- tests/compareIgnoreNew.sh.orig 2022-02-14 10:05:54 UTC
+
+--- tests/compareIgnoreNew.sh.orig 2024-10-19 19:02:44 UTC
+++ tests/compareIgnoreNew.sh
-@@ -1,7 +1,7 @@
+@@ -1,7 +1,7 @@ SCRIPTDIR=${0%/*}
#!/bin/sh
SCRIPTDIR=${0%/*}
-NODEJS=$(command -v node nodejs false | head -1)
+NODEJS=$(which node nodejs false | head -1)
-
- ${MYSOFA2JSON:-${SCRIPTDIR}/../build/src/mysofa2json} -c -s "$1".sofa >tmp1.json 2>tmp1.txt
-
+ TMP1=`mktemp -p . tmp1-XXXXXXXX.json`
+ TMP2=`mktemp -p . tmp2-XXXXXXXX.txt`
+ TMP3=`mktemp -p . tmp3-XXXXXXXX.json`
diff --git a/audio/libmysofa/files/patch-src_CMakeLists.txt b/audio/libmysofa/files/patch-src_CMakeLists.txt
deleted file mode 100644
index b621350810c4..000000000000
--- a/audio/libmysofa/files/patch-src_CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-Install header if STATIC option is disabled.
-
-https://github.com/hoene/libmysofa/pull/214
-
---- src/CMakeLists.txt.orig 2023-10-15 10:30:14 UTC
-+++ src/CMakeLists.txt
-@@ -127,6 +127,8 @@ if(BUILD_SHARED_LIBS)
- # with the mysofa-static library.
- set_target_properties(mysofa-shared
- PROPERTIES ARCHIVE_OUTPUT_NAME mysofa_shared)
-+ set_target_properties(mysofa-shared
-+ PROPERTIES PUBLIC_HEADER "${public-headers}")
-
- set_property(
- TARGET mysofa-shared
diff --git a/audio/libmysofa/files/patch-src_hrtf_portable__endian.h b/audio/libmysofa/files/patch-src_hrtf_portable__endian.h
deleted file mode 100644
index 1d93c4797c74..000000000000
--- a/audio/libmysofa/files/patch-src_hrtf_portable__endian.h
+++ /dev/null
@@ -1,30 +0,0 @@
-Fix linking on FreeBSD and DragonFly.
-
-https://github.com/hoene/libmysofa/pull/213
-
---- src/hrtf/portable_endian.h.orig 2023-10-17 18:48:34 UTC
-+++ src/hrtf/portable_endian.h
-@@ -41,22 +41,9 @@
- # define __LITTLE_ENDIAN LITTLE_ENDIAN
- # define __PDP_ENDIAN PDP_ENDIAN
-
--#elif defined(__OpenBSD__)
-+#elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
-
- # include <sys/endian.h>
--
--#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
--
--# include <sys/endian.h>
--
--# define be16toh(x) betoh16(x)
--# define le16toh(x) letoh16(x)
--
--# define be32toh(x) betoh32(x)
--# define le32toh(x) letoh32(x)
--
--# define be64toh(x) betoh64(x)
--# define le64toh(x) letoh64(x)
-
- #elif defined(__WINDOWS__)
-
diff --git a/audio/libmysofa/pkg-plist b/audio/libmysofa/pkg-plist
index b48de10e113a..584ca67b6aef 100644
--- a/audio/libmysofa/pkg-plist
+++ b/audio/libmysofa/pkg-plist
@@ -1,5 +1,6 @@
%%TEST%%bin/mysofa2json
include/mysofa.h
+include/mysofa_export.h
lib/cmake/mysofa/mysofaConfig.cmake
lib/cmake/mysofa/mysofaConfigVersion.cmake
lib/cmake/mysofa/mysofaTargets-%%CMAKE_BUILD_TYPE%%.cmake
@@ -7,7 +8,7 @@ lib/cmake/mysofa/mysofaTargets.cmake
%%STATIC%%lib/libmysofa.a
lib/libmysofa.so
lib/libmysofa.so.1
-lib/libmysofa.so.1.3.2
+lib/libmysofa.so.1.3.3
libdata/pkgconfig/libmysofa.pc
%%DATADIR%%/MIT_KEMAR_normal_pinna.sofa
%%DATADIR%%/default.sofa