Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/brutefir/
Date: Fri, 07 Sep 2018 12:13:28
Message-Id: 1536322336.a4718a505b18fd3eba4cc4468468371ff75ccc5c.asturm@gentoo
1 commit: a4718a505b18fd3eba4cc4468468371ff75ccc5c
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Tue Sep 4 18:39:31 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 7 12:12:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4718a50
7
8 media-sound/brutefir: EAPI7 revbump, improve ebuild
9
10 Closes: https://bugs.gentoo.org/665238
11 Closes: https://github.com/gentoo/gentoo/pull/9779
12
13 media-sound/brutefir/brutefir-1.0k-r2.ebuild | 44 ++++++++++++++++++++++++++++
14 1 file changed, 44 insertions(+)
15
16 diff --git a/media-sound/brutefir/brutefir-1.0k-r2.ebuild b/media-sound/brutefir/brutefir-1.0k-r2.ebuild
17 new file mode 100644
18 index 00000000000..c4bc957fd6f
19 --- /dev/null
20 +++ b/media-sound/brutefir/brutefir-1.0k-r2.ebuild
21 @@ -0,0 +1,44 @@
22 +# Copyright 1999-2018 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit toolchain-funcs
28 +
29 +DESCRIPTION="Software convolution engine for applying long FIR filters"
30 +HOMEPAGE="https://www.ludd.ltu.se/~torger/brutefir.html"
31 +SRC_URI="https://www.ludd.ltu.se/~torger/files/${P}.tar.gz"
32 +
33 +LICENSE="GPL-2"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~ppc ~x86"
36 +
37 +RDEPEND="media-libs/alsa-lib
38 + media-sound/jack-audio-connection-kit
39 + sci-libs/fftw:3.0"
40 +DEPEND="${RDEPEND}"
41 +
42 +PATCHES=( "${FILESDIR}"/${P}-ld.patch )
43 +
44 +src_compile() {
45 + tc-export AS CC
46 + emake
47 +}
48 +
49 +src_install() {
50 + emake LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" \
51 + install
52 + dodoc CHANGES README
53 +
54 + insinto /usr/share/${PN}
55 + doins xtc_config directpath.txt crosspath.txt massive_config \
56 + bench1_config bench2_config bench3_config bench4_config \
57 + bench5_config
58 +}
59 +
60 +pkg_postinst() {
61 + elog "Brutefir is a complicated piece of software. Please"
62 + elog "read the documentation first! You can find"
63 + elog "documentation here: http://www.ludd.luth.se/~torger/brutefir.html"
64 + elog "Example config files are in /usr/share/brutefir"
65 +}