aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-08-22 15:36:57 -0700
committerDonnie Berkholz <donnie@comet.(none)>2006-08-22 15:36:57 -0700
commit748ee6231586facf1ccac4db07a9ba216cc0ac16 (patch)
treec268990b3f2da331ce9dbf6270a235ce8e32c82a
parentAdd newer coriander than is in the tree, and add newer libdc1394 for it (diff)
downloaddberkholz-748ee6231586facf1ccac4db07a9ba216cc0ac16.tar.gz
dberkholz-748ee6231586facf1ccac4db07a9ba216cc0ac16.tar.bz2
dberkholz-748ee6231586facf1ccac4db07a9ba216cc0ac16.zip
Bump, and add patch to not stick in -O3 and random arch-specific CFLAGS
-rw-r--r--media-libs/libsoundtouch/Manifest12
-rw-r--r--media-libs/libsoundtouch/files/1.3.1-respect-cflags.patch12
-rw-r--r--media-libs/libsoundtouch/files/digest-libsoundtouch-1.3.13
-rw-r--r--media-libs/libsoundtouch/libsoundtouch-1.3.1.ebuild43
4 files changed, 70 insertions, 0 deletions
diff --git a/media-libs/libsoundtouch/Manifest b/media-libs/libsoundtouch/Manifest
new file mode 100644
index 0000000..53446c2
--- /dev/null
+++ b/media-libs/libsoundtouch/Manifest
@@ -0,0 +1,12 @@
+AUX 1.3.1-respect-cflags.patch 542 RMD160 ad8980911366c78a1c3e9c1a704a90ecf25c5f41 SHA1 c15111e04381625bed1860afa8ed1556ffdd73e9 SHA256 7659c33c0978e7c45b40f8429d7e4902dfda2fc012e1b34ac1de6284dd9c49b6
+MD5 cc557dd9d9d5c43d6321af8dfad88087 files/1.3.1-respect-cflags.patch 542
+RMD160 ad8980911366c78a1c3e9c1a704a90ecf25c5f41 files/1.3.1-respect-cflags.patch 542
+SHA256 7659c33c0978e7c45b40f8429d7e4902dfda2fc012e1b34ac1de6284dd9c49b6 files/1.3.1-respect-cflags.patch 542
+DIST soundtouch-1.3.1.tar.gz 314641 RMD160 713526a201e8ba3e3180718ebf2cccdb285a9e1e SHA1 0b63e71dc94c917ce9f48431789a001063884cc8 SHA256 f268fb05200fc55e50e88772765a822628f1a0157a4a57cc9545ac50a0d4fd9c
+EBUILD libsoundtouch-1.3.1.ebuild 1135 RMD160 3bbf1317394088ea1e0f8dd4a31c50e31593486c SHA1 4a2560a95441c6f15420ee409e7b9a0bb31cbc7c SHA256 3f401af149867308e0c8ea7a906b6d28e41622128c684f164ea41d0a419c14d1
+MD5 d5e719d4bc097354397e54111f4e6188 libsoundtouch-1.3.1.ebuild 1135
+RMD160 3bbf1317394088ea1e0f8dd4a31c50e31593486c libsoundtouch-1.3.1.ebuild 1135
+SHA256 3f401af149867308e0c8ea7a906b6d28e41622128c684f164ea41d0a419c14d1 libsoundtouch-1.3.1.ebuild 1135
+MD5 23dc1b2dd1856144bf481f0a3fe9f172 files/digest-libsoundtouch-1.3.1 250
+RMD160 e863368c0bb77e9402c3786bb7caac8c1cfc4cbd files/digest-libsoundtouch-1.3.1 250
+SHA256 bec03391957b88f453b620869ec8cd94478813bca683679870253f11790562eb files/digest-libsoundtouch-1.3.1 250
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 0000000..fe4de1a
--- /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.1 b/media-libs/libsoundtouch/files/digest-libsoundtouch-1.3.1
new file mode 100644
index 0000000..4cc1082
--- /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 0000000..3d38d40
--- /dev/null
+++ b/media-libs/libsoundtouch/libsoundtouch-1.3.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/libsoundtouch-1.3.0.ebuild,v 1.1 2005/05/19 02:47:17 kito 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
+}