diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mediainfo-gui/doinst.sh | 5 | ||||
-rw-r--r-- | multimedia/mediainfo-gui/mediainfo-gui.SlackBuild | 19 | ||||
-rw-r--r-- | multimedia/mediainfo-gui/mediainfo-gui.info | 12 |
3 files changed, 23 insertions, 13 deletions
diff --git a/multimedia/mediainfo-gui/doinst.sh b/multimedia/mediainfo-gui/doinst.sh index 4e8ba7071d..65c7e2eeb9 100644 --- a/multimedia/mediainfo-gui/doinst.sh +++ b/multimedia/mediainfo-gui/doinst.sh @@ -2,3 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/multimedia/mediainfo-gui/mediainfo-gui.SlackBuild b/multimedia/mediainfo-gui/mediainfo-gui.SlackBuild index a2a23ee00d..fea9b98746 100644 --- a/multimedia/mediainfo-gui/mediainfo-gui.SlackBuild +++ b/multimedia/mediainfo-gui/mediainfo-gui.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for mediainfo-gui +# 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-gui -VERSION=${VERSION:-0.7.72} +VERSION=${VERSION:-0.7.93} +SRCNAM=MediaInfo_GUI_${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,7 +64,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf MediaInfo -tar xvf $CWD/MediaInfo_GUI_${VERSION}_GNU_FromSource.tar.bz2 +tar xvf $CWD/${SRCNAM}.tar.xz cd MediaInfo_GUI_GNU_FromSource chown -R root:root . find -L . \ @@ -76,8 +78,11 @@ if [ -d $TMP/MediaInfoLib ]; then rm -rf $TMP/MediaInfoLib fi +# Error out if missing WxWidgets rather than try downloading and compiling it +rm Shared/Project/WxWidgets/Compile.sh cd MediaInfo/Project/GNU/GUI -./autogen +sed -i 's|WxWidgets not yet compiled, try to compile|wxPython not found. Please install first|' configure +sed -i 's|WxBuiltInCompile$|with_wxwidgets="no"|g' configure CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -111,7 +116,7 @@ install -D -m 0644 MediaInfo/Project/GNU/GUI/mediainfo-gui.desktop \ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cd MediaInfo/ -cp -a History_GUI.txt *.html $PKG/usr/doc/$PRGNAM-$VERSION +cp -a History_GUI.txt LICENSE License.html README.md $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-gui/mediainfo-gui.info b/multimedia/mediainfo-gui/mediainfo-gui.info index cb112eb291..dbeace645a 100644 --- a/multimedia/mediainfo-gui/mediainfo-gui.info +++ b/multimedia/mediainfo-gui/mediainfo-gui.info @@ -1,10 +1,10 @@ PRGNAM="mediainfo-gui" -VERSION="0.7.72" -HOMEPAGE="http://mediainfo.sourceforge.net/" -DOWNLOAD="http://sourceforge.net/projects/mediainfo/files/binary/mediainfo-gui/0.7.72/MediaInfo_GUI_0.7.72_GNU_FromSource.tar.bz2" -MD5SUM="8ab7109f16e3a4d9b572520ec6d90229" +VERSION="0.7.93" +HOMEPAGE="https://mediaarea.net/en/MediaInfo/" +DOWNLOAD="https://mediaarea.net/download/binary/mediainfo-gui/0.7.93/MediaInfo_GUI_0.7.93_GNU_FromSource.tar.xz" +MD5SUM="9b27dbe340f14467c58199c40c76bc12" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libmediainfo wxPython" -MAINTAINER="Ryan P.C. McQuen" -EMAIL="ryanpcmcquen@member.fsf.org" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" |