[arch-commits] Commit in soundtouch/repos/extra-i686 (7 files)

Eric Bélanger eric at archlinux.org
Sun Aug 21 23:31:52 UTC 2011


    Date: Sunday, August 21, 2011 @ 19:31:51
  Author: eric
Revision: 136035

archrelease: copy trunk to extra-i686

Added:
  soundtouch/repos/extra-i686/PKGBUILD
    (from rev 136034, soundtouch/trunk/PKGBUILD)
  soundtouch/repos/extra-i686/soundtouch-1.4.0-mmx-sse-compile-fix.patch
    (from rev 136034, soundtouch/trunk/soundtouch-1.4.0-mmx-sse-compile-fix.patch)
  soundtouch/repos/extra-i686/soundtouch-1.4.0-x86_64-asm-broken.patch
    (from rev 136034, soundtouch/trunk/soundtouch-1.4.0-x86_64-asm-broken.patch)
Deleted:
  soundtouch/repos/extra-i686/ChangeLog
  soundtouch/repos/extra-i686/PKGBUILD
  soundtouch/repos/extra-i686/soundtouch-1.4.0-mmx-sse-compile-fix.patch
  soundtouch/repos/extra-i686/soundtouch-1.4.0-x86_64-asm-broken.patch

--------------------------------------------+
 ChangeLog                                  |   10 ---
 PKGBUILD                                   |   73 +++++++++++++--------------
 soundtouch-1.4.0-mmx-sse-compile-fix.patch |   28 +++++-----
 soundtouch-1.4.0-x86_64-asm-broken.patch   |   24 ++++----
 4 files changed, 63 insertions(+), 72 deletions(-)

Deleted: ChangeLog
===================================================================
--- ChangeLog	2011-08-21 23:31:11 UTC (rev 136034)
+++ ChangeLog	2011-08-21 23:31:51 UTC (rev 136035)
@@ -1,10 +0,0 @@
-2010-02-06  Eric Belanger  <eric at archlinux.org>
-
-	* soundtouch 1.5.0-1
-	* Upstream update
-	* Added shared libs
-
-2008-12-12  Eric Belanger  <eric at archlinux.org>
-
-	* soundtouch 1.3.1-3
-	* Added to [extra] repo

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2011-08-21 23:31:11 UTC (rev 136034)
+++ PKGBUILD	2011-08-21 23:31:51 UTC (rev 136035)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
-# Contributor: Jaroslaw Swierczynski <swiergot at juvepoland.com>
-# Contributor: Raymano <re1212122000 at yahoo.com>
-
-pkgname=soundtouch
-pkgver=1.5.0
-pkgrel=1
-pkgdesc="An audio processing library"
-arch=('i686' 'x86_64')
-url="http://www.surina.net/soundtouch/"
-license=('LGPL')
-depends=('gcc-libs')
-options=('!libtool')
-source=(http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz
-        soundtouch-1.4.0-mmx-sse-compile-fix.patch
-        soundtouch-1.4.0-x86_64-asm-broken.patch)
-md5sums=('5456481d8707d2a2c27466ea64a099cb' 'f0204136c90ce4f6d4761073151eb4dc'\
-         '0d856bb5b519b18c6ba3a2e1770bdfd2')
-sha1sums=('c3e73419acec242a49a408b78c55883def937fc0' '39815091c4cb1817f8a56b8fb29fa684984514d1'\
-         '95282cca856b3b8645fadb530ce5eb892074f193')
-
-build() {
-  cd "${srcdir}/${pkgname}"
-  patch -Np1 -i "${srcdir}/soundtouch-1.4.0-mmx-sse-compile-fix.patch" || return 1
-  patch -Np1 -i "${srcdir}/soundtouch-1.4.0-x86_64-asm-broken.patch" || return 1
-  if [ "${CARCH}" = "x86_64" ]; then
-    ./configure --prefix=/usr --enable-shared --with-pic || return 1
-  else
-    ./configure --prefix=/usr --enable-shared || return 1
-  fi
-  make || return 1
-  make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install || return 1
-  # Upstream changed pkgconfig filename
-  ln -sf soundtouch-1.4.pc "${pkgdir}/usr/lib/pkgconfig/soundtouch-1.0.pc" || return 1
-}

Copied: soundtouch/repos/extra-i686/PKGBUILD (from rev 136034, soundtouch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-08-21 23:31:51 UTC (rev 136035)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=soundtouch
+pkgver=1.6.0
+pkgrel=1
+pkgdesc="An audio processing library"
+arch=('i686' 'x86_64')
+url="http://www.surina.net/soundtouch/"
+license=('LGPL')
+depends=('gcc-libs')
+options=('!libtool')
+source=(http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz
+        soundtouch-1.4.0-mmx-sse-compile-fix.patch
+        soundtouch-1.4.0-x86_64-asm-broken.patch)
+md5sums=('aa1c63d4d67b033f044a6a48d2be5bdd'
+         '108cd080b4b0ebe8ed1f950ff1315e7a'
+         '0d856bb5b519b18c6ba3a2e1770bdfd2')
+sha1sums=('9871dcbf75a68665a3515bb9dda4727beb0358e7'
+          '7a245aacadcb3003e73c1c202c8de0ecc09283ac'
+          '95282cca856b3b8645fadb530ce5eb892074f193')
+
+build() {
+  cd "${srcdir}/${pkgname}"
+  patch -p1 -i "${srcdir}/soundtouch-1.4.0-mmx-sse-compile-fix.patch"
+  patch -p1 -i "${srcdir}/soundtouch-1.4.0-x86_64-asm-broken.patch"
+
+  [ "${CARCH}" = "x86_64" ] && CONFIGFLAG="--with-pic"
+  ./bootstrap
+  ./configure --prefix=/usr --enable-shared ${CONFIGFLAG}
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}"
+  make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install
+}

