You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1003 B
49 lines
1003 B
7 years ago
|
# Copyright 1999-2017 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=2
|
||
|
inherit autotools
|
||
|
|
||
|
DESCRIPTION="Plugin API for software instruments with user interfaces"
|
||
|
HOMEPAGE="http://dssi.sourceforge.net/"
|
||
|
SRC_URI="mirror://sourceforge/dssi/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="BSD LGPL-2.1"
|
||
|
SLOT="0"
|
||
12 years ago
|
KEYWORDS="amd64 ppc ppc64 x86"
|
||
13 years ago
|
IUSE="qt4"
|
||
|
|
||
|
RDEPEND="media-libs/alsa-lib
|
||
|
>=media-libs/liblo-0.12
|
||
7 years ago
|
virtual/jack
|
||
13 years ago
|
>=media-libs/ladspa-sdk-1.12-r2
|
||
|
>=media-libs/libsndfile-1.0.11
|
||
|
>=media-libs/libsamplerate-0.1.1-r1
|
||
11 years ago
|
qt4? ( dev-qt/qtgui:4 )"
|
||
13 years ago
|
DEPEND="${RDEPEND}
|
||
|
sys-apps/sed
|
||
12 years ago
|
virtual/pkgconfig"
|
||
13 years ago
|
|
||
|
src_prepare() {
|
||
|
sed -i \
|
||
|
-e 's:libdir=.*:libdir=@libdir@:' \
|
||
|
dssi.pc.in || die
|
||
|
|
||
|
if ! use qt4; then
|
||
|
sed -i -e '/PKG_CHECK_MODULES(QT/s:QtGui:dIsAbLe&:' configure.ac || die
|
||
|
fi
|
||
|
|
||
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
econf \
|
||
|
--disable-dependency-tracking
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
emake DESTDIR="${D}" install || die
|
||
|
dodoc README doc/TODO doc/*.txt
|
||
|
find "${D}" -name '*.la' -delete
|
||
|
}
|