multimedia/mediainfo-gui: Updated for version 0.7.70.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ryan P.C. McQuen 2014-11-08 10:22:46 +07:00 committed by Willy Sudiarto Raharjo
parent 4716f1d259
commit 0eef9bd34c
2 changed files with 19 additions and 16 deletions

View file

@ -2,6 +2,8 @@
# Slackware build script for mediainfo-gui
# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
# Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com>
# All rights reserved.
#
@ -23,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mediainfo-gui
VERSION=${VERSION:-0.7.59}
VERSION=${VERSION:-0.7.70}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -60,21 +62,21 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf MediaInfo
tar xvf $CWD/mediainfo_${VERSION}.tar.bz2
cd MediaInfo
tar xvf $CWD/MediaInfo_GUI_${VERSION}_GNU_FromSource.tar.bz2
cd MediaInfo_GUI_GNU_FromSource
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# We do not want builtin libmediainfo
if [ -d $TMP/MediaInfoLib ]; then
rm -rf $TMP/MediaInfoLib
fi
cd Project/GNU/GUI
cd MediaInfo/Project/GNU/GUI
./autogen
CFLAGS="$SLKCFLAGS" \
@ -96,18 +98,19 @@ make
make install DESTDIR=$PKG
cd -
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
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
# We need an icon file
install -D -m 0644 Source/Resource/Image/MediaInfo.png \
install -D -m 0644 MediaInfo/Source/Resource/Image/MediaInfo.png \
$PKG/usr/share/pixmaps/mediainfo.png
# Manually install the .desktop file
install -D -m 0644 Project/GNU/GUI/mediainfo-gui.desktop \
install -D -m 0644 MediaInfo/Project/GNU/GUI/mediainfo-gui.desktop \
$PKG/usr/share/applications/mediainfo-gui.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd MediaInfo/
cp -a History_GUI.txt *.html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*

View file

@ -1,10 +1,10 @@
PRGNAM="mediainfo-gui"
VERSION="0.7.59"
VERSION="0.7.70"
HOMEPAGE="http://mediainfo.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/mediainfo/mediainfo_0.7.59.tar.bz2"
MD5SUM="485b160334254d9574ed0f7bb29ef35f"
DOWNLOAD="http://sourceforge.net/projects/mediainfo/files/binary/mediainfo-gui/0.7.70/MediaInfo_GUI_0.7.70_GNU_FromSource.tar.bz2"
MD5SUM="512ea3e4cb8930e000e2998924da5aee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libmediainfo wxPython"
MAINTAINER="Binh Nguyen"
EMAIL="binhvng@gmail.com"
MAINTAINER="Ryan P.C. McQuen"
EMAIL="ryan.q@linux.com"