mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-26 21:59:28 +01:00
pulseaudio: Handle bash-completion.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
03acdfcbdc
commit
567fb4cce4
1 changed files with 11 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
PRGNAM=pulseaudio
|
PRGNAM=pulseaudio
|
||||||
VERSION=${VERSION:-7.0}
|
VERSION=${VERSION:-7.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_csb}
|
TAG=${TAG:-_csb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -66,7 +66,15 @@ else
|
||||||
ORC=no
|
ORC=no
|
||||||
fi
|
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
|
||||||
|
|
||||||
sed -i -e '/@PA_BINARY@/ imkdir -p \$HOME/.config/pulse' src/daemon/start-pulseaudio-x11.in
|
sed -i -e '/@PA_BINARY@/ imkdir -p \$HOME/.config/pulse' src/daemon/start-pulseaudio-x11.in
|
||||||
|
echo "X-MATE-Autostart-Phase=Initialization" >>src/daemon/pulseaudio.desktop.in
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
@ -80,9 +88,11 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--enable-hal-compat \
|
--enable-hal-compat \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-default-build-tests \
|
--disable-default-build-tests \
|
||||||
|
--disable-tcpwrap \
|
||||||
--with-system-user=pulse \
|
--with-system-user=pulse \
|
||||||
--with-system-group=pulse \
|
--with-system-group=pulse \
|
||||||
--with-access-group=audio \
|
--with-access-group=audio \
|
||||||
|
--with-bash-completion-dir=$BASHCOMPLETIONDIR \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make -j1
|
make -j1
|
||||||
|
|
Loading…
Reference in a new issue