blob: f1eb34d0fcc18d5833c7afe3714683e00d1dcf1c (
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
|
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A set of free reverb effects"
HOMEPAGE="https://michaelwillis.github.io/dragonfly-reverb/"
SRC_URI="https://github.com/michaelwillis/dragonfly-reverb/releases/download/${PV}/${PN%-plugins}-${PV}-src.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
x11-libs/libX11
x11-libs/libXext
x11-libs/libXrandr
media-libs/libglvnd
virtual/jack
"
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/${PN%-plugins}-${PV}"
src_prepare() {
default
sed -i '/^BASE_OPTS/s/-O3//' dpf/Makefile.base.mk || die
}
src_compile() {
emake SKIP_STRIPPING=true
}
src_install() {
cd bin || die
for plugin in DragonflyEarlyReflections DragonflyHallReverb DragonflyPlateReverb DragonflyRoomReverb; do
for kind in clap lv2 vst3; do
insinto "/usr/$(get_libdir)/${kind}"
doins -r "${plugin}.${kind}"
done
done
}
|