diff options
Diffstat (limited to 'desktop/ssr')
-rw-r--r-- | desktop/ssr/Benchmark.cpp.patch | 11 | ||||
-rw-r--r-- | desktop/ssr/ssr.SlackBuild | 33 | ||||
-rw-r--r-- | desktop/ssr/ssr.info | 6 |
3 files changed, 19 insertions, 31 deletions
diff --git a/desktop/ssr/Benchmark.cpp.patch b/desktop/ssr/Benchmark.cpp.patch deleted file mode 100644 index 9161a4ba82..0000000000 --- a/desktop/ssr/Benchmark.cpp.patch +++ /dev/null @@ -1,11 +0,0 @@ -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 4045b88bcc..d05528afa5 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.8} +VERSION=${VERSION:-0.3.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,30 +70,29 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; if [ "${JACK:-off}" = "on" ]; then - jack="--enable-jack" + jack="-DWITH_JACK=TRUE" else - jack="--without-jack" + jack="-DWITH_JACK=FALSE" fi -patch -p1 < $CWD/Benchmark.cpp.patch +mkdir build +cd build + cmake $jack \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DWITH_PULSEAUDIO=TRUE \ + .. -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --disable-assert \ - --enable-pulseaudio \ - $jack \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG + make + make install DESTDIR=$PKG +cd - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +mv $PKG/usr/share/man $PKG/usr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done diff --git a/desktop/ssr/ssr.info b/desktop/ssr/ssr.info index decb1e6672..6b7cc534f3 100644 --- a/desktop/ssr/ssr.info +++ b/desktop/ssr/ssr.info @@ -1,8 +1,8 @@ PRGNAM="ssr" -VERSION="0.3.8" +VERSION="0.3.9" HOMEPAGE="http://www.maartenbaert.be/simplescreenrecorder/" -DOWNLOAD="https://github.com/MaartenBaert/ssr/archive/0.3.8/ssr-0.3.8.tar.gz" -MD5SUM="722eda8b3af5137f2f173a8492fb2cf1" +DOWNLOAD="https://github.com/MaartenBaert/ssr/archive/0.3.9/ssr-0.3.9.tar.gz" +MD5SUM="5caa2a10128189d93a7a0699014d3925" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ffmpeg" |