summaryrefslogtreecommitdiff
path: root/multimedia/guvcview/guvcview.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2016-01-10 20:16:33 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit3ff69ac300de50dfb153de66e3d6a5d2e542e947 (patch)
tree73e2cf7df7106e9c7a4aedd36e6209ae0841a47a /multimedia/guvcview/guvcview.SlackBuild
parent6fc816bc85df114f6b396ce18c1f666e544d9052 (diff)
downloadslackbuilds-3ff69ac300de50dfb153de66e3d6a5d2e542e947.tar.gz
multimedia/guvcview: Enabled pulseaudio by default
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/guvcview/guvcview.SlackBuild')
-rw-r--r--multimedia/guvcview/guvcview.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/multimedia/guvcview/guvcview.SlackBuild b/multimedia/guvcview/guvcview.SlackBuild
index 89ab23eaa1..0817ec0caf 100644
--- a/multimedia/guvcview/guvcview.SlackBuild
+++ b/multimedia/guvcview/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