diff options
Diffstat (limited to 'media-sound/brutefir/brutefir-1.0o.ebuild')
-rw-r--r-- | media-sound/brutefir/brutefir-1.0o.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/media-sound/brutefir/brutefir-1.0o.ebuild b/media-sound/brutefir/brutefir-1.0o.ebuild new file mode 100644 index 000000000000..62520e57bd6b --- /dev/null +++ b/media-sound/brutefir/brutefir-1.0o.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Software convolution engine for applying long FIR filters" +HOMEPAGE="https://torger.se/anders/brutefir.html" +SRC_URI="https://torger.se/anders/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + media-libs/alsa-lib + sci-libs/fftw:3.0 + virtual/jack" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-ld.patch" +) + +src_compile() { + tc-export AS CC + emake +} + +src_install() { + emake LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" install + dodoc CHANGES README + + insinto /usr/share/${PN} + doins xtc_config directpath.txt crosspath.txt massive_config \ + bench1_config bench2_config bench3_config bench4_config \ + bench5_config +} + +pkg_postinst() { + elog "Brutefir is a complicated piece of software. Please" + elog "read the documentation first! You can find" + elog "documentation here: http://www.ludd.luth.se/~torger/brutefir.html" + elog "Example config files are in /usr/share/brutefir" +} |