community/pulseaudio: enable test, enable s390x, disable building doc

Building doc and translation (man, po) requires gettext. We now run
testsuites in the price of not having doc and translation.
Neither of --disable-nls, ENABLE_NLS=0, HAVE_GETTEXT=0, USE_NLS=no work.
This commit is contained in:
Tuan Hoang 2019-06-25 15:35:10 +00:00 committed by Leo
parent 21b65c26f6
commit ed93125aaa

View File

@ -8,13 +8,13 @@ pkgver=12.2
pkgrel=4
pkgdesc="A featureful, general-purpose sound server"
url="http://www.freedesktop.org/wiki/Software/PulseAudio"
arch="all !s390x"
arch="all"
license="LGPL-2.1-or-later"
makedepends="m4 automake libtool intltool bash dbus-dev libcap-dev alsa-lib-dev
bluez-dev speexdsp-dev avahi-dev openssl-dev eudev-dev libsndfile-dev
gtk+3.0-dev json-c-dev fftw-dev sbc-dev jack-dev libatomic_ops-dev gettext-dev
autoconf autoconf-archive libsm-dev libice-dev xcb-util-dev libx11-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-bluez libpulse:_libpulse
subpackages="$pkgname-dev $pkgname-bluez libpulse:_libpulse
libpulse-mainloop-glib:_libpulse_mainloop_glib $pkgname-alsa $pkgname-utils
$pkgname-jack $pkgname-zeroconf $pkgname-openrc
$pkgname-bash-completion:bashcomp:noarch $pkgname-zsh-completion:zshcomp:noarch"
@ -26,7 +26,6 @@ source="https://freedesktop.org/software/pulseaudio/releases/pulseaudio-$pkgver.
b89d33bb182c42db5ad3987b0e91b7bf62f421e8.patch
300a1a96fa43ee456512843c671bdf1f9c75ca24.patch"
options="!check" # Tests try to access nls stuff, which we disable
prepare() {
default_prepare
@ -61,6 +60,7 @@ build() {
--enable-avahi
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
sed -i -e 's/SUBDIRS = src doxygen man po/SUBDIRS = src doxygen/g' Makefile
make
}