From 2536ca89dd33b7c8c8f9929b8d42ff0f7fcdd790 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 3 Jan 2013 07:02:36 +0000 Subject: [PATCH] extra/soundtouch to 1.7.1-1 --- extra/soundtouch/01_remove_sse.patch | 27 --------------------------- extra/soundtouch/PKGBUILD | 18 ++++++------------ 2 files changed, 6 insertions(+), 39 deletions(-) delete mode 100644 extra/soundtouch/01_remove_sse.patch diff --git a/extra/soundtouch/01_remove_sse.patch b/extra/soundtouch/01_remove_sse.patch deleted file mode 100644 index c09d42cc6..000000000 --- a/extra/soundtouch/01_remove_sse.patch +++ /dev/null @@ -1,27 +0,0 @@ -Description: Remove -msse2 build option for gcc. - This flag is only available for amd64 and i386 archs. -Forwarded: yes -Bug-Debian: http://bugs.debian.org/479809 -Last-Update: 2011-03-10 ---- a/source/SoundTouch/Makefile.am -+++ b/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=-O3 -fcheck-new -I../../include - - - # other linking flags to add ---- a/include/STTypes.h -+++ b/include/STTypes.h -@@ -93,7 +93,7 @@ - /// routines compiled for whatever reason, you may disable these optimizations - /// to make the library compile. - -- #define SOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS 1 -+ // #define SOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS 1 - - #endif - diff --git a/extra/soundtouch/PKGBUILD b/extra/soundtouch/PKGBUILD index 43b981f4d..51ac80379 100644 --- a/extra/soundtouch/PKGBUILD +++ b/extra/soundtouch/PKGBUILD @@ -1,15 +1,11 @@ # $Id: PKGBUILD 136035 2011-08-21 23:31:51Z eric $ # Maintainer: Eric BĂ©langer -# ALARM: Kevin Mihelich -# - removed upstream's x86 patches -# - added patch to pull sse flags from the build -# - --with-pic for v7h - -plugrel=1 +# ALARM: Kevin Mihelich +# - --with-pic for v6h/v7h pkgname=soundtouch -pkgver=1.6.0 +pkgver=1.7.1 pkgrel=1 pkgdesc="An audio processing library" arch=('i686' 'x86_64') @@ -17,14 +13,14 @@ url="http://www.surina.net/soundtouch/" license=('LGPL') depends=('gcc-libs') options=('!libtool') -source=(http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz - 01_remove_sse.patch) +source=(http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz) +sha1sums=('8b1a461754853f9c7328571449b7f9b8bd578a89') build() { cd "${srcdir}/${pkgname}" - patch -p1 -i "${srcdir}/01_remove_sse.patch" [ "${CARCH}" = "armv6h" -o "${CARCH}" = "armv7h" ] && CONFIGFLAG="--with-pic" + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac ./bootstrap ./configure --prefix=/usr --enable-shared ${CONFIGFLAG} make @@ -34,5 +30,3 @@ package() { cd "${srcdir}/${pkgname}" make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install } -md5sums=('aa1c63d4d67b033f044a6a48d2be5bdd' - '76442f1f6614be550c0ba1b031b606d8')