git: f4078e23d23a - main - audio/libremidi: update 4.0 → 4.2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Oct 2023 02:55:52 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f4078e23d23aa1db1b5eb7b1f04c9204c0fb43ea commit f4078e23d23aa1db1b5eb7b1f04c9204c0fb43ea Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-10-02 14:33:16 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-10-03 02:55:48 +0000 audio/libremidi: update 4.0 → 4.2.0 Reported by: portscout --- audio/libremidi/Makefile | 7 ++----- audio/libremidi/distinfo | 6 +++--- audio/libremidi/files/patch-cmake_libremidi.tests.cmake | 17 +++++++++++++++++ audio/libremidi/pkg-plist | 6 ++++++ 4 files changed, 28 insertions(+), 8 deletions(-) diff --git a/audio/libremidi/Makefile b/audio/libremidi/Makefile index 91cc07508860..947a8d3b5174 100644 --- a/audio/libremidi/Makefile +++ b/audio/libremidi/Makefile @@ -1,6 +1,6 @@ PORTNAME= libremidi DISTVERSIONPREFIX= v -DISTVERSION= 4.0 +DISTVERSION= 4.2.0 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org @@ -21,10 +21,7 @@ GH_ACCOUNT= jcelerier CMAKE_ON= BUILD_SHARED_LIBS \ LIBREMIDI_NO_ALSA CMAKE_OFF= LIBREMIDI_TESTS -CMAKE_TESTING_ON= LIBREMIDI_TESTS - -# test fail to configure: https://github.com/jcelerier/libremidi/issues/84 -# before that was: 2 tests fail, see https://github.com/jcelerier/libremidi/issues/72 +CMAKE_TESTING_ON= LIBREMIDI_TESTS # 1 test fails: https://github.com/jcelerier/libremidi/issues/86 # This library can also be used as a header-only library diff --git a/audio/libremidi/distinfo b/audio/libremidi/distinfo index 0284769319db..ab476dfa037e 100644 --- a/audio/libremidi/distinfo +++ b/audio/libremidi/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1695095614 -SHA256 (jcelerier-libremidi-v4.0_GH0.tar.gz) = d5f7685ffe3852a1a4fadee8404d874a0a24929dd6ab8dad4ec002d177b14dd3 -SIZE (jcelerier-libremidi-v4.0_GH0.tar.gz) = 15510064 +TIMESTAMP = 1696267494 +SHA256 (jcelerier-libremidi-v4.2.0_GH0.tar.gz) = f71b39e2a141100b29151570847cd57108dce372f6b75d027555797760eb537d +SIZE (jcelerier-libremidi-v4.2.0_GH0.tar.gz) = 15518137 diff --git a/audio/libremidi/files/patch-cmake_libremidi.tests.cmake b/audio/libremidi/files/patch-cmake_libremidi.tests.cmake new file mode 100644 index 000000000000..450318fd2f39 --- /dev/null +++ b/audio/libremidi/files/patch-cmake_libremidi.tests.cmake @@ -0,0 +1,17 @@ +--- cmake/libremidi.tests.cmake.orig 2023-10-02 17:31:54 UTC ++++ cmake/libremidi.tests.cmake +@@ -1,4 +1,4 @@ +- ++ if (FALSE) + include(FetchContent) + + FetchContent_Declare( +@@ -8,6 +8,8 @@ + ) + + FetchContent_MakeAvailable(Catch2) ++ endif() ++ find_package(Catch2) + if(NOT TARGET Catch2::Catch2WithMain) + message(WARNING "libremidi: Catch2::Catch2WithMain target not found") + return() diff --git a/audio/libremidi/pkg-plist b/audio/libremidi/pkg-plist index 2251f04ec805..bd206135d288 100644 --- a/audio/libremidi/pkg-plist +++ b/audio/libremidi/pkg-plist @@ -19,6 +19,10 @@ include/libremidi/backends/alsa_seq/midi_in.hpp include/libremidi/backends/alsa_seq/midi_out.hpp include/libremidi/backends/alsa_seq/observer.hpp include/libremidi/backends/alsa_seq/shared_handler.hpp +include/libremidi/backends/alsa_seq_ump.hpp +include/libremidi/backends/alsa_seq_ump/config.hpp +include/libremidi/backends/alsa_seq_ump/helpers.hpp +include/libremidi/backends/alsa_seq_ump/midi_out.hpp include/libremidi/backends/coremidi.hpp include/libremidi/backends/coremidi/config.hpp include/libremidi/backends/coremidi/helpers.hpp @@ -50,6 +54,8 @@ include/libremidi/backends/jack/midi_in.hpp include/libremidi/backends/jack/midi_out.hpp include/libremidi/backends/jack/observer.hpp include/libremidi/backends/jack/shared_handler.hpp +include/libremidi/backends/linux/alsa.hpp +include/libremidi/backends/linux/dylib_loader.hpp include/libremidi/backends/linux/helpers.hpp include/libremidi/backends/linux/udev.hpp include/libremidi/backends/winmidi.hpp