aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2016-09-22 21:07:00 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 07:06:01 +0700
commita9091a68f8d6430da14f7584ca518862d0f0246e (patch)
tree0603d748755f801ceb072ed0043e8964ca11fc9c /desktop
parentaa712e4db09b681ba31f397f334d87776c98e873 (diff)
desktop/ssr: Fix build problem.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/ssr/Benchmark.cpp.patch11
-rw-r--r--desktop/ssr/ssr.SlackBuild4
-rw-r--r--desktop/ssr/ssr.info2
3 files changed, 15 insertions, 2 deletions
diff --git a/desktop/ssr/Benchmark.cpp.patch b/desktop/ssr/Benchmark.cpp.patch
new file mode 100644
index 000000000000..9161a4ba820f
--- /dev/null
+++ b/desktop/ssr/Benchmark.cpp.patch
@@ -0,0 +1,11 @@
+diff -Naur ssr-0.3.6/src/Benchmark.cpp ssr-0.3.6.patched/src/Benchmark.cpp
+--- ssr-0.3.6/src/Benchmark.cpp 2015-11-02 13:13:49.000000000 -0800
++++ ssr-0.3.6.patched/src/Benchmark.cpp 2016-09-22 20:58:57.656010201 -0700
+@@ -19,6 +19,7 @@
+
+ #include "Benchmark.h"
+
++#include <random>
+ #include "AVWrapper.h"
+ #include "CPUFeatures.h"
+ #include "FastScaler_Convert.h"
diff --git a/desktop/ssr/ssr.SlackBuild b/desktop/ssr/ssr.SlackBuild
index ff3ef8d4dbb8..ea5a87f7e3d8 100644
--- a/desktop/ssr/ssr.SlackBuild
+++ b/desktop/ssr/ssr.SlackBuild
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -75,6 +75,8 @@ else
jack="--without-jack"
fi
+patch -p1 < $CWD/Benchmark.cpp.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/desktop/ssr/ssr.info b/desktop/ssr/ssr.info
index 8dd914274b7a..98fc63c3737e 100644
--- a/desktop/ssr/ssr.info
+++ b/desktop/ssr/ssr.info
@@ -1,7 +1,7 @@
PRGNAM="ssr"
VERSION="0.3.6"
HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder/"
-DOWNLOAD="https://github.com/MaartenBaert/ssr/archive/0.3.6.tar.gz"
+DOWNLOAD="https://github.com/MaartenBaert/ssr/archive/0.3.6/ssr-0.3.6.tar.gz"
MD5SUM="3c0dcf288c0cc1b21f4cd2010c73d5ae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""