graphics/mangohud: Updated for v 0.6.7.1.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Steven Voges 2022-05-25 00:05:01 +01:00 committed by Willy Sudiarto Raharjo
parent 2d27ab224d
commit 4933e6bbc9
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 9 additions and 11 deletions

View File

@ -26,10 +26,11 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mangohud
SRCNAM=MangoHud
VERSION=${VERSION:-0.6.7}
VERSION=${VERSION:-0.6.7.1}
SRCVER=${SRCVER:-0.6.7-1}
IMGUIVER=${IMGUIVER:-1.81}
SPDLOGVER=${SPDLOGVER:-1.8.5}
BUILD=${BUILD:-2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
COMPAT32=${COMPAT32:-no}
@ -45,9 +46,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
@ -77,9 +75,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
cd $SRCNAM-$VERSION/subprojects
rm -rf $SRCNAM-$SRCVER
tar xvf $CWD/$SRCNAM-$SRCVER.tar.?z
cd $SRCNAM-$SRCVER/subprojects
tar xvf $CWD/imgui-$IMGUIVER.tar.gz
unzip $CWD/imgui_$IMGUIVER-1_patch.zip
tar xvf $CWD/spdlog-$SPDLOGVER.tar.gz

View File

@ -1,13 +1,13 @@
PRGNAM="mangohud"
VERSION="0.6.7"
VERSION="0.6.7.1"
HOMEPAGE="https://github.com/flightlessmango/MangoHud"
DOWNLOAD="https://github.com/flightlessmango/MangoHud/archive/v0.6.7/MangoHud-0.6.7.tar.gz \
DOWNLOAD="https://github.com/flightlessmango/MangoHud/archive/v0.6.7-1/MangoHud-0.6.7-1.tar.gz \
https://github.com/ocornut/imgui/archive/v1.81/imgui-1.81.tar.gz \
https://github.com/mesonbuild/wrapdb/releases/download/imgui_1.81-1/imgui_1.81-1_patch.zip \
https://github.com/gabime/spdlog/archive/v1.8.5/spdlog-1.8.5.tar.gz \
https://github.com/mesonbuild/wrapdb/releases/download/spdlog_1.8.5-1/spdlog_1.8.5-1_patch.zip \
https://github.com/nlohmann/json/releases/download/v3.10.5/include.zip"
MD5SUM="0a749dce36dc158d12bd9d77b3e0815e \
MD5SUM="61f3a5e392cb08fc1c263ea89781b0d4 \
9b48ac38829b538233f99c0aa8cacf50 \
ea266ae77ac14290ceb2eafa56c1de83 \
8755cdbc857794730a022722a66d431a \