aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mediainfo
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+SBo@gmail.com>2017-03-12 15:11:29 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-18 06:58:18 +0700
commitc905e56ecf6a253413167f763fbf9b9ff89d8277 (patch)
tree997b0ac8d8976fa85cdd702835588ed815348079 /multimedia/mediainfo
parentf12a42271477ad94bddc2bfa3dc5474f9faf2ffb (diff)
multimedia/mediainfo: Updated for version 0.7.93 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia/mediainfo')
-rw-r--r--multimedia/mediainfo/mediainfo.SlackBuild19
-rw-r--r--multimedia/mediainfo/mediainfo.info12
2 files changed, 16 insertions, 15 deletions
diff --git a/multimedia/mediainfo/mediainfo.SlackBuild b/multimedia/mediainfo/mediainfo.SlackBuild
index f166e30f66577..9f947b14937fd 100644
--- a/multimedia/mediainfo/mediainfo.SlackBuild
+++ b/multimedia/mediainfo/mediainfo.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for mediainfo
+# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
# Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com>
@@ -25,13 +26,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mediainfo
-VERSION=${VERSION:-0.7.72}
+VERSION=${VERSION:-0.7.93}
+SRCNAM=MediaInfo_CLI_${VERSION}_GNU_FromSource
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +44,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -62,8 +64,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf MediaInfo
-tar xvf $CWD/${PRGNAM}_${VERSION}.tar.bz2
-cd MediaInfo
+tar xvf $CWD/${SRCNAM}.tar.xz
+cd MediaInfo_CLI_GNU_FromSource
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -76,8 +78,7 @@ if [ -d $TMP/MediaInfoLib ]; then
rm -rf $TMP/MediaInfoLib
fi
-cd Project/GNU/CLI
-./autogen
+cd MediaInfo/Project/GNU/CLI
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -102,7 +103,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a History_CLI.txt *.html $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a MediaInfo/History_CLI.txt MediaInfo/License.html MediaInfo/LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
diff --git a/multimedia/mediainfo/mediainfo.info b/multimedia/mediainfo/mediainfo.info
index bc22c3dd36e33..4a44f3a84d6ec 100644
--- a/multimedia/mediainfo/mediainfo.info
+++ b/multimedia/mediainfo/mediainfo.info
@@ -1,10 +1,10 @@
PRGNAM="mediainfo"
-VERSION="0.7.72"
-HOMEPAGE="http://mediainfo.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/mediainfo/files/source/mediainfo/0.7.72/mediainfo_0.7.72.tar.bz2"
-MD5SUM="af57c2a85cf87fa8e9e238ee3382b8c2"
+VERSION="0.7.93"
+HOMEPAGE="https://mediaarea.net/en/MediaInfo/"
+DOWNLOAD="https://mediaarea.net/download/binary/mediainfo/0.7.93/MediaInfo_CLI_0.7.93_GNU_FromSource.tar.xz"
+MD5SUM="7a9501afc0b98280c860dc35435fc95e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libmediainfo"
-MAINTAINER="Ryan P.C. McQuen"
-EMAIL="ryanpcmcquen@member.fsf.org"
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"