forked from ports/compat-32
38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
# Description: PulseAudio is a cross-platform, networked sound server
|
|
# URL: https://www.freedesktop.org/wiki/Software/PulseAudio/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: dbus-32 eudev-32 gdbm-32 glib-32 libcap-32 libsndfile-32 libtool-32 openssl-32 opus-32 orc-32 pulseaudio speexdsp-32 flac-32 libvorbis-32 libogg-32
|
|
# Optional: avahi-32 bluez-32 fftw-32 glib-32 sbc-32 gst-plugins-base-32 xorg-libice xorg-libsm-32 xorg-libxtst-32
|
|
|
|
name=pulseaudio-32
|
|
version=16.1
|
|
release=1
|
|
source=(http://freedesktop.org/software/pulseaudio/releases/pulseaudio-$version.tar.xz)
|
|
|
|
build() {
|
|
prt-get isinst bluez-32 sbc-32 || PKGMK_PULSEAUDIO+=' -D bluez5=disabled'
|
|
prt-get isinst gst-plugins-base-32 || PKGMK_PULSEAUDIO+=' -D gstreamer=disabled'
|
|
prt-get isinst xorg-libice-32 xorg-libsm-32 xorg-libxtst-32 || PKGMK_PULSEAUDIO+=' -D x11=disabled'
|
|
|
|
meson setup pulseaudio-$version build $PKGMK_PULSEAUDIO \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--libexecdir=/usr/lib32/$name \
|
|
-D buildtype=plain \
|
|
-D udevrulesdir=/etc/udev/rules.d \
|
|
-D database=gdbm \
|
|
-D tests=false \
|
|
-D speex=enabled \
|
|
-D adrian-aec=false \
|
|
-D bashcompletiondir=no \
|
|
-D zshcompletiondir=no \
|
|
-D doxygen=false \
|
|
-D man=false
|
|
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -fr $PKG/usr/{bin,include,share}
|
|
rm -fr $PKG/{lib,etc}
|
|
}
|