pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libmysofa libmysofa: update to 1.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59cc39b6fb49
branches:  trunk
changeset: 446087:59cc39b6fb49
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Feb 03 20:13:11 2021 +0000

description:
libmysofa: update to 1.2.

    various smaller security bug fixes
    Steinberg audio enhancements for symmetrical HRTFs

diffstat:

 audio/libmysofa/Makefile                     |   5 +-
 audio/libmysofa/PLIST                        |   4 +-
 audio/libmysofa/distinfo                     |  11 +-
 audio/libmysofa/patches/patch-CMakeLists.txt |  94 ----------------------------
 4 files changed, 10 insertions(+), 104 deletions(-)

diffs (150 lines):

diff -r 85e5c5544fc0 -r 59cc39b6fb49 audio/libmysofa/Makefile
--- a/audio/libmysofa/Makefile  Wed Feb 03 20:05:10 2021 +0000
+++ b/audio/libmysofa/Makefile  Wed Feb 03 20:13:11 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2020/06/19 13:17:59 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2021/02/03 20:13:11 wiz Exp $
 
-DISTNAME=      libmysofa-1.1
+DISTNAME=      libmysofa-1.2
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=hoene/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -14,6 +14,7 @@
 
 USE_CMAKE=     yes
 USE_TOOLS+=    pkg-config
+USE_LANGUAGES+=        c c++
 
 CMAKE_ARGS+=   -Wno-dev
 #CMAKE_ARGS+=  -DBUILD_TESTS=OFF
diff -r 85e5c5544fc0 -r 59cc39b6fb49 audio/libmysofa/PLIST
--- a/audio/libmysofa/PLIST     Wed Feb 03 20:05:10 2021 +0000
+++ b/audio/libmysofa/PLIST     Wed Feb 03 20:13:11 2021 +0000
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.4 2020/06/19 13:17:59 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/02/03 20:13:11 wiz Exp $
 bin/mysofa2json
 include/mysofa.h
 lib/libmysofa.a
 lib/libmysofa.so
 lib/libmysofa.so.1
-lib/libmysofa.so.1.0.0
+lib/libmysofa.so.1.1.0
 lib/pkgconfig/libmysofa.pc
 share/libmysofa/MIT_KEMAR_normal_pinna.sofa
 share/libmysofa/default.sofa
diff -r 85e5c5544fc0 -r 59cc39b6fb49 audio/libmysofa/distinfo
--- a/audio/libmysofa/distinfo  Wed Feb 03 20:05:10 2021 +0000
+++ b/audio/libmysofa/distinfo  Wed Feb 03 20:13:11 2021 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.5 2020/06/19 13:24:41 wiz Exp $
+$NetBSD: distinfo,v 1.6 2021/02/03 20:13:11 wiz Exp $
 
