summaryrefslogtreecommitdiff
blob: edaef45d9e2cfa797a88d824d4206c14fe887acb (plain)
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
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Utilities for MIDI streams and files using Jack MIDI"
HOMEPAGE="https://sourceforge.net/projects/jack-smf-utils/"
SRC_URI="https://sourceforge.net/projects/jack-smf-utils/files/${PN}/${PV}/${P}.tar.gz"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="lash readline"

RDEPEND="
	dev-libs/glib
	virtual/jack
	lash? ( media-sound/lash )
	readline? ( sys-libs/readline:0 )"
DEPEND="${RDEPEND}"
BDEPEND="
	virtual/pkgconfig"

src_configure() {
	econf \
		$(use_with lash) \
		$(use_with readline)
}