audio/pulseaudio: Handle bash-completion.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ff4625be02
commit
c6e5c054a6
|
@ -7,7 +7,7 @@
|
|||
|
||||
PRGNAM=pulseaudio
|
||||
VERSION=${VERSION:-7.0}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -63,6 +63,13 @@ else
|
|||
ORC=no
|
||||
fi
|
||||
|
||||
if pkg-config --exists bash-completion ; then
|
||||
BASHCOMPLETIONDIR=$(pkg-config --variable=completionsdir bash-completion)
|
||||
else
|
||||
echo "Setting completions directory manually."
|
||||
BASHCOMPLETIONDIR=/usr/share/bash-completion/completions
|
||||
fi
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./bootstrap.sh \
|
||||
|
@ -78,6 +85,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--with-system-user=pulse \
|
||||
--with-system-group=pulse \
|
||||
--with-access-group=audio \
|
||||
--with-bash-completion-dir=$BASHCOMPLETIONDIR \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make check
|
||||
|
|
Loading…
Reference in New Issue