summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2016-01-06 16:08:37 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit86725cd603634c8c507e5ea8e6cba7a248b3748a (patch)
treeea65e67d42a9cc0c77c80b547be78ef9c5cb1b50 /misc
parent11831c6bf5d0397d2aca348ff33ef53279e191bf (diff)
downloadslackbuilds-86725cd603634c8c507e5ea8e6cba7a248b3748a.tar.gz
misc/projectM: Enable pulseaudio
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/projectM/projectM.SlackBuild9
1 files changed, 1 insertions, 8 deletions
diff --git a/misc/projectM/projectM.SlackBuild b/misc/projectM/projectM.SlackBuild
index 8011b9e627..398692bff0 100644
--- a/misc/projectM/projectM.SlackBuild
+++ b/misc/projectM/projectM.SlackBuild
@@ -22,13 +22,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Support or not for pulseaudio
-if [ "${PULSEAUDIO:-no}" = "no" ]; then
- USE_PULSEAUDIO="-DINCLUDE-PROJECTM-PULSEAUDIO:BOOLEAN=OFF"
-else
- USE_PULSEAUDIO="-DINCLUDE-PROJECTM-PULSEAUDIO:BOOLEAN=ON"
-fi
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -70,7 +63,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- $USE_PULSEAUDIO \
+ -DINCLUDE-PROJECTM-PULSEAUDIO:BOOLEAN=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG