aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2023-05-12 17:11:49 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-13 19:27:23 +0700
commit6ccdc7c657ad785ed7275017ecdc565350d9f4fd (patch)
tree67d633d8e0e0b2126f004f920aea78ce0c4656d8 /multimedia
parentd55b25d0d68fb6dbd034d4613102f40cb1021f94 (diff)
multimedia/mediainfo: Update for version 23.04
Enabled GUI autodetect. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mediainfo/README10
-rw-r--r--multimedia/mediainfo/mediainfo.SlackBuild7
-rw-r--r--multimedia/mediainfo/mediainfo.info6
3 files changed, 12 insertions, 11 deletions
diff --git a/multimedia/mediainfo/README b/multimedia/mediainfo/README
index e92ee86ae62f2..29ffd1d2c7140 100644
--- a/multimedia/mediainfo/README
+++ b/multimedia/mediainfo/README
@@ -1,9 +1,9 @@
MediaInfo supplies technical and tag information about a video or
audio file.
-It will build the CLI version by default, however, you can optionally
-build mediainfo-gui by passing GUI=yes to the SlackBuild script, or
-you can disable the CLI version by passing CLI=no. Either the CLI
-or GUI verison must be enabled.
+The CLI version is built by default and the GUI version will be built
+automatically if wxGTK3 is installed. Either can be manually disabled
+by passing GUI=no or CLI=no to the SlackBuild script, but at least one
+must be enabled to build the program.
-GUI=yes requires wxPython.
+wxGTK3 is an optional dependency required for the GUI.
diff --git a/multimedia/mediainfo/mediainfo.SlackBuild b/multimedia/mediainfo/mediainfo.SlackBuild
index 025c6b200dca4..d2aa8413a1c6c 100644
--- a/multimedia/mediainfo/mediainfo.SlackBuild
+++ b/multimedia/mediainfo/mediainfo.SlackBuild
@@ -27,15 +27,16 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mediainfo
-VERSION=${VERSION:-23.03}
+VERSION=${VERSION:-23.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=""
diff --git a/multimedia/mediainfo/mediainfo.info b/multimedia/mediainfo/mediainfo.info
index 699df5edddc55..891f35f22870f 100644
--- a/multimedia/mediainfo/mediainfo.info
+++ b/multimedia/mediainfo/mediainfo.info
@@ -1,8 +1,8 @@
PRGNAM="mediainfo"
-VERSION="23.03"
+VERSION="23.04"
HOMEPAGE="https://mediaarea.net/MediaInfo/"
-DOWNLOAD="https://github.com/MediaArea/MediaInfo/archive/v23.03/MediaInfo-23.03.tar.gz"
-MD5SUM="12cf92a48c93df7179be16cbf83aab2a"
+DOWNLOAD="https://github.com/MediaArea/MediaInfo/archive/v23.04/MediaInfo-23.04.tar.gz"
+MD5SUM="fc769e1801b63bf89362daea377665e8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libmediainfo"