desktop/ssr: Updated for version 0.3.11.

Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
Benjamin Trigona-Harany 2018-05-22 21:16:04 -07:00 committed by Willy Sudiarto Raharjo
parent 1c4bec764e
commit 420d055461
2 changed files with 11 additions and 10 deletions

View File

@ -2,7 +2,7 @@
# SlackBuild script for ssr
# Copyright 2014 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# Copyright 2014-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ssr
VERSION=${VERSION:-0.3.10}
VERSION=${VERSION:-0.3.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -81,7 +81,6 @@ cd build
-DWITH_QT5="${QT5:-FALSE}" \
..
make
make install DESTDIR=$PKG
cd -
@ -93,7 +92,9 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG.md 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

View File

@ -1,8 +1,8 @@
PRGNAM="ssr"
VERSION="0.3.10"
VERSION="0.3.11"
HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder/"
DOWNLOAD="https://github.com/MaartenBaert/ssr/archive/0.3.10/ssr-0.3.10.tar.gz"
MD5SUM="f1a390e75f245a0e292a501aab98ce8c"
DOWNLOAD="https://github.com/MaartenBaert/ssr/archive/0.3.11/ssr-0.3.11.tar.gz"
MD5SUM="035dcd0a73667d27f890c9ad242d4cf0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg"