Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/rubberband/
Date: Wed, 23 Sep 2015 14:23:37
Message-Id: 1443018202.d05671f5c4950295e3a11d5e37a851c1b181a290.aballier@gentoo
1 commit: d05671f5c4950295e3a11d5e37a851c1b181a290
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 23 14:17:21 2015 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 23 14:23:22 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d05671f5
7
8 media-libs/rubberband: Convert to multilib.
9
10 Package-Manager: portage-2.2.21
11
12 media-libs/rubberband/rubberband-1.8.1-r1.ebuild | 47 ++++++++++++++++++++++++
13 1 file changed, 47 insertions(+)
14
15 diff --git a/media-libs/rubberband/rubberband-1.8.1-r1.ebuild b/media-libs/rubberband/rubberband-1.8.1-r1.ebuild
16 new file mode 100644
17 index 0000000..45423a7
18 --- /dev/null
19 +++ b/media-libs/rubberband/rubberband-1.8.1-r1.ebuild
20 @@ -0,0 +1,47 @@
21 +# Copyright 1999-2015 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +inherit multilib multilib-minimal
27 +
28 +DESCRIPTION="An audio time-stretching and pitch-shifting library and utility program"
29 +HOMEPAGE="http://www.breakfastquay.com/rubberband/"
30 +SRC_URI="http://code.breakfastquay.com/attachments/download/34/${P}.tar.bz2"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
35 +IUSE="static-libs"
36 +
37 +RDEPEND="media-libs/vamp-plugin-sdk[${MULTILIB_USEDEP}]
38 + media-libs/libsamplerate[${MULTILIB_USEDEP}]
39 + media-libs/libsndfile
40 + media-libs/ladspa-sdk
41 + sci-libs/fftw:3.0[${MULTILIB_USEDEP}]"
42 +DEPEND="${RDEPEND}
43 + virtual/pkgconfig"
44 +
45 +src_prepare() {
46 + if ! use static-libs ; then
47 + sed -e '/^all:/s/$(STATIC_TARGET)//' \
48 + -e '/^\tcp $(STATIC_TARGET)/d' \
49 + -i Makefile.in || die
50 + fi
51 + multilib_copy_sources
52 +}
53 +
54 +multilib_src_install() {
55 + emake INSTALL_BINDIR="${D}/usr/bin" \
56 + INSTALL_INCDIR="${D}/usr/include/rubberband" \
57 + INSTALL_LIBDIR="${D}/usr/$(get_libdir)" \
58 + INSTALL_VAMPDIR="${D}/usr/$(get_libdir)/vamp" \
59 + INSTALL_LADSPADIR="${D}/usr/$(get_libdir)/ladspa" \
60 + INSTALL_LRDFDIR="${D}/usr/share/ladspa/rdf" \
61 + INSTALL_PKGDIR="${D}/usr/$(get_libdir)/pkgconfig" \
62 + install
63 +}
64 +
65 +multilib_src_install_all() {
66 + dodoc CHANGELOG README.txt
67 +}