summaryrefslogtreecommitdiff
path: root/libraries/ffms2
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-24 21:53:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-24 21:53:06 +0700
commitc9f9db6a6d5213e0dd49780a151d76c8d59e1eb4 (patch)
treeb2c59f947b7fc31f6c0e6eca267fa95446f6caca /libraries/ffms2
parente3290eab713cdb4a560d343b106fb2b5ac3de048 (diff)
downloadslackbuilds-c9f9db6a6d5213e0dd49780a151d76c8d59e1eb4.tar.gz
libraries/ffms2: Updated for version 2.40.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ffms2')
-rw-r--r--libraries/ffms2/ffms2.SlackBuild8
-rw-r--r--libraries/ffms2/ffms2.info6
2 files changed, 8 insertions, 6 deletions
diff --git a/libraries/ffms2/ffms2.SlackBuild b/libraries/ffms2/ffms2.SlackBuild
index 245c2aa578..672dba18d3 100644
--- a/libraries/ffms2/ffms2.SlackBuild
+++ b/libraries/ffms2/ffms2.SlackBuild
@@ -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
diff --git a/libraries/ffms2/ffms2.info b/libraries/ffms2/ffms2.info
index 9a81628d06..307147c833 100644
--- a/libraries/ffms2/ffms2.info
+++ b/libraries/ffms2/ffms2.info
@@ -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=""