blob: 7089e240a771e60dad8ecfd708f38005e72e85c4 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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=16.1
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
}
|