Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libsoundtouch: libsoundtouch-1.8.0-r1.ebuild ChangeLog
Date: Sat, 07 Jun 2014 16:03:40
Message-Id: 20140607160335.0EA2C2004E@flycatcher.gentoo.org
1 mgorny 14/06/07 16:03:34
2
3 Modified: ChangeLog
4 Added: libsoundtouch-1.8.0-r1.ebuild
5 Log:
6 Enable multilib support, bug #510686.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.79 media-libs/libsoundtouch/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsoundtouch/ChangeLog?rev=1.79&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsoundtouch/ChangeLog?rev=1.79&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsoundtouch/ChangeLog?r1=1.78&r2=1.79
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/ChangeLog,v
20 retrieving revision 1.78
21 retrieving revision 1.79
22 diff -u -r1.78 -r1.79
23 --- ChangeLog 11 May 2014 08:12:26 -0000 1.78
24 +++ ChangeLog 7 Jun 2014 16:03:34 -0000 1.79
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-libs/libsoundtouch
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/ChangeLog,v 1.78 2014/05/11 08:12:26 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/ChangeLog,v 1.79 2014/06/07 16:03:34 mgorny Exp $
30 +
31 +*libsoundtouch-1.8.0-r1 (07 Jun 2014)
32 +
33 + 07 Jun 2014; Michał Górny <mgorny@g.o> +libsoundtouch-1.8.0-r1.ebuild:
34 + Enable multilib support, bug #510686.
35
36 11 May 2014; Agostino Sarubbo <ago@g.o> libsoundtouch-1.8.0.ebuild:
37 Stable for ppc64, wrt bug #502842
38
39
40
41 1.1 media-libs/libsoundtouch/libsoundtouch-1.8.0-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsoundtouch/libsoundtouch-1.8.0-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsoundtouch/libsoundtouch-1.8.0-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libsoundtouch-1.8.0-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/libsoundtouch-1.8.0-r1.ebuild,v 1.1 2014/06/07 16:03:34 mgorny Exp $
51
52 EAPI=5
53 inherit autotools eutils flag-o-matic multilib-minimal
54
55 MY_PN=${PN/lib}
56
57 DESCRIPTION="Audio processing library for changing tempo, pitch and playback rates."
58 HOMEPAGE="http://www.surina.net/soundtouch/"
59 SRC_URI="http://www.surina.net/soundtouch/${P/lib}.tar.gz"
60
61 LICENSE="LGPL-2.1"
62 SLOT="0"
63 KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
64 IUSE="sse2 static-libs"
65
66 DEPEND="virtual/pkgconfig[${MULTILIB_USEDEP}]"
67
68 S=${WORKDIR}/${MY_PN}
69
70 src_prepare() {
71 epatch "${FILESDIR}"/${PN}-1.7.0-flags.patch
72 sed -i "s:^\(pkgdoc_DATA=\)COPYING.TXT :\1:" Makefile.am || die
73 sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' configure.ac || die
74 eautoreconf
75 }
76
77 multilib_src_configure() {
78 ECONF_SOURCE=${S} \
79 econf \
80 --enable-shared \
81 --disable-integer-samples \
82 --enable-x86-optimizations=$(usex sse2) \
83 $(use_enable static-libs static)
84 }
85
86 multilib_src_compile() {
87 emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
88 }
89
90 multilib_src_install() {
91 emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}/html install
92 }
93
94 multilib_src_install_all() {
95 prune_libtool_files
96 }