summaryrefslogtreecommitdiff
path: root/desktop/ssr/ssr.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2014-08-07 21:27:16 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-09 07:44:09 +0700
commitb1b4373e878161a703b8ab33d8c01f841469b700 (patch)
tree9c803142a7dbc82bf63c524e4ae67efce4d187ee /desktop/ssr/ssr.SlackBuild
parent2d60e09e4dc5c56d8e63436530c17675cd0f9c27 (diff)
downloadslackbuilds-b1b4373e878161a703b8ab33d8c01f841469b700.tar.gz
desktop/ssr: Updated for version 0.3.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'desktop/ssr/ssr.SlackBuild')
-rw-r--r--desktop/ssr/ssr.SlackBuild21
1 files changed, 16 insertions, 5 deletions
diff --git a/desktop/ssr/ssr.SlackBuild b/desktop/ssr/ssr.SlackBuild
index 85e849f1ab..1f0854add7 100644
--- a/desktop/ssr/ssr.SlackBuild
+++ b/desktop/ssr/ssr.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ssr
-VERSION=${VERSION:-0.2.2}
+VERSION=${VERSION:-0.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,7 +71,18 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+if [ "${JACK:-off}" = "on" ]; then
+ jack="--enable-jack"
+else
+ jack="--disable-jack"
+fi
+if [ "${PULSEAUDIO:-off}" = "on" ]; then
+ pulseaudio="--enable-pulseaudio"
+else
+ pulseaudio="--disable-pulseaudio"
+fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -79,8 +90,8 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-assert \
- --disable-jack \
- --disable-pulseaudio \
+ $jack \
+ $pulseaudio \
--build=$ARCH-slackware-linux
make
@@ -90,7 +101,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING notes.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md COPYING notes.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install