55 lines
1 KiB
Bash
55 lines
1 KiB
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
|
|
inherit autotools
|
|
|
|
MY_P=${P/ams/amS}
|
|
|
|
DESCRIPTION="Virtual analogue synthesizer"
|
|
HOMEPAGE="https://code.google.com/p/amsynth/"
|
|
SRC_URI="https://amsynth.googlecode.com/files/${MY_P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ppc x86"
|
|
IUSE="alsa dssi jack lash oss sndfile"
|
|
|
|
RDEPEND="dev-cpp/gtkmm:2.4
|
|
sndfile? ( >=media-libs/libsndfile-1:= )
|
|
alsa? (
|
|
media-libs/alsa-lib:=
|
|
media-sound/alsa-utils
|
|
)
|
|
dssi? (
|
|
media-libs/dssi:=
|
|
media-libs/liblo:=
|
|
>=x11-libs/gtk+-2.20:2
|
|
)
|
|
jack? ( media-sound/jack-audio-connection-kit )
|
|
lash? ( media-sound/lash )"
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig
|
|
oss? ( virtual/os-headers )"
|
|
|
|
DOCS="AUTHORS README"
|
|
|
|
S=${WORKDIR}/${MY_P}
|
|
|
|
src_prepare() {
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
CFLAGS="" \
|
|
CXXFLAGS="${CXXFLAGS}" \
|
|
$(use_with oss) \
|
|
$(use_with alsa) \
|
|
$(use_with jack) \
|
|
$(use_with lash) \
|
|
$(use_with sndfile) \
|
|
$(use_with dssi)
|
|
}
|