blob: 8ccc4a151f5eb2333fa99105b19cbc448d546a2a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="common C++ API for realtime MIDI input/output"
HOMEPAGE="http://www.music.mcgill.ca/~gary/rtmidi/"
SRC_URI="http://www.music.mcgill.ca/~gary/rtmidi/release/${P}.tar.gz"
RESTRICT="mirror"
LICENSE="MIT-with-advertising"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+alsa doc +jack"
RDEPEND="alsa? ( media-libs/alsa-lib )
jack? ( media-sound/jack-audio-connection-kit )"
DEPEND="${RDEPEND}"
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
econf --libdir="/usr/$(get_libdir)"\
$(use_with alsa) \
$(use_with jack) || die "./configure failed"
}
|