summaryrefslogtreecommitdiff
blob: d1b73627238bbedb4da1fd7eb53283ce073048d0 (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
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Yamaha DX7 modeling DSSI plugin"
HOMEPAGE="http://smbolton.com/hexter.html"
SRC_URI="https://github.com/smbolton/${PN}/releases/download/version_${PV}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="readline"

BDEPEND="
	virtual/pkgconfig
"
RDEPEND="
	media-libs/alsa-lib
	media-libs/dssi
	media-libs/liblo
	readline? (
		sys-libs/ncurses:0=
		sys-libs/readline:0=
	)
"
DEPEND="${RDEPEND}
	media-libs/ladspa-sdk
"

src_configure() {
	PKG_CONFIG=pkg-config \
	econf --without-gtk2 \
		$(use_with readline textui)
}

src_install() {
	default
	find "${D}" -name '*.la' -delete || die
}