mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
games/duckstation: Updated for version 0.1.6217.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b00aac8a3a
commit
c20e23013d
2 changed files with 14 additions and 7 deletions
|
@ -25,9 +25,9 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=duckstation
|
||||
VERSION=${VERSION:-0.1.6051}
|
||||
SRCDATE=${SRCDATE:-20230316}
|
||||
SRCVER=${SRCVER:-3bbce19df29ccabd26aef7d8afa09ec63df98ccf}
|
||||
VERSION=${VERSION:-0.1.6217}
|
||||
SRCDATE=${SRCDATE:-20230901}
|
||||
SRCVER=${SRCVER:-d690732c7d553ab1dc1a8e59889c788d7397ec9d}
|
||||
COMMIT=$(echo $SRCVER | cut -c -7)
|
||||
DISCORD=${DISCORD:-OFF}
|
||||
BUILD=${BUILD:-1}
|
||||
|
@ -74,14 +74,21 @@ rm -rf $PRGNAM-$SRCVER
|
|||
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
|
||||
cd $PRGNAM-$SRCVER
|
||||
|
||||
# Fix version since we are not using a git repo.
|
||||
sed -i "s/HASH=\$(git rev-parse HEAD)/HASH=${SRCVER}/g" \
|
||||
src/scmversion/gen_scmversion.sh
|
||||
sed -i "s/BRANCH=\$(git rev-parse --abbrev-ref HEAD | tr -d '\\\r\\\n')/BRANCH=master/g" \
|
||||
src/scmversion/gen_scmversion.sh
|
||||
sed -i "s/TAG=\$(git describe --tags --dirty --exclude latest --exclude preview --exclude legacy --exclude play-store-release | tr -d '\\\r\\\n')/TAG=${VERSION}.${COMMIT}/g" \
|
||||
sed -i "s/TAG=\$(git describe --tags --dirty --exclude latest --exclude preview --exclude legacy --exclude previous-latest | tr -d '\\\r\\\n')/TAG=${VERSION}-${COMMIT}/g" \
|
||||
src/scmversion/gen_scmversion.sh
|
||||
sed -i "s/DATE=\$(git log -1 --date=iso8601-strict --format=%cd)/DATE=${SRCDATE}/g" \
|
||||
src/scmversion/gen_scmversion.sh
|
||||
# Fix broken compile when discord is disabled
|
||||
if [ $DISCORD = "OFF" ]; then
|
||||
sed -i "3726d;3727d;3728d;3729d;3730d;3731d;3732d;3733d" src/core/system.cpp
|
||||
fi
|
||||
# Fix compilation on Current/GCC13
|
||||
sed -i "8i #include <cstdint>" dep/reshadefx/include/effect_token.hpp
|
||||
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="duckstation"
|
||||
VERSION="0.1.6051"
|
||||
VERSION="0.1.6217"
|
||||
HOMEPAGE="https://duckstation.org"
|
||||
DOWNLOAD="UNSUPPORTED"
|
||||
MD5SUM=""
|
||||
DOWNLOAD_x86_64="https://github.com/stenzek/duckstation/archive/3bbce19df29ccabd26aef7d8afa09ec63df98ccf/duckstation-3bbce19df29ccabd26aef7d8afa09ec63df98ccf.tar.gz"
|
||||
MD5SUM_x86_64="a22d76ce35317cbf3354eed9bf758225"
|
||||
DOWNLOAD_x86_64="https://github.com/stenzek/duckstation/archive/d690732c7d553ab1dc1a8e59889c788d7397ec9d/duckstation-d690732c7d553ab1dc1a8e59889c788d7397ec9d.tar.gz"
|
||||
MD5SUM_x86_64="33f5642022a7c578c8703e0e0071ee82"
|
||||
REQUIRES="qt6"
|
||||
MAINTAINER="Steven Voges"
|
||||
EMAIL="svoges.sbo@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue