diff options
author | Sebastian Pipping <sping@gentoo.org> | 2023-01-04 19:23:59 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2023-01-04 19:23:59 +0100 |
commit | da555ac9af37b1afe464cc1e49dbc623388797c2 (patch) | |
tree | d1b1b7a068e6c43ae8c56c145978c84e443248a1 /media-libs/freeverb3 | |
parent | app-emacs/xclip: move x11-misc/xclip to optfeature (diff) | |
download | gentoo-da555ac9af37b1afe464cc1e49dbc623388797c2.tar.gz gentoo-da555ac9af37b1afe464cc1e49dbc623388797c2.tar.bz2 gentoo-da555ac9af37b1afe464cc1e49dbc623388797c2.zip |
media-libs/freeverb3: Fix include path in pkg-config file
Closes: https://bugs.gentoo.org/889436
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'media-libs/freeverb3')
-rw-r--r-- | media-libs/freeverb3/files/freeverb3-3.2.1-pc-file.patch | 22 | ||||
-rw-r--r-- | media-libs/freeverb3/freeverb3-3.2.1-r4.ebuild | 48 |
2 files changed, 70 insertions, 0 deletions
diff --git a/media-libs/freeverb3/files/freeverb3-3.2.1-pc-file.patch b/media-libs/freeverb3/files/freeverb3-3.2.1-pc-file.patch new file mode 100644 index 000000000000..43ddaf25a5fb --- /dev/null +++ b/media-libs/freeverb3/files/freeverb3-3.2.1-pc-file.patch @@ -0,0 +1,22 @@ +From ecc07dc4f10c2b75e108d8fa7de31324d0e05659 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Wed, 4 Jan 2023 19:17:32 +0100 +Subject: [PATCH] pkg-config: Fix include directory + +--- + freeverb3-3.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/freeverb3-3.pc.in b/freeverb3-3.pc.in +index 8bbfda0..2403467 100644 +--- a/freeverb3-3.pc.in ++++ b/freeverb3-3.pc.in +@@ -8,4 +8,4 @@ Description: A library for processing audio effect (reverb, impulse response ... + Requires: + Version: @VERSION@ + Libs: @fftw3f_LIBS@ @fftw3_LIBS@ @fftw3l_LIBS@ -L${libdir} -lfreeverb3 +-Cflags: -I${includedir}/libfreeverb3-2 -I${includedir}/libsamplerate2 @fftw3f_CFLAGS@ @fftw3_CFLAGS@ @fftw3l_CFLAGS@ ++Cflags: -I${includedir}/libfreeverb3-3 -I${includedir}/libsamplerate2 @fftw3f_CFLAGS@ @fftw3_CFLAGS@ @fftw3l_CFLAGS@ +-- +2.39.0 + diff --git a/media-libs/freeverb3/freeverb3-3.2.1-r4.ebuild b/media-libs/freeverb3/freeverb3-3.2.1-r4.ebuild new file mode 100644 index 000000000000..71ad4905d940 --- /dev/null +++ b/media-libs/freeverb3/freeverb3-3.2.1-r4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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}" + +PATCHES=( + "${FILESDIR}"/${P}-pc-file.patch # bug 889436 +) + +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 + + find "${D}" -name '*.la' -delete || die # bug 847403 +} |