-SHA1 (libmysofa-1.1.tar.gz) = 6dcad3417576c59eb77a88ac6362799e0247bf9a
-RMD160 (libmysofa-1.1.tar.gz) = 2467dd23b458b487782cea19aaa476523a22b706
-SHA512 (libmysofa-1.1.tar.gz) = 8feafbf447f21f3ef5a283f5f494a647dd5db47cc43af4cc26efeae9f8684c93f5aa1131d8c5570d1d7811c3e3b08763fabdfad2beff0858eeb3cb78dda22332
-Size (libmysofa-1.1.tar.gz) = 199816311 bytes
-SHA1 (patch-CMakeLists.txt) = b0c00c006b5965a200c43a87bf9105aedeaf110a
+SHA1 (libmysofa-1.2.tar.gz) = 56a23d3c7feb13f164425c17f9d4453fdc0e5334
+RMD160 (libmysofa-1.2.tar.gz) = f02a32bc99851ba0990be2803f05656a28a28979
+SHA512 (libmysofa-1.2.tar.gz) = 5d6f46b8c3a9c464db25fbb2cda1f7172429f4ac79d95d29396edcb49312cf80fdfc0d46132745892b502be142f80e70126c7bae5891c1423b19bde7df0e8a56
+Size (libmysofa-1.2.tar.gz) = 199998224 bytes
diff -r 85e5c5544fc0 -r 59cc39b6fb49 audio/libmysofa/patches/patch-CMakeLists.txt
--- a/audio/libmysofa/patches/patch-CMakeLists.txt      Wed Feb 03 20:05:10 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,94 +0,0 @@
-$NetBSD: patch-CMakeLists.txt,v 1.4 2020/06/19 13:24:41 wiz Exp $
-
-Don't need a C++ compiler.
-Avoid relative paths.
-https://github.com/hoene/libmysofa/pull/124
-
---- CMakeLists.txt.orig        2020-06-13 15:02:13.000000000 +0000
-+++ CMakeLists.txt
-@@ -1,5 +1,5 @@
- cmake_minimum_required(VERSION 2.8)
--project(libmysofa)
-+project(libmysofa C)
- 
- include(CheckCCompilerFlag)
- include(GenerateExportHeader)
-@@ -48,19 +48,19 @@ if(BUILD_TESTS)
-   enable_testing()
- 
-   add_test(D1_48K_24bit_0.3s_FIR_SOFA src/mysofa2json
--           ../tests/D1_48K_24bit_0.3s_FIR_SOFA.sofa)
--  add_test(H20_44K_16bit_256tap_FIR_SOFA ../tests/compareIgnoreNew.sh
--           ../tests/H20_44K_16bit_256tap_FIR_SOFA)
--  add_test(MIT_KEMAR_large_pinna ../tests/compare.sh
--           ../tests/MIT_KEMAR_large_pinna)
--  add_test(MIT_KEMAR_normal_pinna ../tests/compareIgnoreNew.sh
--           ../tests/MIT_KEMAR_normal_pinna)
--  add_test(MIT_KEMAR_normal_pinna.old ../tests/compare.sh
--           ../tests/MIT_KEMAR_normal_pinna.old)
--  add_test(dtf_nh2 ../tests/compareIgnoreNew.sh
--           ../tests/dtf_nh2)
--  add_test(hrtf_c_nh898 ../tests/compareIgnoreNew.sh
--           ../tests/hrtf_c_nh898)
-+           ${PROJECT_SOURCE_DIR}/tests/D1_48K_24bit_0.3s_FIR_SOFA.sofa)
-+  add_test(H20_44K_16bit_256tap_FIR_SOFA ${PROJECT_SOURCE_DIR}/tests/compareIgnoreNew.sh
-+           ${PROJECT_SOURCE_DIR}/tests/H20_44K_16bit_256tap_FIR_SOFA)
-+  add_test(MIT_KEMAR_large_pinna ${PROJECT_SOURCE_DIR}/tests/compare.sh
-+           ${PROJECT_SOURCE_DIR}/tests/MIT_KEMAR_large_pinna)
-+  add_test(MIT_KEMAR_normal_pinna ${PROJECT_SOURCE_DIR}/tests/compareIgnoreNew.sh
-+           ${PROJECT_SOURCE_DIR}/tests/MIT_KEMAR_normal_pinna)
-+  add_test(MIT_KEMAR_normal_pinna.old ${PROJECT_SOURCE_DIR}/tests/compare.sh
-+           ${PROJECT_SOURCE_DIR}/tests/MIT_KEMAR_normal_pinna.old)
-+  add_test(dtf_nh2 ${PROJECT_SOURCE_DIR}/tests/compareIgnoreNew.sh
-+           ${PROJECT_SOURCE_DIR}/tests/dtf_nh2)
-+  add_test(hrtf_c_nh898 ${PROJECT_SOURCE_DIR}/tests/compareIgnoreNew.sh
-+           ${PROJECT_SOURCE_DIR}/tests/hrtf_c_nh898)
-   foreach(
-     ISSUE
-     72
-@@ -72,26 +72,26 @@ if(BUILD_TESTS)
-     83
-     84)
-     # issues with osx    96)
--    add_test(fail-issue-${ISSUE} ../tests/notcrashed.sh
--             ../tests/fail-issue-${ISSUE})
-+    add_test(fail-issue-${ISSUE} ${PROJECT_SOURCE_DIR}/tests/notcrashed.sh
-+             ${PROJECT_SOURCE_DIR}/tests/fail-issue-${ISSUE})
-   endforeach(ISSUE)
--  add_test(CIPIC_subject_003_hrir_final ../tests/compare.sh
--           ../tests/CIPIC_subject_003_hrir_final)
--  add_test(FHK_HRIR_L2354 ../tests/compare.sh ../tests/FHK_HRIR_L2354)
--  add_test(LISTEN_1002_IRC_1002_C_HRIR ../tests/compare.sh
--           ../tests/LISTEN_1002_IRC_1002_C_HRIR)
--  add_test(Pulse ../tests/compare.sh ../tests/Pulse)
--  add_test(Tester ../tests/compare.sh ../tests/tester)
--  add_test(TU-Berlin_QU_KEMAR_anechoic_radius_0.5_1_2_3_m ../tests/compare.sh
--           ../tests/TU-Berlin_QU_KEMAR_anechoic_radius_0.5_1_2_3_m)
--  add_test(TU-Berlin_QU_KEMAR_anechoic_radius_0.5m ../tests/compare.sh
--           ../tests/TU-Berlin_QU_KEMAR_anechoic_radius_0.5m)
--  add_test(example_dummy_sofa48 ../tests/compare.sh
--           ../tests/example_dummy_sofa48)
--  add_test(TestSOFA48_netcdf472 ../tests/compare.sh
--           ../tests/TestSOFA48_netcdf472)
--  add_test(example_dummy_sofa48_with_user_defined_variable ../tests/compare.sh
--           ../tests/example_dummy_sofa48_with_user_defined_variable)
-+  add_test(CIPIC_subject_003_hrir_final ${PROJECT_SOURCE_DIR}/tests/compare.sh
-+           ${PROJECT_SOURCE_DIR}/tests/CIPIC_subject_003_hrir_final)
-+  add_test(FHK_HRIR_L2354 ${PROJECT_SOURCE_DIR}/tests/compare.sh ${PROJECT_SOURCE_DIR}/tests/FHK_HRIR_L2354)
-+  add_test(LISTEN_1002_IRC_1002_C_HRIR ${PROJECT_SOURCE_DIR}/tests/compare.sh
-+           ${PROJECT_SOURCE_DIR}/tests/LISTEN_1002_IRC_1002_C_HRIR)
-+  add_test(Pulse ${PROJECT_SOURCE_DIR}/tests/compare.sh ${PROJECT_SOURCE_DIR}/tests/Pulse)
-+  add_test(Tester ${PROJECT_SOURCE_DIR}/tests/compare.sh ${PROJECT_SOURCE_DIR}/tests/tester)
-+  add_test(TU-Berlin_QU_KEMAR_anechoic_radius_0.5_1_2_3_m ${PROJECT_SOURCE_DIR}/tests/compare.sh
-+           ${PROJECT_SOURCE_DIR}/tests/TU-Berlin_QU_KEMAR_anechoic_radius_0.5_1_2_3_m)
-+  add_test(TU-Berlin_QU_KEMAR_anechoic_radius_0.5m ${PROJECT_SOURCE_DIR}/tests/compare.sh
-+           ${PROJECT_SOURCE_DIR}/tests/TU-Berlin_QU_KEMAR_anechoic_radius_0.5m)
-+  add_test(example_dummy_sofa48 ${PROJECT_SOURCE_DIR}/tests/compare.sh
-+           ${PROJECT_SOURCE_DIR}/tests/example_dummy_sofa48)
-+  add_test(TestSOFA48_netcdf472 ${PROJECT_SOURCE_DIR}/tests/compare.sh
-+           ${PROJECT_SOURCE_DIR}/tests/TestSOFA48_netcdf472)
-+  add_test(example_dummy_sofa48_with_user_defined_variable ${PROJECT_SOURCE_DIR}/tests/compare.sh
-+           ${PROJECT_SOURCE_DIR}/tests/example_dummy_sofa48_with_user_defined_variable)
- endif(BUILD_TESTS)
- 
- add_subdirectory(src)



Home | Main Index | Thread Index | Old Index