mgorny      14/06/07 16:03:34

  Modified:             ChangeLog
  Added:                libsoundtouch-1.8.0-r1.ebuild
  Log:
  Enable multilib support, bug #510686.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.79                 media-libs/libsoundtouch/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsoundtouch/ChangeLog?rev=1.79&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsoundtouch/ChangeLog?rev=1.79&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsoundtouch/ChangeLog?r1=1.78&r2=1.79

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/ChangeLog,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- ChangeLog   11 May 2014 08:12:26 -0000      1.78
+++ ChangeLog   7 Jun 2014 16:03:34 -0000       1.79
@@ -1,6 +1,11 @@
 # ChangeLog for media-libs/libsoundtouch
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/ChangeLog,v 1.78 
2014/05/11 08:12:26 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/ChangeLog,v 1.79 
2014/06/07 16:03:34 mgorny Exp $
+
+*libsoundtouch-1.8.0-r1 (07 Jun 2014)
+
+  07 Jun 2014; Michał Górny <[email protected]> +libsoundtouch-1.8.0-r1.ebuild:
+  Enable multilib support, bug #510686.
 
   11 May 2014; Agostino Sarubbo <[email protected]> libsoundtouch-1.8.0.ebuild:
   Stable for ppc64, wrt bug #502842



1.1                  media-libs/libsoundtouch/libsoundtouch-1.8.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsoundtouch/libsoundtouch-1.8.0-r1.ebuild?rev=1.1&view=markup
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

Index: libsoundtouch-1.8.0-r1.ebuild
===================================================================
# 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-r1.ebuild,v
 1.1 2014/06/07 16:03:34 mgorny Exp $

EAPI=5
inherit autotools eutils flag-o-matic multilib-minimal

MY_PN=${PN/lib}

DESCRIPTION="Audio processing library for changing tempo, pitch and playback 
rates."
HOMEPAGE="http://www.surina.net/soundtouch/";
SRC_URI="http://www.surina.net/soundtouch/${P/lib}.tar.gz";

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x86-solaris"
IUSE="sse2 static-libs"

DEPEND="virtual/pkgconfig[${MULTILIB_USEDEP}]"

S=${WORKDIR}/${MY_PN}

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
}

multilib_src_configure() {
        ECONF_SOURCE=${S} \
        econf \
                --enable-shared \
                --disable-integer-samples \
                --enable-x86-optimizations=$(usex sse2) \
                $(use_enable static-libs static)
}

multilib_src_compile() {
        emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
}

multilib_src_install() {
        emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}/html 
install
}

multilib_src_install_all() {
        prune_libtool_files
}




Reply via email to