aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmediainfo/libmediainfo.SlackBuild
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2022-02-27 03:00:00 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-28 15:10:56 +0700
commite554b735d56f4a07bff38bf68398587a56cad225 (patch)
tree6712269df66be8c4f36eb54e62ccd2724b733cf7 /libraries/libmediainfo/libmediainfo.SlackBuild
parent58180bf2c84e4cbe633ed8834e4ba7814382fc60 (diff)
libraries/libmediainfo: Version bump, add optional dependency, and copyright update
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libmediainfo/libmediainfo.SlackBuild')
-rw-r--r--libraries/libmediainfo/libmediainfo.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/libraries/libmediainfo/libmediainfo.SlackBuild b/libraries/libmediainfo/libmediainfo.SlackBuild
index 60953ec1141fb..2073def463966 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