summaryrefslogtreecommitdiff
path: root/repo/alsa-plugins
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/alsa-plugins
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
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/
+}