summaryrefslogtreecommitdiff
path: root/repo/media/pulseaudio/pulseaudio.xibuild
blob: 9554c72a1a5056db3a1e97e06ccbbe2abd49e933 (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/sh

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 -f $PKG_DEST/etc/dbus-1/system.d/pulseaudio-system.conf
}