media-libs/rtmidi: add 5.0.0

Closes: https://bugs.gentoo.org/828448
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2021-12-06 17:42:42 +05:00
parent 9f2ce690d3
commit 3f7ead0aad
4 changed files with 32 additions and 7 deletions

View File

@@ -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,

View File

@@ -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

View File

@@ -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
}

View File

@@ -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