diff options
Diffstat (limited to 'desktop/ssr/ssr.SlackBuild')
-rw-r--r-- | desktop/ssr/ssr.SlackBuild | 21 |
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 |