From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/alsa-plugins/alsa-plugins.xibuild | 22 ++++++++++++++++++++++ repo/alsa-plugins/pulseaudio-alsa.xibuild | 9 +++++++++ 2 files changed, 31 insertions(+) create mode 100644 repo/alsa-plugins/alsa-plugins.xibuild create mode 100644 repo/alsa-plugins/pulseaudio-alsa.xibuild (limited to 'repo/alsa-plugins') 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/ +} -- cgit v1.2.1