summaryrefslogtreecommitdiff
path: root/repo/alsa-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'repo/alsa-plugins')
-rw-r--r--repo/alsa-plugins/alsa-plugins.xibuild22
-rw-r--r--repo/alsa-plugins/pulseaudio-alsa.xibuild9
2 files changed, 31 insertions, 0 deletions
diff --git a/repo/alsa-plugins/alsa-plugins.xibuild b/repo/alsa-plugins/alsa-plugins.xibuild
new file mode 100644
index 0000000..d85404e
--- /dev/null
+++ b/repo/alsa-plugins/alsa-plugins.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="musl alsa-lib"
+
+DESC="Additional ALSA plugins"
+
+PKG_VER=1.2.6
+SOURCE=https://www.alsa-project.org/files/pub/plugins/alsa-plugins-$PKG_VER.tar.bz2
+
+build () {
+ ./configure --sysconfdir=/etc &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+ mv "$PKG_DEST/etc/alsa/conf.d/99-pulseaudio-default.conf.example" \
+ "$PKG_DEST/usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf"
+
+}
+
diff --git a/repo/alsa-plugins/pulseaudio-alsa.xibuild b/repo/alsa-plugins/pulseaudio-alsa.xibuild
new file mode 100644
index 0000000..942ee75
--- /dev/null
+++ b/repo/alsa-plugins/pulseaudio-alsa.xibuild
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+DESC="Config files required for alsa to work with pulseaudio"
+DESP="alsa-plugins"
+
+package () {
+ mkdir -p $PKG_DEST/etc/alsa/conf.d
+ ln -s /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf $PKG_DEST/etc/alsa/conf.d/
+}