Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/bio2jack/
Date: Mon, 01 Jan 2018 19:19:52
Message-Id: 1514834375.cde254c5c165e44474a078d0405114bc6bbfa2d4.fordfrog@gentoo
1 commit: cde254c5c165e44474a078d0405114bc6bbfa2d4
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 1 19:18:02 2018 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 1 19:19:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cde254c5
7
8 media-libs/bio2jack: bumped to eapi 6 and switched from media-sound/jack-audio-connection-kit to virtual/jack
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 media-libs/bio2jack/bio2jack-0.9-r2.ebuild | 45 ++++++++++++++++++++++++++++++
13 1 file changed, 45 insertions(+)
14
15 diff --git a/media-libs/bio2jack/bio2jack-0.9-r2.ebuild b/media-libs/bio2jack/bio2jack-0.9-r2.ebuild
16 new file mode 100644
17 index 00000000000..fd38ec0396d
18 --- /dev/null
19 +++ b/media-libs/bio2jack/bio2jack-0.9-r2.ebuild
20 @@ -0,0 +1,45 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +inherit autotools
26 +
27 +DESCRIPTION="A library for porting blocked I/O OSS/ALSA audio applications to JACK"
28 +HOMEPAGE="http://bio2jack.sourceforge.net/"
29 +SRC_URI="mirror://sourceforge/bio2jack/${P}.tar.gz"
30 +
31 +LICENSE="GPL-2"
32 +SLOT="0"
33 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
34 +IUSE="static-libs"
35 +
36 +RDEPEND="media-libs/libsamplerate
37 + virtual/jack"
38 +DEPEND="${RDEPEND}
39 + virtual/pkgconfig"
40 +
41 +S=${WORKDIR}/${PN}
42 +
43 +src_prepare() {
44 + eapply_user
45 +
46 + # upstream does not provide a real release, it releases a tarball
47 + # with a _prebuilt_ copy of bio2jack. Drop all of the built stuff
48 + # and recreate autotools from scratch, then build.
49 + rm -rf *.a *.o *.la *.lo .libs .deps Makefile config.{log,status} stamp-h1 stamp || die
50 +
51 + eautoreconf
52 +}
53 +
54 +src_configure() {
55 + econf \
56 + --enable-shared \
57 + $(use_enable static-libs static)
58 +}
59 +
60 +src_install() {
61 + emake DESTDIR="${D}" install
62 + dobin bio2jack-config
63 + dodoc AUTHORS ChangeLog NEWS README
64 + rm -f "${ED}"usr/lib*/lib*.la
65 +}