46 lines
1 KiB
Bash
46 lines
1 KiB
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
AUTOTOOLS_AUTORECONF=yes
|
|
inherit autotools-utils
|
|
|
|
DESCRIPTION="A set of open source instruments and effects for digital audio workstations"
|
|
HOMEPAGE="http://calf-studio-gear.org/"
|
|
|
|
if [[ "${PV}" = "9999" ]] ; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/calf-studio-gear/calf.git"
|
|
else
|
|
SRC_URI="https://github.com/calf-studio-gear/calf/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64 ~x86"
|
|
fi
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
IUSE="lash lv2 static-libs"
|
|
|
|
RDEPEND="dev-libs/atk
|
|
dev-libs/expat
|
|
dev-libs/glib:2
|
|
gnome-base/libglade:2.0
|
|
media-sound/fluidsynth
|
|
media-sound/jack-audio-connection-kit
|
|
x11-libs/cairo
|
|
x11-libs/gdk-pixbuf
|
|
x11-libs/gtk+:2
|
|
x11-libs/pango
|
|
lash? ( media-sound/lash )
|
|
lv2? ( media-libs/lv2 )"
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig"
|
|
|
|
src_configure() {
|
|
myeconfargs=(
|
|
--with-lv2-dir=/usr/$(get_libdir)/lv2
|
|
$(use_with lash)
|
|
$(use_with lv2)
|
|
)
|
|
autotools-utils_src_configure
|
|
}
|