desktop/ssr: Fix build problem.

This commit is contained in:
Benjamin Trigona-Harany 2016-09-22 21:07:00 -07:00 committed by Willy Sudiarto Raharjo
parent aa712e4db0
commit a9091a68f8
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 15 additions and 2 deletions

View file

@ -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"

View file

@ -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 \

View file

@ -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=""