summaryrefslogtreecommitdiff
path: root/extra/libffado/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libffado/PKGBUILD')
-rw-r--r--extra/libffado/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/libffado/PKGBUILD b/extra/libffado/PKGBUILD
index d1a09155e..b67e0a6a3 100644
--- a/extra/libffado/PKGBUILD
+++ b/extra/libffado/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libffado
pkgver=2.1.0
pkgrel=3
pkgdesc="Driver for FireWire audio devices"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ffado.org/"
license=('GPL')
depends=('libiec61883' 'libavc1394' 'dbus-c++'
@@ -35,8 +35,10 @@ build() {
# python2 fix
patch -Np1 -i "$srcdir/python2-qt.patch"
- # build!
- if [ "$CARCH" = 'x86_64' ]; then
+ if [ "$CARCH" = "x86_64" ]; then
+ _scons-conf ENABLE_OPTIMIZATIONS=True
+ elif [ "$CARCH" = "mips64el" ]; then
+ sed -i "s/-mn32/-mn32 $CFLAGS/g" SConstruct
_scons-conf ENABLE_OPTIMIZATIONS=True
else
_scons-conf