diff options
author | Jeremy Hansen <jebrhansen+github@gmail.com> | 2018-12-31 10:43:27 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-01-05 07:49:18 +0700 |
commit | 14817df5d6f6c27ff1bd06f3459c160bebfd74a2 (patch) | |
tree | de706ae9005c106c228264989bc799187be79a0f /libraries/libmediainfo | |
parent | 1230d5bc3fd60757e7a5f2432f2d68874dbc9cdb (diff) |
libraries/libmediainfo: Updated for version 18.12.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libmediainfo')
-rw-r--r-- | libraries/libmediainfo/README | 2 | ||||
-rw-r--r-- | libraries/libmediainfo/libmediainfo.SlackBuild | 17 | ||||
-rw-r--r-- | libraries/libmediainfo/libmediainfo.info | 6 |
3 files changed, 14 insertions, 11 deletions
diff --git a/libraries/libmediainfo/README b/libraries/libmediainfo/README index 59c3b98a51b6a..b21fbacf6d15f 100644 --- a/libraries/libmediainfo/README +++ b/libraries/libmediainfo/README @@ -2,3 +2,5 @@ Library for mediainfo. This package includes the shared library and the development support files. + +Optional dependencies: tinyxml2 and libmms diff --git a/libraries/libmediainfo/libmediainfo.SlackBuild b/libraries/libmediainfo/libmediainfo.SlackBuild index 921ea2f86f901..69049eaab2d85 100644 --- a/libraries/libmediainfo/libmediainfo.SlackBuild +++ b/libraries/libmediainfo/libmediainfo.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com> # Copyright 2012-2017 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org -# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2017-2018 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libmediainfo -VERSION=${VERSION:-17.12} +VERSION=${VERSION:-18.12} SRCNAM=MediaInfoLib BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -75,6 +75,10 @@ find -L . \ # We do not want to use the builtin libzen patch -p1 < $CWD/remove-internal-libzen-support.patch +# Autodetect tinyxml2 and libmms +if pkg-config --exists tinyxml2 ; then tinyxml2="--with-libtinyxml2" ; else tinyxml2="" ; fi +if pkg-config --exists libmms ; then libmms="--with-libmms" ; else libmms="--without-libmms" ; fi + cd Project/GNU/Library ./autogen.sh @@ -92,8 +96,9 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-static \ --enable-shared \ --enable-visibility \ - --without-libcurl \ - --without-libmms \ + --with-libcurl \ + $tinyxml2 \ + $libmms \ --build=$ARCH-slackware-linux make @@ -103,10 +108,6 @@ 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 -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 - for i in MediaInfo MediaInfoDLL; do mkdir -p $PKG/usr/include/$i install -m 644 Source/$i/*.h $PKG/usr/include/$i diff --git a/libraries/libmediainfo/libmediainfo.info b/libraries/libmediainfo/libmediainfo.info index fad7fb576f6e8..bc70990c1057f 100644 --- a/libraries/libmediainfo/libmediainfo.info +++ b/libraries/libmediainfo/libmediainfo.info @@ -1,8 +1,8 @@ PRGNAM="libmediainfo" -VERSION="17.12" +VERSION="18.12" HOMEPAGE="https://mediaarea.net/MediaInfo" -DOWNLOAD="https://github.com/MediaArea/MediaInfoLib/archive/v17.12/MediaInfoLib-17.12.tar.gz" -MD5SUM="45daadda82657a121321a25bfc79e588" +DOWNLOAD="https://github.com/MediaArea/MediaInfoLib/archive/v18.12/MediaInfoLib-18.12.tar.gz" +MD5SUM="5982a13e1f755b7c78c4d8e53b2a8790" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libzen" |