blob: 956f16ac14eafacf196e416c64eca9fc2b2947cd (
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Reverb and Impulse Response Convolution plug-ins (Audacious/JACK)"
HOMEPAGE="https://savannah.nongnu.org/projects/freeverb3"
SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="forcefpu openmp plugdouble threads"
RDEPEND="sci-libs/fftw:3.0="
DEPEND="${RDEPEND}"
src_configure() {
local myeconfargs=(
--enable-release
--enable-undenormal
--disable-autocflags
--disable-pluginit
--disable-profile
--disable-sample
--disable-srcnewcoeffs
--disable-audacious
--disable-jack
$(use_enable openmp omp)
$(use_enable plugdouble)
$(use_enable threads pthread)
)
econf "${myeconfargs[@]}"
}
src_install() {
emake DESTDIR="${D}" install
einstalldocs
insinto /usr/share/${PN}/samples/IR
doins samples/IR/*.wav
}
|