Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510686 - media-libs/libsoundtouch - add multilib support
Summary: media-libs/libsoundtouch - add multilib support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gx86-multilib 510710
  Show dependency tree
 
Reported: 2014-05-18 21:22 UTC by farmboy0
Modified: 2014-06-07 16:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for multilib media-libs/libsoundtouch-1.8.0 (libsoundtouch-1.8.0-r1.ebuild,1.08 KB, text/plain)
2014-05-18 21:23 UTC, farmboy0
Details

Note You need to log in before you can comment on or make changes to this bug.
Description farmboy0 2014-05-18 21:22:12 UTC
Update to media-libs/libsoundtouch-1.8.0 to make it multilib ready.
Comment 1 farmboy0 2014-05-18 21:23:38 UTC
Created attachment 377210 [details]
ebuild for multilib media-libs/libsoundtouch-1.8.0
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-18 23:03:04 UTC
Comment on attachment 377210 [details]
ebuild for multilib media-libs/libsoundtouch-1.8.0

--- libsoundtouch-1.8.0.ebuild  2014-05-17 06:48:54.993673282 +0200
+++ -   2014-05-19 01:02:48.064163393 +0200
@@ -1,9 +1,12 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/libsoundtouch-1.8.0.ebuild,v 1.6 2014/05/11 08:12:26 ago Exp $
+# $Header: $
 EAPI=5
-inherit autotools eutils flag-o-matic
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
+inherit autotools-multilib flag-o-matic
 MY_PN=${PN/lib}
@@ -13,33 +16,34 @@
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~arm hppa ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+KEYWORDS="~amd64"
 IUSE="sse2 static-libs"
 DEPEND="virtual/pkgconfig"
 S=${WORKDIR}/${MY_PN}
+PATCHES=( "${FILESDIR}"/${PN}-1.7.0-flags.patch )
+DOCS=( )
+
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-1.7.0-flags.patch
        sed -i "s:^\(pkgdoc_DATA=\)COPYING.TXT :\1:" Makefile.am || die
        sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' configure.ac || die
-       eautoreconf
+
+       autotools-multilib_src_prepare
 }
 src_configure() {
-       econf \
-               --enable-shared \
-               --disable-integer-samples \
-               --enable-x86-optimizations=$(usex sse2) \
+       local myeconfargs=(
+               --enable-shared
+               --disable-integer-samples
+               --enable-x86-optimizations=$(usex sse2)
                $(use_enable static-libs static)
-}
-
-src_compile() {
-       emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
+       )
+       autotools-multilib_src_configure
 }
 src_install() {
-       emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}/html install
-       prune_libtool_files
+       autotools-multilib_src_install \
+               pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}/html
 }
Comment 3 farmboy0 2014-06-07 15:47:23 UTC
Is there something wrong with this ebuild?
If there is please tell me so I can fix it or is there some other reason for the lack of progress on this bug?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-07 16:03:40 UTC
I'm sorry about the delay. It was purely a matter of lack of time and/or interest in this particular package going multilib. However, I was going to work on it today anyway since it is a dependency of gstreamer plugins.

So here it goes...

+*libsoundtouch-1.8.0-r1 (07 Jun 2014)
+
+  07 Jun 2014; Michał Górny <mgorny@gentoo.org> +libsoundtouch-1.8.0-r1.ebuild:
+  Enable multilib support, bug #510686.