summaryrefslogtreecommitdiff
path: root/repo/media/pulseaudio.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-22 17:16:33 +0000
committerdavidovski <david@davidovski.xyz>2022-02-22 17:16:33 +0000
commit88fea5a7ae67d5a1cfa9f6a32e5f820a31861d5f (patch)
tree5b7d4feafc06fbb114a5f0bb20f3a630bbf15813 /repo/media/pulseaudio.xibuild
parent776eb1009737d85653861985965295d8e9c485d2 (diff)
added audio and media libraries
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
+}