mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
Closes: https://bugs.gentoo.org/828448 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
31 lines
621 B
Bash
31 lines
621 B
Bash
# 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
|
|
}
|