diff options
author | Jeremy Hansen <jebrhansen+github@gmail.com> | 2022-02-27 03:00:00 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-28 15:10:56 +0700 |
commit | e554b735d56f4a07bff38bf68398587a56cad225 (patch) | |
tree | 6712269df66be8c4f36eb54e62ccd2724b733cf7 /libraries/libmediainfo | |
parent | 58180bf2c84e4cbe633ed8834e4ba7814382fc60 (diff) | |
download | slackbuilds-e554b735d56f4a07bff38bf68398587a56cad225.tar.gz |
libraries/libmediainfo: Version bump, add optional dependency, and copyright update
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 | 12 | ||||
-rw-r--r-- | libraries/libmediainfo/libmediainfo.info | 6 |
3 files changed, 11 insertions, 9 deletions
diff --git a/libraries/libmediainfo/README b/libraries/libmediainfo/README index b21fbacf6d..48209dd690 100644 --- a/libraries/libmediainfo/README +++ b/libraries/libmediainfo/README @@ -3,4 +3,4 @@ Library for mediainfo. This package includes the shared library and the development support files. -Optional dependencies: tinyxml2 and libmms +Optional autodetected dependencies: libmms, graphviz, and tinyxml2 diff --git a/libraries/libmediainfo/libmediainfo.SlackBuild b/libraries/libmediainfo/libmediainfo.SlackBuild index 60953ec114..2073def463 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-2020 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2017-2022 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,9 +27,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libmediainfo -VERSION=${VERSION:-20.09} +VERSION=${VERSION:-21.09} SRCNAM=MediaInfoLib -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -85,9 +85,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 +# Autodetect graphviz, libmms, and tinyxml2 +if pkg-config --exists libgvc ; then graphviz="--with-graphviz" ; else graphviz="--without-grapviz" ; fi if pkg-config --exists libmms ; then libmms="--with-libmms" ; else libmms="--without-libmms" ; fi +if pkg-config --exists tinyxml2 ; then tinyxml2="--with-libtinyxml2" ; else tinyxml2="" ; fi cd Project/GNU/Library ./autogen.sh @@ -109,6 +110,7 @@ CXXFLAGS="$SLKCFLAGS" \ --with-libcurl \ $tinyxml2 \ $libmms \ + $graphviz \ --build=$ARCH-slackware-linux make diff --git a/libraries/libmediainfo/libmediainfo.info b/libraries/libmediainfo/libmediainfo.info index 4169ca961a..470ab27055 100644 --- a/libraries/libmediainfo/libmediainfo.info +++ b/libraries/libmediainfo/libmediainfo.info @@ -1,8 +1,8 @@ PRGNAM="libmediainfo" -VERSION="20.09" +VERSION="21.09" HOMEPAGE="https://mediaarea.net/MediaInfo" -DOWNLOAD="https://github.com/MediaArea/MediaInfoLib/archive/v20.09/MediaInfoLib-20.09.tar.gz" -MD5SUM="eeddad91ac2cf201f9b46e9e1b861c0f" +DOWNLOAD="https://github.com/MediaArea/MediaInfoLib/archive/v21.09/MediaInfoLib-21.09.tar.gz" +MD5SUM="6ef1978110a1bbca86aff7b9e2d2d3d6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libzen" |