diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2021-12-06 17:42:42 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2021-12-06 17:42:42 +0500 |
commit | 3f7ead0aadfe32de7d5bcc742ba9d853624559e4 (patch) | |
tree | bad5469964942422c005ffe41677455957f6a248 /media-libs | |
parent | dev-python/manhole: distutils_install_for_testing (diff) | |
download | guru-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>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/rtmidi/Manifest | 1 | ||||
-rw-r--r-- | media-libs/rtmidi/rtmidi-5.0.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
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 +} |