summaryrefslogtreecommitdiff
path: root/extra/libffado/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libffado/PKGBUILD')
-rw-r--r--extra/libffado/PKGBUILD26
1 files changed, 16 insertions, 10 deletions
diff --git a/extra/libffado/PKGBUILD b/extra/libffado/PKGBUILD
index 5db7a3de8..29ecf2e1e 100644
--- a/extra/libffado/PKGBUILD
+++ b/extra/libffado/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 106834 2011-01-19 12:28:15Z andrea $
-# Maintainer: Ray Rashif <schivmeister@gmail.com>
+# $Id: PKGBUILD 142989 2011-11-19 21:35:53Z schiv $
+# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: galiyosha@gmail.com
# Contributor: Jon Kristian Nilsen <jokr.nilsen@gmail.com>
pkgname=libffado
pkgver=2.0.1
-pkgrel=3
+pkgrel=5
pkgdesc="Driver for FireWire audio devices"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.ffado.org/"
@@ -14,12 +14,13 @@ depends=('libiec61883' 'libavc1394' 'libsigc++'
'libxml++' 'alsa-lib' 'dbus')
[ "$CARCH" = "mips64el" ] || {
makedepends=('scons' 'python2-qt')
-optdepends=('python2-qt: mixer applet')
-}
-[ "$CARCH" = "mips64el" ] && \
-makedepends=('scons')
-source=(http://www.ffado.org/files/$pkgname-$pkgver.tar.gz)
-md5sums=('786f31facd417e6207e429f50af0e15e')
+optdepends=('python2: ffado-diag'
+ 'python2-qt: mixer applet')
+provides=('ffado')
+source=("http://www.ffado.org/files/$pkgname-$pkgver.tar.gz"
+ '60-ffado.rules')
+md5sums=('786f31facd417e6207e429f50af0e15e'
+ 'f03a3e950801c4405b8934084651bca8')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -46,7 +47,12 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
- scons DESTDIR="$pkgdir/" WILL_DEAL_WITH_XDG_MYSELF="True" install
+ scons DESTDIR="$pkgdir" WILL_DEAL_WITH_XDG_MYSELF="True" install
+
+ # add audio device rules
+ # see https://bugs.archlinux.org/task/26342
+ install -Dm644 "$srcdir/60-ffado.rules" \
+ "$pkgdir/lib/udev/rules.d/60-ffado.rules"
# python2 fix
for i in $(grep '^#!.*bin.*python' -R "$pkgdir" | sed 's/:.*//'); do