ports: Replace SDL2 with sdl2-compat

There is no need to keep two SDL versions around
This commit is contained in:
2026-07-05 00:05:51 +03:00
parent 380b172968
commit c7eb2dbdf3
22 changed files with 155 additions and 1759 deletions

View File

@@ -3,7 +3,7 @@
NAME='xash3d-fwgs'
VERSION='git'
DOWNLOAD_URL="https://github.com/FWGS/xash3d-fwgs.git#da1b9ad80d76156a5cbd54d3ce87edb32634ea87"
DEPENDENCIES=('SDL2' 'freetype' 'bzip2' 'libvorbis')
DEPENDENCIES=('sdl2-compat' 'freetype' 'bzip2' 'libvorbis')
configure() {
git submodule update --init --recursive || exit 1
@@ -22,12 +22,12 @@ build() {
}
install() {
./waf install --destdir="$DESTDIR/usr/share/games/halflife" || exit 1
./waf install --destdir="$DESTDIR/home/user/halflife" || exit 1
cat > "$DESTDIR/home/user/halflife/start.sh" << EOF
#!/bin/Shell
export LD_LIBRARY_PATH=/home/user/halflife
./xash3d -console
exec /home/user/halflife/xash3d -console
EOF
chmod +x $DESTDIR/home/user/halflife/start.sh
chmod +x "$DESTDIR/home/user/halflife/start.sh"
}