mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
multimedia/vapoursynth: Updated for version R69.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1493081a96
commit
340322d50b
2 changed files with 7 additions and 19 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue