diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-08-22 08:02:42 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-08-22 08:02:42 +0000 |
commit | cc57e3b3b80f44c8d29263c40a3f3a5c9768683e (patch) | |
tree | ddff258c1f1bc2e09ba93d50f9e2c5e3972c44d6 /media-libs/libsoundtouch | |
parent | Version bump. Removed old (diff) | |
download | historical-cc57e3b3b80f44c8d29263c40a3f3a5c9768683e.tar.gz historical-cc57e3b3b80f44c8d29263c40a3f3a5c9768683e.tar.bz2 historical-cc57e3b3b80f44c8d29263c40a3f3a5c9768683e.zip |
Version bump (bug #376261 by Alex Barker). Add static-libs USE flag.
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libsoundtouch')
-rw-r--r-- | media-libs/libsoundtouch/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/libsoundtouch/Manifest | 19 | ||||
-rw-r--r-- | media-libs/libsoundtouch/files/libsoundtouch-1.6.0-flags.patch | 25 | ||||
-rw-r--r-- | media-libs/libsoundtouch/libsoundtouch-1.6.0.ebuild | 48 |
4 files changed, 99 insertions, 3 deletions
diff --git a/media-libs/libsoundtouch/ChangeLog b/media-libs/libsoundtouch/ChangeLog index e9741c029e89..a50969a9c521 100644 --- a/media-libs/libsoundtouch/ChangeLog +++ b/media-libs/libsoundtouch/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libsoundtouch -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/ChangeLog,v 1.41 2010/10/15 13:50:25 ranger Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/ChangeLog,v 1.42 2011/08/22 08:02:42 radhermit Exp $ + +*libsoundtouch-1.6.0 (22 Aug 2011) + + 22 Aug 2011; Tim Harder <radhermit@gentoo.org> +libsoundtouch-1.6.0.ebuild, + +files/libsoundtouch-1.6.0-flags.patch: + Version bump (bug #376261 by Alex Barker). Add static-libs USE flag. 15 Oct 2010; Brent Baude <ranger@gentoo.org> libsoundtouch-1.5.0.ebuild: stable ppc, bug 325875 diff --git a/media-libs/libsoundtouch/Manifest b/media-libs/libsoundtouch/Manifest index 9218749fa777..fa6c9bc0de91 100644 --- a/media-libs/libsoundtouch/Manifest +++ b/media-libs/libsoundtouch/Manifest @@ -1,5 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + AUX libsoundtouch-1.5.0-flags_and_version.patch 1693 RMD160 8a456e9901d875b1242abf08b40b9b0bf0714964 SHA1 7a7f6c920bdca4f31dead935f31b3073d9a8f4c3 SHA256 d82f1f7313f007291f9d12a82d3880de9594bf9c9ba11453bcaa4e6cdedf3ab7 +AUX libsoundtouch-1.6.0-flags.patch 798 RMD160 73393362f0a437339b2ea68b5a4fa7fb9c3e43af SHA1 e77f1a1abbbb31a25f56f075f8e512f9c1d80bc3 SHA256 130813eadcbb4fea03bcdd1e697bbb1c05111f1ca58aa034997d6f4d2422e7d3 DIST soundtouch-1.5.0.tar.gz 283273 RMD160 da95a81bd34d2808a9bd771c442ca4cfdf7de3c6 SHA1 c3e73419acec242a49a408b78c55883def937fc0 SHA256 a1465b327f513ab3f75fbf5eba039a21568eebcf0dc18ce2809f874b5a79b1af +DIST soundtouch-1.6.0.tar.gz 94852 RMD160 6d05dac27d163f46b632f06db4b52d83cf123158 SHA1 9871dcbf75a68665a3515bb9dda4727beb0358e7 SHA256 8776edaf7299ffe1e8c97285f020365a63c0e01aa4f6f7c5fd1d011c0ded278f EBUILD libsoundtouch-1.5.0.ebuild 1280 RMD160 08e28d3ee3b39adff62395e500037c216a313ca6 SHA1 17f98ea8b8f80419bfab55ec5181c7ffdc29fc2e SHA256 a9b792d33bfe9655f4eb536fc85d902f615d2981ca86beebc9274c8afb6953b7 -MISC ChangeLog 5817 RMD160 6d63cb759866310ce52f931ee064a49cb5d68ac3 SHA1 fa1aca4df0039299467aeef2d328c09fd0210a33 SHA256 c1f14ec413772547b5031f17a0b8d79b838c80250158df19ee6236cc9811147a +EBUILD libsoundtouch-1.6.0.ebuild 1218 RMD160 35163bda1bba171ea41ac4e8050a05328efb095e SHA1 49ff620b0d71ecddc610962ae6489154b72a561c SHA256 d19353295d5365c3df2b68cc2a0ea61af68c2f391d9a52187f44dc1796fd677c +MISC ChangeLog 6048 RMD160 729ced2e0afe1d5da67594603bccb41307d52959 SHA1 6f7ed8ef1ffb8d9259ba3a94a53cd8473afb167d SHA256 2cf8a6680ee8a9839f904f7066165f115003aeefc2d677bca1cfc18cc33bcbd5 MISC metadata.xml 159 RMD160 568344dc99ebe68c2e2d43d268d186757532144d SHA1 3f9589301dbaa4363c56de0f309cf792d8c38b63 SHA256 eb5b8cfa9aed067cd72d6439beac2dd0abdba30248f27e4b337012b493a18369 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQEcBAEBCgAGBQJOUg0nAAoJEEqz6FtPBkyjJDAH/3ZNYiwz88bNXau4AkC0wO+s +eDqy0FVTnHylXNELKBMwp8qxaDQ/HoTP6UWn99Tczrc7yKzeiqQMFyuKHqiD57DU +dLQnXvZnARgp1KqY2jNvFL4Xr5cM1vrQBuQNEs3pTEnJPoUX8S94kP1hxhFdtUKZ +mUPGG6GyrfMeeAwTCVQjohIIbW7TiyHMPeBuHtB51pxChcO2ce50kVEe1rHtbLZ1 +D97TLQPNT+hAuiaqyOb04xu4BJI3R5ykG5h8Eri2SFuyE+UebjrZoUV0w/YgUQGq +HZAEFbi4p7mheEBUaouK0eoaixKki5mGsZru+xDatwrfFGETdUmK8XA163lUO1U= +=q60y +-----END PGP SIGNATURE----- diff --git a/media-libs/libsoundtouch/files/libsoundtouch-1.6.0-flags.patch b/media-libs/libsoundtouch/files/libsoundtouch-1.6.0-flags.patch new file mode 100644 index 000000000000..94c37dbbe409 --- /dev/null +++ b/media-libs/libsoundtouch/files/libsoundtouch-1.6.0-flags.patch @@ -0,0 +1,25 @@ +--- soundtouch.orig/source/SoundStretch/Makefile.am ++++ soundtouch/source/SoundStretch/Makefile.am +@@ -43,11 +43,5 @@ + ## linker.
+ soundstretch_LDADD=../SoundTouch/libSoundTouch.la -lm
+
+-## linker flags
+-soundstretch_LDFLAGS=-s
+-
+-## additional compiler flags
+-soundstretch_CXXFLAGS=-O3
+-
+ #clean-local:
+ # -rm -f additional-files-to-remove-on-make-clean
+--- soundtouch.orig/source/SoundTouch/Makefile.am ++++ soundtouch/source/SoundTouch/Makefile.am +@@ -36,7 +36,7 @@ + # Note by authore: '-msse2' might not work in non-X86 compilations. If someone can
+ # fix this script to automatically check for CPU architecture, please submit a patch
+ # to me.
+-AM_CXXFLAGS=-O3 -msse2 -fcheck-new -I../../include
++AM_CXXFLAGS=-fcheck-new -I../../include
+
+
+ # other linking flags to add
diff --git a/media-libs/libsoundtouch/libsoundtouch-1.6.0.ebuild b/media-libs/libsoundtouch/libsoundtouch-1.6.0.ebuild new file mode 100644 index 000000000000..66328bac2c74 --- /dev/null +++ b/media-libs/libsoundtouch/libsoundtouch-1.6.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2011 Gentoo FoundationOU +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsoundtouch/libsoundtouch-1.6.0.ebuild,v 1.1 2011/08/22 08:02:42 radhermit Exp $ + +EAPI=4 +inherit autotools eutils flag-o-matic + +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 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="sse2 static-libs" + +S=${WORKDIR}/${MY_PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-flags.patch + sed -i -e "s:^\(pkgdoc_DATA=\)COPYING.TXT :\1:" Makefile.am || die + 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-integer-samples \ + $(use_enable static-libs static) +} + +src_compile() { + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" +} + +src_install() { + emake DESTDIR="${ED}" pkgdocdir="${EPREFIX}/usr/share/doc/${PF}/html" install + find "${ED}" -name '*.la' -exec rm -f '{}' + +} |