blob: faa378e8366c94841baf99f48b0e10390ea82caf (
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
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Plugin API for software instruments with user interfaces"
HOMEPAGE="https://dssi.sourceforge.net/"
SRC_URI="mirror://sourceforge/dssi/${P}.tar.gz"
LICENSE="BSD LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
RDEPEND="
media-libs/alsa-lib
>=media-libs/liblo-0.12
>=media-libs/ladspa-sdk-1.12-r2
>=media-libs/libsndfile-1.0.11
>=media-libs/libsamplerate-0.1.1-r1
virtual/jack
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-1.1.1-no-werror.patch
)
src_prepare() {
default
sed -i \
-e 's:libdir=.*:libdir=@libdir@:' \
dssi.pc.in || die
sed -i -e '/PKG_CHECK_MODULES(QT/s:QtGui:dIsAbLe&:' configure.ac || die
eautoreconf
}
src_install() {
DOCS=( README doc/TODO doc/*.txt )
default
find "${ED}" -name '*.la' -delete || die "Pruning failed"
}
|