diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2024-08-30 09:33:31 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-08-31 07:56:44 +0700 |
commit | 340322d50bf76abb91b567045166fde39c4ae17b (patch) | |
tree | 997ee637063e44010c8b6fa32971a1d570bb93d0 /multimedia | |
parent | 1493081a962fa7728b8e3d89c21edc8ea0db57c0 (diff) |
multimedia/vapoursynth: Updated for version R69.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vapoursynth/vapoursynth.SlackBuild | 20 | ||||
-rw-r--r-- | multimedia/vapoursynth/vapoursynth.info | 6 |
2 files changed, 7 insertions, 19 deletions
diff --git a/multimedia/vapoursynth/vapoursynth.SlackBuild b/multimedia/vapoursynth/vapoursynth.SlackBuild index b30763078554..7dd9e848acef 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 <limits>' src/core/genericfilters.cpp -sed -i '19a#include <limits>' src/core/kernel/generic.cpp -sed -i '21i#include <limits>' src/core/exprfilter.cpp -sed -i '21i#include <limits>' src/filters/misc/miscfilters.cpp -sed -i '27i#include <limits>' 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 e2c97cade7de..11fad2731b87 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" |