summaryrefslogtreecommitdiff
path: root/media-libs/rtmidi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /media-libs/rtmidi
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'media-libs/rtmidi')
-rw-r--r--media-libs/rtmidi/Manifest3
-rw-r--r--media-libs/rtmidi/metadata.xml15
-rw-r--r--media-libs/rtmidi/rtmidi-5.0.0.ebuild30
3 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/rtmidi/Manifest b/media-libs/rtmidi/Manifest
new file mode 100644
index 000000000000..73601a1cb434
--- /dev/null
+++ b/media-libs/rtmidi/Manifest
@@ -0,0 +1,3 @@
+DIST rtmidi-5.0.0.tar.gz 528747 BLAKE2B 7bc8f5d9109cf1fb81ced4ff3afb4a7a42200d7458315c7b33cf966c856ca13959a9ce99012eadf05f65ec1bb93d41b8d2b7c9c66082badb7598c519a7fe2531 SHA512 d2688b6777c09c213e1f6800c67bca6905ac9a0161480e7c167583322a64be086bb47f1452cc45d4a4e2c1d3d3fe626d57b4a187e79c0a20af4f6e23d4a3530a
+EBUILD rtmidi-5.0.0.ebuild 625 BLAKE2B dfa5e7823bd68085a01809b04fa40e07886c88cbd2a1267cb685a3674080bb2a343339cf0e87af95c33d37a678432c293938ddf20a6c37bee569f0301c2f2857 SHA512 2cd0970f68730773ed3dff434ee283a807d210670edda84cbd30811e4a17402c12ccf6abc06c2d851ce27da70befae048b59870ece8576879fee5dcf27a91456
+MISC metadata.xml 685 BLAKE2B 20a22f4c40cd51230f13c0cc46a9237bf49a326d4fada0060d42c8cf6ddc17b58517a3df82a19c491045c4d81705522871dff9af7b1fe9a4ef3e18fd8bde51f8 SHA512 dbba9fe55711732149801c6dd4a15685215507f23a080ce2be060b1dc48c6da18adc23de611dbfade2b64afde25703a6e460ab2c2b403450829d3982374507f2
diff --git a/media-libs/rtmidi/metadata.xml b/media-libs/rtmidi/metadata.xml
new file mode 100644
index 000000000000..bf25671cc1d3
--- /dev/null
+++ b/media-libs/rtmidi/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <longdescription>
+ RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut and API-specific classes)
+ that provides a common API (Application Programming Interface) for realtime MIDI
+ input/output across Linux (ALSA, JACK), Macintosh OS X (CoreMIDI, JACK),
+ and Windows (Multimedia Library) operating systems.
+ RtMidi significantly simplifies the process of interacting with computer MIDI hardware and software.
+ </longdescription>
+</pkgmetadata>
diff --git a/media-libs/rtmidi/rtmidi-5.0.0.ebuild b/media-libs/rtmidi/rtmidi-5.0.0.ebuild
new file mode 100644
index 000000000000..1689276e2d89
--- /dev/null
+++ b/media-libs/rtmidi/rtmidi-5.0.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A set of C++ classes that provide a common API for realtime MIDI input/output"
+HOMEPAGE="https://www.music.mcgill.ca/~gary/rtmidi"
+SRC_URI="https://www.music.mcgill.ca/~gary/rtmidi/release/${P}.tar.gz"
+
+LICENSE="RtMidi"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+alsa jack"
+
+DEPEND="
+ alsa? ( media-libs/alsa-lib )
+ jack? ( virtual/jack )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -DRTMIDI_API_ALSA=$(usex alsa)
+ -DRTMIDI_API_JACK=$(usex jack)
+ )
+
+ cmake_src_configure
+}