summaryrefslogtreecommitdiff
path: root/repo/media/pulseaudio.xibuild
blob: dfb7831b7dfe3bee58f46e3a5f211a5aa6f71d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}