Version bump wrt #312957 by Wilfried Holzke.
authorSamuli Suominen <ssuominen@gentoo.org>
Tue, 13 Apr 2010 15:34:08 +0000 (15:34 +0000)
committerSamuli Suominen <ssuominen@gentoo.org>
Tue, 13 Apr 2010 15:34:08 +0000 (15:34 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

media-libs/libsoundtouch/ChangeLog
media-libs/libsoundtouch/Manifest
media-libs/libsoundtouch/files/libsoundtouch-1.5.0-flags_and_version.patch [new file with mode: 0644]
media-libs/libsoundtouch/libsoundtouch-1.5.0.ebuild [new file with mode: 0644]

index 1fbfbd742bd5acc83259d83e75dfd955a8af2429..fbbae650c2051866e3157f44075975a6327fd631 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for media-libs/libsoundtouch
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/ChangeLog,v 1.29 2009/07/06 09:02:03 ssuominen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/ChangeLog,v 1.30 2010/04/13 15:34:08 ssuominen Exp $
+
+*libsoundtouch-1.5.0 (13 Apr 2010)
+
+  13 Apr 2010; Samuli Suominen <ssuominen@gentoo.org>
+  +libsoundtouch-1.5.0.ebuild,
+  +files/libsoundtouch-1.5.0-flags_and_version.patch:
+  Version bump wrt #312957 by Wilfried Holzke.
 
   06 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
   libsoundtouch-1.4.0.ebuild:
index d2b3e82006c145b0680e36df1ba5d238551f9755..968658100d11cab4be3088a2452264caf1721d42 100644 (file)
@@ -1,9 +1,12 @@
 AUX libsoundtouch-1.3.1-Makefile.patch 1689 RMD160 07fba1196a080c0a6db64f56017e31a7852c68df SHA1 7ebc59901c404821b86ca62b97ea0ec86cffdd10 SHA256 984a1e91d09b370ea65ea568f2ef04b5a9eed11e10fccceef36119ea8fd8891b
 AUX libsoundtouch-1.3.1-gcc-4.3.patch 290 RMD160 354d8854a27f60a54b73fd12f9a7ebd4c68d00c0 SHA1 8cc098a7b08525e9b2bcafe1ceac2577171897fc SHA256 a08ec491b736783e6176b157ff0cf5caa3a03f84e53726dbd62100aeca4fe0ff
 AUX libsoundtouch-1.4.0-flags.patch 1138 RMD160 149b5a41691550f54c3505349118af69a24a0a63 SHA1 848b9bc6bd0ef2c80b39ecae67cc3ed1bd187836 SHA256 3b024fd846164aba418e9e9580262b705e564af8583f7188430ca4727658fa0b
+AUX libsoundtouch-1.5.0-flags_and_version.patch 1693 RMD160 8a456e9901d875b1242abf08b40b9b0bf0714964 SHA1 7a7f6c920bdca4f31dead935f31b3073d9a8f4c3 SHA256 d82f1f7313f007291f9d12a82d3880de9594bf9c9ba11453bcaa4e6cdedf3ab7
 DIST soundtouch-1.3.1.tar.gz 314641 RMD160 713526a201e8ba3e3180718ebf2cccdb285a9e1e SHA1 0b63e71dc94c917ce9f48431789a001063884cc8 SHA256 f268fb05200fc55e50e88772765a822628f1a0157a4a57cc9545ac50a0d4fd9c
 DIST soundtouch-1.4.0.tar.gz 413183 RMD160 d496a09aa3ebcffdab656d762dc3643b82c8c570 SHA1 c349476751dca48d1f330528d1126c7faa11d01e SHA256 d7f40b1acf24789b3d24316e368859df2784135c29d244181020f94d803a11fb
+DIST soundtouch-1.5.0.tar.gz 283273 RMD160 da95a81bd34d2808a9bd771c442ca4cfdf7de3c6 SHA1 c3e73419acec242a49a408b78c55883def937fc0 SHA256 a1465b327f513ab3f75fbf5eba039a21568eebcf0dc18ce2809f874b5a79b1af
 EBUILD libsoundtouch-1.3.1-r1.ebuild 1200 RMD160 1e972aae6ee1724161478623c2eab1f1d57d8f3c SHA1 3b795757196f00f2dc9f48351d0e7d2170315897 SHA256 ae085476b10a76b328447b7deefe551d37c96855de06a00bd8401dd2486cb693
 EBUILD libsoundtouch-1.4.0.ebuild 1343 RMD160 9f66135941b2c7474a5a10a90a911ac577b54e95 SHA1 ddac24bdba418a3b1c2bf8cb24a5cabf05925c26 SHA256 076c24176b4bdd38c3a7d95095e8ef7138e9166038c323203482ac6bb86515c8
-MISC ChangeLog 4400 RMD160 b0dca57e0d15906d1ba403c1a262f62e820a30d7 SHA1 5f1eb2d4a36d1da856e4c4c9a1c2c149d5fe89e2 SHA256 901f464a63f5ac873d968c490da04164cc796dcff5cdf3741f23f18cba5718b6
+EBUILD libsoundtouch-1.5.0.ebuild 1289 RMD160 20e8f0051ea32a9747a9d3d3624eb02cb0a1be5e SHA1 658281f967b50caf8b3c4cf013046f28cbc3a5f6 SHA256 144239266ae3be69874edcda5a4e4e84bff4aae3417d06d3a0debdbfc21ef118
+MISC ChangeLog 4623 RMD160 d12d97a90804c75440d954c25133002b03026290 SHA1 adb29d63a64c983aec14290919b5c60d5921ede2 SHA256 9d55c35a26daae284bf8b5d727a84cf27bedc2e0b6b48f5119bc9ba813e535be
 MISC metadata.xml 159 RMD160 568344dc99ebe68c2e2d43d268d186757532144d SHA1 3f9589301dbaa4363c56de0f309cf792d8c38b63 SHA256 eb5b8cfa9aed067cd72d6439beac2dd0abdba30248f27e4b337012b493a18369
diff --git a/media-libs/libsoundtouch/files/libsoundtouch-1.5.0-flags_and_version.patch b/media-libs/libsoundtouch/files/libsoundtouch-1.5.0-flags_and_version.patch
new file mode 100644 (file)
index 0000000..9cd8a90
--- /dev/null
@@ -0,0 +1,39 @@
+diff -ur soundtouch.orig/configure.ac soundtouch/configure.ac
+--- soundtouch.orig/configure.ac       2009-12-28 23:22:41.000000000 +0200
++++ soundtouch/configure.ac    2010-04-13 18:28:40.000000000 +0300
+@@ -19,7 +19,7 @@
+ dnl Place - Suite 330, Boston, MA  02111-1307, USA
+ # Process this file with autoconf to produce a configure script.
+ 
+-AC_INIT(SoundTouch, 1.4.0, [http://www.surina.net/soundtouch])
++AC_INIT(SoundTouch, 1.5.0, [http://www.surina.net/soundtouch])
+ AC_CONFIG_AUX_DIR(config)
+ AM_CONFIG_HEADER([include/soundtouch_config.h])
+ AM_INIT_AUTOMAKE
+diff -ur soundtouch.orig/source/SoundStretch/Makefile.am soundtouch/source/SoundStretch/Makefile.am
+--- soundtouch.orig/source/SoundStretch/Makefile.am    2009-12-28 23:22:33.000000000 +0200
++++ soundtouch/source/SoundStretch/Makefile.am 2010-04-13 18:29:53.000000000 +0300
+@@ -43,11 +43,5 @@
+ ## linker. \r
+ soundstretch_LDADD=../SoundTouch/libSoundTouch.la -lm\r
+ \r
+-## linker flags\r
+-soundstretch_LDFLAGS=-s\r
+-\r
+-## additional compiler flags\r
+-soundstretch_CXXFLAGS=-O3\r
+-\r
+ #clean-local: \r
+ #     -rm -f additional-files-to-remove-on-make-clean\r
+diff -ur soundtouch.orig/source/SoundTouch/Makefile.am soundtouch/source/SoundTouch/Makefile.am
+--- soundtouch.orig/source/SoundTouch/Makefile.am      2009-12-28 23:22:40.000000000 +0200
++++ soundtouch/source/SoundTouch/Makefile.am   2010-04-13 18:30:23.000000000 +0300
+@@ -36,7 +36,7 @@
+ # Note by authore: '-msse2' might not work in non-X86 compilations. If someone can\r
+ # fix this script to automatically check for CPU architecture, please submit a patch \r
+ # to me.\r
+-AM_CXXFLAGS=-O3 -msse2 -fcheck-new -I../../include\r
++AM_CXXFLAGS=-fcheck-new -I../../include\r
+ \r
+ \r
+ # other linking flags to add\r
diff --git a/media-libs/libsoundtouch/libsoundtouch-1.5.0.ebuild b/media-libs/libsoundtouch/libsoundtouch-1.5.0.ebuild
new file mode 100644 (file)
index 0000000..6a1cd0d
--- /dev/null
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/libsoundtouch-1.5.0.ebuild,v 1.1 2010/04/13 15:34:08 ssuominen Exp $
+
+EAPI=2
+MY_PN=${PN/lib}
+inherit autotools eutils flag-o-matic multilib
+
+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 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="sse2"
+
+S=${WORKDIR}/${MY_PN}
+
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-flags_and_version.patch
+       eautoreconf
+
+       if use sse2; then
+               append-flags -msse2
+       else
+               sed -i -e '/^.*#define ALLOW_X86_OPTIMIZATIONS.*$/d' \
+                       include/STTypes.h || die
+       fi
+}
+
+src_configure() {
+       econf \
+               --enable-shared \
+               --disable-dependency-tracking \
+               --disable-integer-samples
+}
+
+src_compile() {
+       emake CFLAGS="${CFLAGS}" \
+               CXXFLAGS="${CXXFLAGS}" || die
+}
+
+src_install() {
+       emake DESTDIR="${D}" pkgdocdir="/usr/share/doc/${PF}/html" \
+               install || die
+
+       # Upstream changed pkgconfig filename
+       dosym ${MY_PN}-1.4.pc \
+               /usr/$(get_libdir)/pkgconfig/${MY_PN}-1.0.pc || die
+
+       rm -f "${D}"/usr/share/doc/${PF}/html/COPYING.TXT
+}