summaryrefslogtreecommitdiffstats
path: root/packages/media-libs/zita-convolver/zita-convolver-4.0.3.exheres-0
blob: 91bb41edda4d01ddf62082d869619aa6317b8cf3 (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
# Copyright 2026 Gurov <thuggerthugger1@duck.com>
# Distributed under the terms of the GNU General Public License v2

SUMMARY="Real-time convolution matrix library"
HOMEPAGE="https://kokkinizita.linuxaudio.org/linuxaudio/"
DOWNLOADS="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${PNV}.tar.bz2"

LICENCES="GPL-3+"
SLOT="4"
PLATFORMS="~amd64"

DEPENDENCIES="
    build+run:
        sci-libs/fftw
"

DEFAULT_SRC_PREPARE_PATCHES=(
    "${FILES}/${PNV}-makefile.patch"
)

src_compile() {
    emake -C source CXX="${CXX}"
}

src_install() {
    emake -C source install \
        CXX="${CXX}" \
        DESTDIR="${IMAGE}" \
        PREFIX="/usr/$(exhost --target)" \
        LIBDIR="/usr/$(exhost --target)/lib"

    emagicdocs
}