aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2021-12-06 17:42:42 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2021-12-06 17:42:42 +0500
commit3f7ead0aadfe32de7d5bcc742ba9d853624559e4 (patch)
treebad5469964942422c005ffe41677455957f6a248
parentdev-python/manhole: distutils_install_for_testing (diff)
downloadguru-3f7ead0aadfe32de7d5bcc742ba9d853624559e4.tar.gz
guru-3f7ead0aadfe32de7d5bcc742ba9d853624559e4.tar.bz2
guru-3f7ead0aadfe32de7d5bcc742ba9d853624559e4.zip
media-libs/rtmidi: add 5.0.0
Closes: https://bugs.gentoo.org/828448 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
-rw-r--r--licenses/RtMidi4
-rw-r--r--media-libs/rtmidi/Manifest1
-rw-r--r--media-libs/rtmidi/rtmidi-5.0.0.ebuild30
-rw-r--r--profiles/license_groups4
4 files changed, 32 insertions, 7 deletions
diff --git a/licenses/RtMidi b/licenses/RtMidi
index 97d50aba1..edd3c89fd 100644
--- a/licenses/RtMidi
+++ b/licenses/RtMidi
@@ -1,7 +1,3 @@
-
-RtMidi: realtime MIDI i/o C++ classes
-Copyright (c) 2003-2019 Gary P. Scavone
-
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction,
diff --git a/media-libs/rtmidi/Manifest b/media-libs/rtmidi/Manifest
index 58e4775f1..d87bfed80 100644
--- a/media-libs/rtmidi/Manifest
+++ b/media-libs/rtmidi/Manifest
@@ -1 +1,2 @@
DIST rtmidi-4.0.0.tar.gz 509743 BLAKE2B 16a43e0c30e49775e7fcf8af1318fb2240b97d2f5e32e043763e51896b95c38d508b3cdbbf712d562f6e57b7b3ed99f74b5a22c50cd298ebb020215c3e78eed8 SHA512 1b7e6698944104f6a80c17c9af85a9fad4b215af47277f4d9f5e61668cdea86886aae8296c79948313b3efbaa8569c441c38b0b1f3bad20dce3cee19d6a5eaa8
+DIST rtmidi-5.0.0.tar.gz 528711 BLAKE2B 2ff4643dc3b574e852d724e01e2056a33b4563848ab600efa291a92e3492cc9d2346780f7b77c6a64e88c289813b4292f61aa7fa818ed22e3d3a0148011f9da6 SHA512 8d38beff90f12b67b1553164a33e546665c0c9ec40fb797398dea245a5f80d523dfe27a0747f512cc04c1fdeffc04e50930cdc96ce7ebcd9bd34173ac4621fa2
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 000000000..9c7c8d8a5
--- /dev/null
+++ b/media-libs/rtmidi/rtmidi-5.0.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2021 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
+}
diff --git a/profiles/license_groups b/profiles/license_groups
index a9d418b43..b8b017ad0 100644
--- a/profiles/license_groups
+++ b/profiles/license_groups
@@ -1,6 +1,4 @@
-FSF-APPROVED EUPL-1.2
-OSI-APPROVED EUPL-1.2
-MISC-FREE AOM Unicode_Fonts_for_Ancient_Scripts noweb sunpro
+MISC-FREE AOM RtMidi Unicode_Fonts_for_Ancient_Scripts noweb sunpro
FREE-SOFTWARE @FSF-APPROVED @OSI-APPROVED @MISC-FREE
FREE @FREE-SOFTWARE
DFSG @FREE lablgtk-examples meschach VOSTROM