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>
This commit is contained in:
Jeremy Hansen 2023-05-12 17:11:49 -07:00 committed by Willy Sudiarto Raharjo
parent d55b25d0d6
commit 6ccdc7c657
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 12 additions and 11 deletions

View file

@ -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.

View file

@ -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=""

View file

@ -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"