summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-03-12 20:59:15 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-17 08:51:42 +0700
commite0713c6196eea48690cdeb2c3387ba307f5edc5b (patch)
treeb6b20a6a8bc152209ef00853b583ee999fad0427
parentdc581c61789e00474e41710d75a819b8ba5e5a11 (diff)
downloadslackbuilds-e0713c6196eea48690cdeb2c3387ba307f5edc5b.tar.gz
desktop/ssr: Updated for version 0.3.10.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r--desktop/ssr/README4
-rw-r--r--desktop/ssr/ssr.SlackBuild12
-rw-r--r--desktop/ssr/ssr.info6
3 files changed, 10 insertions, 12 deletions
diff --git a/desktop/ssr/README b/desktop/ssr/README
index effa7abc6f..021c84fdcf 100644
--- a/desktop/ssr/README
+++ b/desktop/ssr/README
@@ -1,4 +1,6 @@
SimpleScreenRecorder is a feature-rich screen recorder for Linux that supports
X11 and OpenGL.
-For JACK audio support (requires jack-audio-connection-kit) set JACK=on.
+For JACK audio support (requires jack-audio-connection-kit) set JACK=TRUE.
+
+To build with Qt5 (requires qt5) set QT5=TRUE.
diff --git a/desktop/ssr/ssr.SlackBuild b/desktop/ssr/ssr.SlackBuild
index d05528afa5..14d88f4571 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.3.9}
+VERSION=${VERSION:-0.3.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,20 +69,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-if [ "${JACK:-off}" = "on" ]; then
- jack="-DWITH_JACK=TRUE"
-else
- jack="-DWITH_JACK=FALSE"
-fi
-
mkdir build
cd build
- cmake $jack \
+ cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_PULSEAUDIO=TRUE \
+ -DWITH_JACK="${JACK:-FALSE}" \
+ -DWITH_QT5="${QT5:-FALSE}" \
..
make
diff --git a/desktop/ssr/ssr.info b/desktop/ssr/ssr.info
index 6b7cc534f3..b35286cdc3 100644
--- a/desktop/ssr/ssr.info
+++ b/desktop/ssr/ssr.info
@@ -1,8 +1,8 @@
PRGNAM="ssr"
-VERSION="0.3.9"
+VERSION="0.3.10"
HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder/"
-DOWNLOAD="https://github.com/MaartenBaert/ssr/archive/0.3.9/ssr-0.3.9.tar.gz"
-MD5SUM="5caa2a10128189d93a7a0699014d3925"
+DOWNLOAD="https://github.com/MaartenBaert/ssr/archive/0.3.10/ssr-0.3.10.tar.gz"
+MD5SUM="f1a390e75f245a0e292a501aab98ce8c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg"