summaryrefslogtreecommitdiffstats
path: root/multimedia/mediainfo/mediainfo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mediainfo/mediainfo.SlackBuild')
-rw-r--r--multimedia/mediainfo/mediainfo.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/multimedia/mediainfo/mediainfo.SlackBuild b/multimedia/mediainfo/mediainfo.SlackBuild
index dfc12fd73b..e414e49f83 100644
--- a/multimedia/mediainfo/mediainfo.SlackBuild
+++ b/multimedia/mediainfo/mediainfo.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-2022 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+# Copyright 2017-2024 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,15 +27,16 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mediainfo
-VERSION=${VERSION:-22.06}
+VERSION=${VERSION:-24.04}
SRCNAM=MediaInfo
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# CLI is built by default, GUI is optional
+# CLI is built by default, GUI is autodetected
+# Either can be disabled by passing the variable with "no"
CLI=${CLI:-yes}
-GUI=${GUI:-no}
+if [ -e /usr/bin/wx-config ]; then GUI=${GUI:-yes}; else GUI=${GUI:-no}; fi
# Clear the document variables to make sure it works
CLIDOC=""
@@ -57,9 +58,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0