summaryrefslogtreecommitdiff
path: root/repo/pulseaudio/pulseaudio.xibuild
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/pulseaudio/pulseaudio.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/pulseaudio/pulseaudio.xibuild')
-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
+}