aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mediainfo-gui/mediainfo-gui.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2014-11-08 10:22:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-08 10:22:46 +0700
commit0eef9bd34c336283d795f1c67ac0a5007c225a1b (patch)
treea80b9e57be03cfe209323540c8f64343cc718bf9 /multimedia/mediainfo-gui/mediainfo-gui.SlackBuild
parent4716f1d259130d6eb1395c93b64240d573411212 (diff)
multimedia/mediainfo-gui: Updated for version 0.7.70.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/mediainfo-gui/mediainfo-gui.SlackBuild')
-rw-r--r--multimedia/mediainfo-gui/mediainfo-gui.SlackBuild25
1 files changed, 14 insertions, 11 deletions
diff --git a/multimedia/mediainfo-gui/mediainfo-gui.SlackBuild b/multimedia/mediainfo-gui/mediainfo-gui.SlackBuild
index 02c824ec43ce..57c491886e0d 100644
--- a/multimedia/mediainfo-gui/mediainfo-gui.SlackBuild
+++ b/multimedia/mediainfo-gui/mediainfo-gui.SlackBuild
@@ -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/*