Summary: | media-libs/libsoundtouch - add multilib support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | farmboy0 |
Component: | [OLD] Library | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | multilib+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 454644, 510710 | ||
Attachments: | ebuild for multilib media-libs/libsoundtouch-1.8.0 |
Description
farmboy0
2014-05-18 21:22:12 UTC
Created attachment 377210 [details]
ebuild for multilib media-libs/libsoundtouch-1.8.0
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
}
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? 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. |