summaryrefslogtreecommitdiff
path: root/repo/pulseaudio
diff options
context:
space:
mode:
Diffstat (limited to 'repo/pulseaudio')
-rw-r--r--repo/pulseaudio/pulseaudio.xibuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/repo/pulseaudio/pulseaudio.xibuild b/repo/pulseaudio/pulseaudio.xibuild
new file mode 100644
index 0000000..1df3660
--- /dev/null
+++ b/repo/pulseaudio/pulseaudio.xibuild
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+MAKEDEPS="make check soxr libx11 libxtst openssl eudev check libtool gtk3"
+DEPS="libsndfile alsa-lib dbus elogind glib libcap libxtst gdbm"
+
+DESC="A featureful, general-purpose sound server"
+
+PKG_VER=15.0
+SOURCE=https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-$PKG_VER.tar.xz
+
+build () {
+ mkdir build &&
+ cd build &&
+
+ meson --prefix=/usr \
+ -Dgcov=false \
+ -Dman=true \
+ -Dtests=true \
+ -Dsystem_user=pulse \
+ -Dsystem_group=pulse \
+ -Ddatabase=tdb \
+ -Dalsa=enabled \
+ -Ddbus=enabled \
+ -Dglib=enabled \
+ -Dgsettings=enabled \
+ -Dgtk=enabled \
+ -Dhal-compat=false \
+ -Dipv6=true \
+ -Ddatabase=gdbm \
+ -Dopenssl=enabled \
+ -Dsamplerate=disabled \
+ -Dsoxr=enabled \
+ -Dsystemd=disabled \
+ -Dudev=enabled \
+ -Dx11=enabled \
+ -Dudevrulesdir=/usr/lib/udev/rules.d \
+ -Ddoxygen=false &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+ rm -f $PKG_DEST/etc/dbus-1/system.d/pulseaudio-system.conf
+}