From 88fea5a7ae67d5a1cfa9f6a32e5f820a31861d5f Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 22 Feb 2022 17:16:33 +0000 Subject: added audio and media libraries --- repo/media/pulseaudio.xibuild | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 repo/media/pulseaudio.xibuild (limited to 'repo/media/pulseaudio.xibuild') 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 +} -- cgit v1.2.1