diff --git a/multimedia/mediainfo/README b/multimedia/mediainfo/README index e92ee86ae6..29ffd1d2c7 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 025c6b200d..d2aa8413a1 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 699df5eddd..891f35f228 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"