mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
multimedia/guvcview: Enabled pulseaudio by default
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
6fc816bc85
commit
3ff69ac300
2 changed files with 9 additions and 9 deletions
|
@ -4,6 +4,6 @@ This project aims at providing a simple GTK interface for capturing and
|
|||
viewing video from devices supported by the linux UVC driver, although
|
||||
it should also work with any v4l2 compatible device.
|
||||
|
||||
If you want to compile guvcview using PulseAudio support you can
|
||||
If you want to compile guvcview without PulseAudio support you can
|
||||
run the script as follows:
|
||||
PULSE=YES ./guvcview.SlackBuild
|
||||
PULSE=NO ./guvcview.SlackBuild
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=guvcview
|
||||
VERSION=${VERSION:-2.0.2}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
DOCS="AUTHORS COPYING ChangeLog INSTALL README.md"
|
||||
|
@ -43,7 +43,7 @@ PKG=$TMP/package-$PRGNAM
|
|||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
# By default, we don't want to use PulseAudio
|
||||
PULSE=${PULSE:-"no"}
|
||||
PULSE=${PULSE:-"yes"}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
|
@ -60,10 +60,10 @@ else
|
|||
fi
|
||||
|
||||
# Give users an option to use PulseAudio
|
||||
if [ "$PULSE" = "YES" ]; then
|
||||
PULSEAUDIO=""
|
||||
else
|
||||
if [ "$PULSE" = "NO" ]; then
|
||||
PULSEAUDIO="--disable-pulse"
|
||||
else
|
||||
PULSEAUDIO=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -91,8 +91,8 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--localstatedir=/var \
|
||||
--disable-debian-menu \
|
||||
--enable-static=no \
|
||||
$PULSEAUDIO \
|
||||
--build=$ARCH-slackware-linux
|
||||
--build=$ARCH-slackware-linux \
|
||||
$PULSEAUDIO
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
|
Loading…
Reference in a new issue