Deleted: soundtouch-1.4.0-mmx-sse-compile-fix.patch
===================================================================
--- soundtouch-1.4.0-mmx-sse-compile-fix.patch	2011-08-21 23:31:11 UTC (rev 136034)
+++ soundtouch-1.4.0-mmx-sse-compile-fix.patch	2011-08-21 23:31:51 UTC (rev 136035)
@@ -1,14 +0,0 @@
-diff -up soundtouch/source/SoundTouch/Makefile.in~ soundtouch/source/SoundTouch/Makefile.in
---- soundtouch/source/SoundTouch/Makefile.in~	2009-02-15 11:21:36.000000000 +0100
-+++ soundtouch/source/SoundTouch/Makefile.in	2009-02-15 11:23:30.000000000 +0100
-@@ -209,7 +209,9 @@ libSoundTouch_la_SOURCES = AAFilter.cpp 
- # 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
-+mmx_optimized.lo : AM_CXXFLAGS = -mmmx -fcheck-new -I../../include
-+sse_optimized.lo : AM_CXXFLAGS = -msse -fcheck-new -I../../include
- all: all-am
- 
- .SUFFIXES:

Copied: soundtouch/repos/extra-i686/soundtouch-1.4.0-mmx-sse-compile-fix.patch (from rev 136034, soundtouch/trunk/soundtouch-1.4.0-mmx-sse-compile-fix.patch)
===================================================================
--- soundtouch-1.4.0-mmx-sse-compile-fix.patch	                        (rev 0)
+++ soundtouch-1.4.0-mmx-sse-compile-fix.patch	2011-08-21 23:31:51 UTC (rev 136035)
@@ -0,0 +1,14 @@
+diff -up soundtouch/source/SoundTouch/Makefile.am~ soundtouch/source/SoundTouch/Makefile.am
+--- soundtouch/source/SoundTouch/Makefile.am~	2009-02-15 11:21:36.000000000 +0100
++++ soundtouch/source/SoundTouch/Makefile.am	2009-02-15 11:23:30.000000000 +0100
+@@ -36,7 +36,9 @@
+ # 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
++mmx_optimized.lo : AM_CXXFLAGS = -mmmx -fcheck-new -I../../include
++sse_optimized.lo : AM_CXXFLAGS = -msse -fcheck-new -I../../include
+ 
+ 
+ # other linking flags to add

Deleted: soundtouch-1.4.0-x86_64-asm-broken.patch
===================================================================
--- soundtouch-1.4.0-x86_64-asm-broken.patch	2011-08-21 23:31:11 UTC (rev 136034)
+++ soundtouch-1.4.0-x86_64-asm-broken.patch	2011-08-21 23:31:51 UTC (rev 136035)
@@ -1,12 +0,0 @@
-diff -up soundtouch/include/STTypes.h~ soundtouch/include/STTypes.h
---- soundtouch/include/STTypes.h~	2009-01-25 17:32:53.000000000 +0100
-+++ soundtouch/include/STTypes.h	2009-02-14 22:22:37.000000000 +0100
-@@ -87,7 +87,7 @@ namespace soundtouch
-  
-  #endif
- 
--    #if (WIN32 || __i386__ || __x86_64__)
-+    #if (WIN32 || __i386__)
-         /// Define this to allow X86-specific assembler/intrinsic optimizations. 
-         /// Notice that library contains also usual C++ versions of each of these
-         /// these routines, so if you're having difficulties getting the optimized 

Copied: soundtouch/repos/extra-i686/soundtouch-1.4.0-x86_64-asm-broken.patch (from rev 136034, soundtouch/trunk/soundtouch-1.4.0-x86_64-asm-broken.patch)
===================================================================
--- soundtouch-1.4.0-x86_64-asm-broken.patch	                        (rev 0)
+++ soundtouch-1.4.0-x86_64-asm-broken.patch	2011-08-21 23:31:51 UTC (rev 136035)
@@ -0,0 +1,12 @@
+diff -up soundtouch/include/STTypes.h~ soundtouch/include/STTypes.h
+--- soundtouch/include/STTypes.h~	2009-01-25 17:32:53.000000000 +0100
++++ soundtouch/include/STTypes.h	2009-02-14 22:22:37.000000000 +0100
+@@ -87,7 +87,7 @@ namespace soundtouch
+  
+  #endif
+ 
+-    #if (WIN32 || __i386__ || __x86_64__)
++    #if (WIN32 || __i386__)
+         /// Define this to allow X86-specific assembler/intrinsic optimizations. 
+         /// Notice that library contains also usual C++ versions of each of these
+         /// these routines, so if you're having difficulties getting the optimized 




More information about the arch-commits mailing list