summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorblackhole2019-03-05 12:23:04 +0100
committerblackhole2019-03-05 12:23:04 +0100
commitb96bc9dbfc7176746ec6dc79f512d10d2125b45b (patch)
tree58b6e982d2433216435b24606886dbea3d8d6cc5
downloadaur-ravenna-alsa-daemon.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD27
-rw-r--r--merging_ravenna_daemon.conf5
-rw-r--r--ravenna-alsa.service13
-rwxr-xr-xravenna_start.sh4
5 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..03d88f3542c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = ravenna-alsa-daemon
+ pkgdesc = A daemon for ALSA RAVENNA/AES67 Driver
+ pkgver = 1.1
+ pkgrel = 1
+ url = https://bitbucket.org/MergingTechnologies/ravenna-alsa-lkm
+ arch = x86_64
+ license = custom
+ depends = glibc
+ depends = avahi
+ depends = ravenna-alsa-lkm-dkms
+ source = git+https://bitbucket.org/MergingTechnologies/ravenna-alsa-lkm.git
+ source = ravenna-alsa.service
+ source = merging_ravenna_daemon.conf
+ source = ravenna_start.sh
+ sha256sums = SKIP
+ sha256sums = cb8a2a9a19828c211b69c91752b65dece52302ccff4e051408e24ba4aa66c4b9
+ sha256sums = 87b5aeae3de90122a0c85458f8e597e6c3d365e7aff91c8c441c978623144de9
+ sha256sums = 359748b578e06808a4df5d9bc8f64cacfaf7d54025114a0cc83a2af2e65f1bdf
+
+pkgname = ravenna-alsa-daemon
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a17f85cea2e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+## Maintainer: AudioLinux <audiolinux AT fastmail DOT fm>
+
+pkgname=ravenna-alsa-daemon
+pkgver=1.1
+pkgrel=1
+pkgdesc="A daemon for ALSA RAVENNA/AES67 Driver"
+url="https://bitbucket.org/MergingTechnologies/ravenna-alsa-lkm"
+license=("custom")
+arch=('x86_64')
+depends=('glibc' 'avahi' 'ravenna-alsa-lkm-dkms')
+source=("git+https://bitbucket.org/MergingTechnologies/ravenna-alsa-lkm.git" 'ravenna-alsa.service' 'merging_ravenna_daemon.conf' 'ravenna_start.sh')
+sha256sums=('SKIP'
+ 'cb8a2a9a19828c211b69c91752b65dece52302ccff4e051408e24ba4aa66c4b9'
+ '87b5aeae3de90122a0c85458f8e597e6c3d365e7aff91c8c441c978623144de9'
+ '359748b578e06808a4df5d9bc8f64cacfaf7d54025114a0cc83a2af2e65f1bdf')
+
+package() {
+ install -Dm644 $srcdir/ravenna-alsa-lkm/Butler/LICENSE.md $pkgdir/usr/share/licenses/$pkgname/COPYING
+ rm $srcdir/ravenna-alsa-lkm/Butler/LICENSE.md
+ install -Dm644 ravenna-alsa.service $pkgdir/usr/lib/systemd/user/ravenna-alsa.service
+ install -d $pkgdir/opt/ravenna-alsa
+ cp -r $srcdir/ravenna-alsa-lkm/Butler/* $pkgdir/opt/ravenna-alsa/
+ cp $pkgdir/opt/ravenna-alsa/merging_ravenna_daemon.conf $pkgdir/opt/ravenna-alsa/merging_ravenna_daemon.conf.bak
+ cp merging_ravenna_daemon.conf $pkgdir/opt/ravenna-alsa/merging_ravenna_daemon.conf
+ install -Dm755 ravenna_start.sh $pkgdir/opt/ravenna-alsa/ravenna_start.sh
+ chmod +x $pkgdir/opt/ravenna-alsa/Merging_RAVENNA_Daemon
+}
diff --git a/merging_ravenna_daemon.conf b/merging_ravenna_daemon.conf
new file mode 100644
index 00000000000..2d9637ace84
--- /dev/null
+++ b/merging_ravenna_daemon.conf
@@ -0,0 +1,5 @@
+interface_name=bridge0
+web_app_port=9090
+web_app_path=/opt/ravenna-alsa/webapp/advanced/
+tic_frame_size_at_1fs=256
+
diff --git a/ravenna-alsa.service b/ravenna-alsa.service
new file mode 100644
index 00000000000..b1c4e6e33fc
--- /dev/null
+++ b/ravenna-alsa.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=daemon for ALSA RAVENNA/AES67 Driver
+Requires=sound.target
+After=sound.target
+
+[Service]
+Type=simple
+ExecStart=/bin/bash /opt/ravenna-alsa/ravenna_start.sh
+Restart=always
+RestartSec=2
+
+[Install]
+WantedBy=default.target
diff --git a/ravenna_start.sh b/ravenna_start.sh
new file mode 100755
index 00000000000..f964b3996be
--- /dev/null
+++ b/ravenna_start.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cd /opt/ravenna-alsa/
+LD_PRELOAD=/usr/lib/libcurl.so.3 /opt/ravenna-alsa/Merging_RAVENNA_Daemon