summaryrefslogtreecommitdiff
path: root/repo/media/pulseaudio.xibuild
blob: e3d4a2215770208742bb6c9dde56cbf6ec2d0f37 (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 check)
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
}