mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
games/duckstation: Updated for version 0.1.5836.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ded0850f3a
commit
0c6b5a0164
4 changed files with 25 additions and 6 deletions
|
@ -11,3 +11,6 @@ although mismatching game regions and BIOS regions may have
|
|||
compatibility issues. A ROM image is not provided with the emulator
|
||||
for legal reasons, you should dump this from your own console using
|
||||
Caetla or other means.
|
||||
|
||||
Discord Rich Presence is disabled by default, to enable Discord
|
||||
functionality, pass DISCORD=ON to the build script.
|
||||
|
|
|
@ -25,8 +25,11 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=duckstation
|
||||
VERSION=${VERSION:-20220824_bfafa95}
|
||||
SRCVER=${SRCVER:-bfafa95f65e42c315f67a53bce4ade02ae0def9d}
|
||||
VERSION=${VERSION:-0.1.5836}
|
||||
SRCDATE=${SRCDATE:-20221022}
|
||||
SRCVER=${SRCVER:-6f709468601183083b8581d4952aaba7baf77084}
|
||||
COMMIT=$(echo $SRCVER | cut -c -7)
|
||||
DISCORD=${DISCORD:-OFF}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -70,6 +73,16 @@ cd $TMP
|
|||
rm -rf $PRGNAM-$SRCVER
|
||||
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
|
||||
cd $PRGNAM-$SRCVER
|
||||
|
||||
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 play-store-release | 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
|
||||
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -85,6 +98,8 @@ cd build
|
|||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_LIBDIR=./lib${LIBDIRSUFFIX} \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DENABLE_DISCORD_PRESENCE=$DISCORD \
|
||||
-DUSE_WAYLAND=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make install/strip DESTDIR=$PKG
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=duckstation
|
||||
Comment=Fast PlayStation 1 emulator
|
||||
Exec=duckstation-qt %f
|
||||
Icon=duckstation
|
||||
Type=Application
|
||||
Categories=Games;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="duckstation"
|
||||
VERSION="20220824_bfafa95"
|
||||
VERSION="0.1.5836"
|
||||
HOMEPAGE="https://duckstation.org"
|
||||
DOWNLOAD="UNSUPPORTED"
|
||||
MD5SUM=""
|
||||
DOWNLOAD_x86_64="https://github.com/stenzek/duckstation/archive/bfafa95f65e42c315f67a53bce4ade02ae0def9d/duckstation-bfafa95f65e42c315f67a53bce4ade02ae0def9d.tar.gz"
|
||||
MD5SUM_x86_64="5e814856b16556b685e13bb98142199b"
|
||||
DOWNLOAD_x86_64="https://github.com/stenzek/duckstation/archive/6f709468601183083b8581d4952aaba7baf77084/duckstation-6f709468601183083b8581d4952aaba7baf77084.tar.gz"
|
||||
MD5SUM_x86_64="54b53a134cff399926435941f69c6b18"
|
||||
REQUIRES="qt6"
|
||||
MAINTAINER="Steven Voges"
|
||||
EMAIL="svoges.sbo@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue