aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmediainfo
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libmediainfo')
-rw-r--r--libraries/libmediainfo/libmediainfo.SlackBuild22
-rw-r--r--libraries/libmediainfo/libmediainfo.info12
2 files changed, 18 insertions, 16 deletions
diff --git a/libraries/libmediainfo/libmediainfo.SlackBuild b/libraries/libmediainfo/libmediainfo.SlackBuild
index 1c7a60a9700b0..e440e3135b85b 100644
--- a/libraries/libmediainfo/libmediainfo.SlackBuild
+++ b/libraries/libmediainfo/libmediainfo.SlackBuild
@@ -25,13 +25,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libmediainfo
-VERSION=${VERSION:-0.7.72}
+VERSION=${VERSION:-0.7.93}
+SRCNAM=MediaInfo_DLL_${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 +43,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"
@@ -61,9 +62,9 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf MediaInfoLib
-tar xvf $CWD/${PRGNAM}_${VERSION}.tar.bz2
-cd MediaInfoLib
+rm -rf MediaInfo_DLL_GNU_FromSource
+tar xvf $CWD/${SRCNAM}.tar.xz
+cd MediaInfo_DLL_GNU_FromSource
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -76,8 +77,7 @@ if [ -d $TMP/ZenLib ]; then
rm -rf $TMP/ZenLib
fi
-cd Project/GNU/Library
-./autogen
+cd MediaInfoLib/Project/GNU/Library
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -104,6 +104,8 @@ cd -
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
+cd MediaInfoLib
+
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
cp -a Project/GNU/Library/libmediainfo.pc $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
sed -i "s/^Version: .*$/Version: $VERSION/" $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/libmediainfo.pc
@@ -117,7 +119,7 @@ done
( cd Source/Doc && doxygen Doxyfile )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a *.txt *.html Doc/ Source/Doc/Documentation.html $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.{txt,html} Doc/ Source/Doc/Documentation.html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
diff --git a/libraries/libmediainfo/libmediainfo.info b/libraries/libmediainfo/libmediainfo.info
index 688fab86bc81f..c018bc2f23ef1 100644
--- a/libraries/libmediainfo/libmediainfo.info
+++ b/libraries/libmediainfo/libmediainfo.info
@@ -1,10 +1,10 @@
PRGNAM="libmediainfo"
-VERSION="0.7.72"
-HOMEPAGE="http://mediainfo.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/mediainfo/files/source/libmediainfo/0.7.72/libmediainfo_0.7.72.tar.bz2"
-MD5SUM="ad84c9aa462cfba5b7401aa0f69008b6"
+VERSION="0.7.93"
+HOMEPAGE="https://mediaarea.net/MediaInfo"
+DOWNLOAD="https://mediaarea.net/download/binary/libmediainfo0/0.7.93/MediaInfo_DLL_0.7.93_GNU_FromSource.tar.xz"
+MD5SUM="d156eedcd3e00e6180b50b62e207f347"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libzen"
-MAINTAINER="Ryan P.C. McQuen"
-EMAIL="ryanpcmcquen@member.fsf.org"
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"