mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
desktop/ssr: Fix build problem.
This commit is contained in:
parent
aa712e4db0
commit
a9091a68f8
3 changed files with 15 additions and 2 deletions
11
desktop/ssr/Benchmark.cpp.patch
Normal file
11
desktop/ssr/Benchmark.cpp.patch
Normal 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"
|
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue