diff options
Diffstat (limited to 'desktop/ssr')
-rw-r--r-- | desktop/ssr/Benchmark.cpp.patch | 11 | ||||
-rw-r--r-- | desktop/ssr/ssr.SlackBuild | 4 | ||||
-rw-r--r-- | desktop/ssr/ssr.info | 2 |
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 0000000000..9161a4ba82 --- /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 ff3ef8d4db..ea5a87f7e3 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 8dd914274b..98fc63c373 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="" |