summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-08-24 06:20:53 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-08-24 06:20:53 +0000
commit99f7b786fe965ad6fee40cb6149e91e8692b684d (patch)
tree7b867256d992b16b411d2ef5a21fcf59888d4f90 /media-libs/libsoundtouch
parentInitial commit, ebuild by Robin H. Johnson <robbat2@gentoo.org>. (diff)
downloadgentoo-2-99f7b786fe965ad6fee40cb6149e91e8692b684d.tar.gz
gentoo-2-99f7b786fe965ad6fee40cb6149e91e8692b684d.tar.bz2
gentoo-2-99f7b786fe965ad6fee40cb6149e91e8692b684d.zip
Bump, fixes gcc4 compile.
(Portage version: 2.1.1_pre5-r2)
Diffstat (limited to 'media-libs/libsoundtouch')
-rw-r--r--media-libs/libsoundtouch/ChangeLog10
-rw-r--r--media-libs/libsoundtouch/files/1.3.1-respect-cflags.patch12
-rw-r--r--media-libs/libsoundtouch/files/digest-libsoundtouch-1.3.02
-rw-r--r--media-libs/libsoundtouch/files/digest-libsoundtouch-1.3.13
-rw-r--r--media-libs/libsoundtouch/libsoundtouch-1.3.1.ebuild43
5 files changed, 68 insertions, 2 deletions
diff --git a/media-libs/libsoundtouch/ChangeLog b/media-libs/libsoundtouch/ChangeLog
index 0defc1dec83e..95104b8cfb54 100644
--- a/media-libs/libsoundtouch/ChangeLog
+++ b/media-libs/libsoundtouch/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libsoundtouch
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/ChangeLog,v 1.7 2005/05/19 02:47:17 kito Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/ChangeLog,v 1.8 2006/08/24 06:20:53 dberkholz Exp $
+
+*libsoundtouch-1.3.1 (24 Aug 2006)
+
+ 24 Aug 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+ +files/1.3.1-respect-cflags.patch, +libsoundtouch-1.3.1.ebuild:
+ Bump, fixes gcc4 compile.
*libsoundtouch-1.3.0 (19 May 2005)
diff --git a/media-libs/libsoundtouch/files/1.3.1-respect-cflags.patch b/media-libs/libsoundtouch/files/1.3.1-respect-cflags.patch
new file mode 100644
index 000000000000..fe4de1a69009
--- /dev/null
+++ b/media-libs/libsoundtouch/files/1.3.1-respect-cflags.patch
@@ -0,0 +1,12 @@
+diff -urN soundtouch-1.3.1.orig/source/SoundTouch/Makefile.am soundtouch-1.3.1/source/SoundTouch/Makefile.am
+--- soundtouch-1.3.1.orig/source/SoundTouch/Makefile.am 2006-08-22 15:19:12.000000000 -0700
++++ soundtouch-1.3.1/source/SoundTouch/Makefile.am 2006-08-22 15:19:29.000000000 -0700
+@@ -35,7 +35,7 @@
+
+ # ??? test for -fcheck-new in configure.ac
+ # other compiler flags to add
+-AM_CXXFLAGS=-O3 -msse -fcheck-new -I../../include
++AM_CXXFLAGS=-fcheck-new -I../../include
+
+ # other linking flags to add
+ #libSoundTouch_la_LIBADD=
diff --git a/media-libs/libsoundtouch/files/digest-libsoundtouch-1.3.0 b/media-libs/libsoundtouch/files/digest-libsoundtouch-1.3.0
index 2da5af6eb919..eb9d5998442d 100644
--- a/media-libs/libsoundtouch/files/digest-libsoundtouch-1.3.0
+++ b/media-libs/libsoundtouch/files/digest-libsoundtouch-1.3.0
@@ -1 +1,3 @@
MD5 5c2d3f54320e5197885b3462f5f35a15 soundtouch_v1.3.0.zip 436780
+RMD160 ecb7e5ff722590eee845c2366e52ec41ac22a227 soundtouch_v1.3.0.zip 436780
+SHA256 14b3ebb416fb7edf4cafe680aa4a84d5548c9b2fc0174a00996282d3e29fa09d soundtouch_v1.3.0.zip 436780
diff --git a/media-libs/libsoundtouch/files/digest-libsoundtouch-1.3.1 b/media-libs/libsoundtouch/files/digest-libsoundtouch-1.3.1
new file mode 100644
index 000000000000..4cc1082213e1
--- /dev/null
+++ b/media-libs/libsoundtouch/files/digest-libsoundtouch-1.3.1
@@ -0,0 +1,3 @@
+MD5 5e0185e81dbba2f2eed8581b7664ab04 soundtouch-1.3.1.tar.gz 314641
+RMD160 713526a201e8ba3e3180718ebf2cccdb285a9e1e soundtouch-1.3.1.tar.gz 314641
+SHA256 f268fb05200fc55e50e88772765a822628f1a0157a4a57cc9545ac50a0d4fd9c soundtouch-1.3.1.tar.gz 314641
diff --git a/media-libs/libsoundtouch/libsoundtouch-1.3.1.ebuild b/media-libs/libsoundtouch/libsoundtouch-1.3.1.ebuild
new file mode 100644
index 000000000000..39f3bf83d20c
--- /dev/null
+++ b/media-libs/libsoundtouch/libsoundtouch-1.3.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/libsoundtouch-1.3.1.ebuild,v 1.1 2006/08/24 06:20:53 dberkholz Exp $
+
+inherit autotools
+
+IUSE="static"
+
+MY_P="${P/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/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos"
+
+RDEPEND="virtual/libc"
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-respect-cflags.patch
+ eautoreconf
+}
+
+src_compile() {
+ econf $myconf \
+ $(use_enable static) \
+ --disable-integer-samples \
+ --with-pic || die "./configure failed"
+ # fixes C(XX)FLAGS from configure, so we can use *ours*
+ emake CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" pkgdocdir="/usr/share/doc/${PF}" install || die
+ rm -f ${D}/usr/share/doc/${PF}/COPYING.TXT # remove obsolete LICENCE file
+}