From nobody Fri Jun 30 15:58:25 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qt0NL0dq8z4lDVV; Fri, 30 Jun 2023 15:58:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qt0NL0CNcz3D8s; Fri, 30 Jun 2023 15:58:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688140706; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6JXVDyPWdnjo9hnTQvZUREP+tNK76fr/ZXdIQQIaYW8=; b=l/fpy9zvY4qRlPFfom60a7SwoyvtU3N4+m+OXkBkmvESwbFSCeqRr4rWiOK7Q1hqx6Dl3n UoebiT+hIm3QblHxPoYvNUEAL3C5OK3CXteQINQ95mYM7OnWpmg0+Li0ai2/XfiwgWzHBo oidjT9ggP2EFzorYoewpKnAbVt3RE9w0xTArDC/iR1GSGqEPYrZJYyUuMn4p9OGKZbNs39 va3t3KmpDMZkdopwCYJ1G1gj6soRWmAhlO1LJkvgTC0r1ba1B9Bzh1PD6rc3uNZKAyl21n IbL+DbYQxYVANhc76/YLZco6yTgKSeBvq9gd9P56lK6LeVL8AKtOltU675Rwbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688140706; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6JXVDyPWdnjo9hnTQvZUREP+tNK76fr/ZXdIQQIaYW8=; b=ygE/xiOx1eZrNq2FC+sMyBsJhJVe+83GrV2CMfT4wceTEKnrU2+7JWHkooh1vYM3BbayH7 yAVrR36EO6D1jSIQtw/Fn0/Cq9tiEcWegu0wLxm/AgoojBqgiJu7xGH5g5XJS/Hi1EUj50 36rbxb761ITg6rV0lv81ptrGIyNchLcY216S1JJu33IzJcluNys3O5hzc+gy28yentbSxh rgBv3PjG1/mYysKxW3LMR/AYvdk2Z73WDE0Cos9nX1QwyEyLgwbLvb4lkWml903bf1IUlj Id/sVCyNBcldRtP3M3NZjufP4SitGySjsDt1ZiLnW5WiPcIUv9DCFQ2ogpdh+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688140706; a=rsa-sha256; cv=none; b=SB05u1w/DLeN1NXRLrcRQClVmVN32+o3OvjflWa7qyQb71gYSS+Eyd7c5+tHoLxwHbUooM eGGWfaaUnycE9w69+3C98/MJtg1examP5pq40VndknfYH5NzKbJqN7Tggx5D9dwVS07lR3 +x/wN0emT7mGu+7jNqKwV0LJ1IZeLm2tJ1KJJJBtx27Z8QD0BRAqe1m+oHQGfRz8HJCgDu nPpuyqtfIfIGbX8XfKWuadMfLgVzjQrlLg5yy/ijm4I8dJY5cGr+owxFU9bQIFZz4F7gVt idOHpu/Z4TTE9drIeZPXaRzZrRC0CklluXTv1FVW6HS9T74xCr5hXx6KNtGlrw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qt0NK6Gt6z14WB; Fri, 30 Jun 2023 15:58:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 35UFwPxF030462; Fri, 30 Jun 2023 15:58:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 35UFwPUj030461; Fri, 30 Jun 2023 15:58:25 GMT (envelope-from git) Date: Fri, 30 Jun 2023 15:58:25 GMT Message-Id: <202306301558.35UFwPUj030461@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 4cc1e57a8232 - main - audio/libremidi: New port: Modern C++ MIDI real-time & file I/O library List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4cc1e57a823282ddd0626798e7e469cfb71f1f75 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=4cc1e57a823282ddd0626798e7e469cfb71f1f75 commit 4cc1e57a823282ddd0626798e7e469cfb71f1f75 Author: Yuri Victorovich AuthorDate: 2023-06-30 15:58:01 +0000 Commit: Yuri Victorovich CommitDate: 2023-06-30 15:58:23 +0000 audio/libremidi: New port: Modern C++ MIDI real-time & file I/O library --- audio/Makefile | 1 + audio/libremidi/Makefile | 25 +++++++++++++++++++++++++ audio/libremidi/distinfo | 3 +++ audio/libremidi/pkg-descr | 6 ++++++ audio/libremidi/pkg-plist | 27 +++++++++++++++++++++++++++ 5 files changed, 62 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index 5643ffad7b95..3457fc84242c 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -392,6 +392,7 @@ SUBDIR += libopenshot-audio SUBDIR += libopenspc SUBDIR += libopusenc + SUBDIR += libremidi SUBDIR += libsamplerate SUBDIR += libshairport SUBDIR += libshout diff --git a/audio/libremidi/Makefile b/audio/libremidi/Makefile new file mode 100644 index 000000000000..f9228d9da044 --- /dev/null +++ b/audio/libremidi/Makefile @@ -0,0 +1,25 @@ +PORTNAME= libremidi +DISTVERSION= g20230630 +CATEGORIES= audio + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Modern C++ MIDI real-time & file I/O library +WWW= https://github.com/jcelerier/libremidi + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.ModernMidi + +LIB_DEPENDS= libasound.so:audio/alsa-lib \ + libjack.so:audio/jack + +USES= cmake:testing + +USE_GITHUB= yes +GH_ACCOUNT= jcelerier +GH_TAGNAME= c4833ef + +CMAKE_ON= BUILD_SHARED_LIBS + +# This library can also be used as a header-only library + +.include diff --git a/audio/libremidi/distinfo b/audio/libremidi/distinfo new file mode 100644 index 000000000000..b35cb8fb231c --- /dev/null +++ b/audio/libremidi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688140390 +SHA256 (jcelerier-libremidi-g20230630-c4833ef_GH0.tar.gz) = 89bd791321087e61d1cc575a3b2d2f88731a0e9335f0c1d93eab6dd41a11e319 +SIZE (jcelerier-libremidi-g20230630-c4833ef_GH0.tar.gz) = 15467125 diff --git a/audio/libremidi/pkg-descr b/audio/libremidi/pkg-descr new file mode 100644 index 000000000000..76d338736852 --- /dev/null +++ b/audio/libremidi/pkg-descr @@ -0,0 +1,6 @@ +libremidi is a cross-platform C++17 library for real-time and MIDI file +input and output. + +This is a fork based on two libraries: +* RtMidi +* ModernMIDI diff --git a/audio/libremidi/pkg-plist b/audio/libremidi/pkg-plist new file mode 100644 index 000000000000..2bc071958ee4 --- /dev/null +++ b/audio/libremidi/pkg-plist @@ -0,0 +1,27 @@ +include/libremidi/api.hpp +include/libremidi/config.hpp +include/libremidi/detail/alsa.hpp +include/libremidi/detail/coreaudio.hpp +include/libremidi/detail/dummy.hpp +include/libremidi/detail/emscripten.hpp +include/libremidi/detail/emscripten_api.hpp +include/libremidi/detail/jack.hpp +include/libremidi/detail/midi_api.hpp +include/libremidi/detail/midi_queue.hpp +include/libremidi/detail/raw_alsa.hpp +include/libremidi/detail/raw_alsa_helpers.hpp +include/libremidi/detail/semaphore.hpp +include/libremidi/detail/winmm.hpp +include/libremidi/detail/winuwp.hpp +include/libremidi/libremidi.cpp +include/libremidi/libremidi.hpp +include/libremidi/message.hpp +include/libremidi/reader.cpp +include/libremidi/reader.hpp +include/libremidi/writer.cpp +include/libremidi/writer.hpp +lib/cmake/libremidi/libremidi-config-version.cmake +lib/cmake/libremidi/libremidi-config.cmake +lib/cmake/libremidi/libremidi-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/libremidi/libremidi-targets.cmake +lib/liblibremidi.so