[arch-commits] Commit in libffado/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed Apr 29 09:45:39 UTC 2015


    Date: Wednesday, April 29, 2015 @ 11:45:39
  Author: jgc
Revision: 238246

upgpkg: libffado 2.2.1-2

Disable CPU-specific optimisation, x86_64 includes SSE/SSE2 by default anyways.

Modified:
  libffado/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-29 09:40:20 UTC (rev 238245)
+++ PKGBUILD	2015-04-29 09:45:39 UTC (rev 238246)
@@ -5,7 +5,7 @@
 
 pkgname=libffado
 pkgver=2.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Driver for FireWire audio devices"
 arch=('i686' 'x86_64')
 url="http://www.ffado.org/"
@@ -21,14 +21,6 @@
 md5sums=('e113d828835051f835fb4a329cb0cbd4'
          'acb6e0dca1239850c7862bf2e1443fd7')
 
-_scons-conf() {
-  scons DEBUG=False \
-        PREFIX=/usr \
-        MANDIR=/usr/share/man \
-        UDEVDIR=/usr/lib/udev/rules.d \
-        COMPILE_FLAGS="$CFLAGS" $@
-}
-
 prepare() {
   cd "$srcdir/$pkgname-$pkgver"
 
@@ -39,11 +31,11 @@
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  if [ "$CARCH" = 'x86_64' ]; then
-    _scons-conf ENABLE_OPTIMIZATIONS=True # SSE et al. not suitable for i686
-  else
-    _scons-conf
-  fi
+  scons DEBUG=False \
+        PREFIX=/usr \
+        MANDIR=/usr/share/man \
+        UDEVDIR=/usr/lib/udev/rules.d \
+        COMPILE_FLAGS="$CFLAGS"
 }
 
 package() {



More information about the arch-commits mailing list