diff --git a/multimedia/vapoursynth/vapoursynth.SlackBuild b/multimedia/vapoursynth/vapoursynth.SlackBuild index b307630785..7dd9e848ac 100644 --- a/multimedia/vapoursynth/vapoursynth.SlackBuild +++ b/multimedia/vapoursynth/vapoursynth.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=vapoursynth -VERSION=${VERSION:-R52} -BUILD=${BUILD:-2} +VERSION=${VERSION:-R69} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -79,17 +76,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Fix undefined reference. -# https://github.com/vapoursynth/vapoursynth/pull/650 -patch -p1 < $CWD/650.patch - -# Thanks to Lockywolf -sed -i '38i#include ' src/core/genericfilters.cpp -sed -i '19a#include ' src/core/kernel/generic.cpp -sed -i '21i#include ' src/core/exprfilter.cpp -sed -i '21i#include ' src/filters/misc/miscfilters.cpp -sed -i '27i#include ' src/filters/removegrain/clense.cpp - autoreconf -fi CFLAGS="$SLKCFLAGS" \ @@ -103,6 +89,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +install -D -m0644 $CWD/$PRGNAM.xml $PKG/usr/share/mime/packages/$PRGNAM.xml + 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 diff --git a/multimedia/vapoursynth/vapoursynth.info b/multimedia/vapoursynth/vapoursynth.info index e2c97cade7..11fad2731b 100644 --- a/multimedia/vapoursynth/vapoursynth.info +++ b/multimedia/vapoursynth/vapoursynth.info @@ -1,8 +1,8 @@ PRGNAM="vapoursynth" -VERSION="R52" +VERSION="R69" HOMEPAGE="https://www.vapoursynth.com/" -DOWNLOAD="https://github.com/vapoursynth/vapoursynth/archive/R52/vapoursynth-R52.tar.gz" -MD5SUM="e6b37c3c7af6902f3835182292668550" +DOWNLOAD="https://github.com/vapoursynth/vapoursynth/archive/R69/vapoursynth-R69.tar.gz" +MD5SUM="87c61e60a1c3f23796121c635e472638" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="zimg"