summaryrefslogtreecommitdiff
path: root/extra/libffado/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libffado/PKGBUILD')
-rw-r--r--extra/libffado/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/libffado/PKGBUILD b/extra/libffado/PKGBUILD
index e97c9273f..5db7a3de8 100644
--- a/extra/libffado/PKGBUILD
+++ b/extra/libffado/PKGBUILD
@@ -7,14 +7,17 @@ pkgname=libffado
pkgver=2.0.1
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' 'libsigc++'
'libxml++' 'alsa-lib' 'dbus')
+[ "$CARCH" = "mips64el" ] || {
makedepends=('scons' 'python2-qt')
optdepends=('python2-qt: mixer applet')
-provides=('ffado')
+}
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('scons')
source=(http://www.ffado.org/files/$pkgname-$pkgver.tar.gz)
md5sums=('786f31facd417e6207e429f50af0e15e')
@@ -26,6 +29,8 @@ build() {
if [ "$CARCH" = "x86_64" ]; then
sed -i "s/-m64/-m64 $CFLAGS/g" SConstruct
+ elif [ "$CARCH" = "mips64el" ]; then
+ sed -i "s/-mn32/-mn32 $CFLAGS/g" SConstruct
else
sed -i "s/-m32/-m32 $CFLAGS/g" SConstruct
fi