summaryrefslogtreecommitdiff
path: root/repo/media/pulseaudio.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/media/pulseaudio.xibuild')
-rw-r--r--repo/media/pulseaudio.xibuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/media/pulseaudio.xibuild b/repo/media/pulseaudio.xibuild
new file mode 100644
index 0000000..dfb7831
--- /dev/null
+++ b/repo/media/pulseaudio.xibuild
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+MAKEDEPS=(make)
+DEPS=(libsndfile alsa-lib dbus elogind glib libcap speex 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 \
+ --buildtype=release \
+ -Ddatabase=gdbm \
+ -Ddoxygen=false \
+ -Dbluez5=disabled &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+ rm -fv $PKG_DEST/etc/dbus-1/system.d/pulseaudio-system.conf
+}