summaryrefslogtreecommitdiff
path: root/misc/projectM/projectM.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/projectM/projectM.SlackBuild')
-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