libraries/ffms2: Updated for version 2.40.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2021-04-24 21:53:06 +07:00
parent e3290eab71
commit c9f9db6a6d
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ffms2
VERSION=${VERSION:-2.23}
VERSION=${VERSION:-2.40}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -64,7 +64,7 @@ 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 {} \;
./configure \
./autogen.sh \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
@ -75,6 +75,8 @@ find -L . \
make
make install DESTDIR=$PKG
rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
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

View File

@ -1,8 +1,8 @@
PRGNAM="ffms2"
VERSION="2.23"
VERSION="2.40"
HOMEPAGE="https://github.com/FFMS/ffms2"
DOWNLOAD="https://github.com/FFMS/ffms2/archive/2.23/ffms2-2.23.tar.gz"
MD5SUM="e7728ae581e278ade6bc9f204faaff9e"
DOWNLOAD="https://github.com/FFMS/ffms2/archive/2.40/ffms2-2.40.tar.gz"
MD5SUM="141f194432d70bbf5456a847043f332a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""