mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
Update Omnispeak, better Keen4 startup script (#13214)
This commit is contained in:
@@ -20,11 +20,11 @@ these should be supplemented with files from the original copies and placed in \
|
||||
HOMEPAGE="https://davidgow.net/keen/omnispeak.html"
|
||||
COPYRIGHT="2025 David Gow"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
commit="05c74f5d23c95b46721d92194462a3aaffd0c8fb"
|
||||
SOURCE_URI="https://github.com/sulix/omnispeak/archive/$commit.zip"
|
||||
CHECKSUM_SHA256="613db025cb0b8e60abf0509472d9d113abd61031a3be1c9afcdf05c1b6b0ef58"
|
||||
SOURCE_DIR="omnispeak-$commit"
|
||||
REVISION="2"
|
||||
srcGitRev="24945da034b452a31ac5bdf424df2b6679854768"
|
||||
SOURCE_URI="https://github.com/sulix/omnispeak/archive/$srcGitRev.zip"
|
||||
CHECKSUM_SHA256="154e040a2025d55728af65f7ec3d25c0d295bb717551ab2d11ccba62d53bc212"
|
||||
SOURCE_DIR="omnispeak-$srcGitRev"
|
||||
ADDITIONAL_FILES="omnispeak.rdef.in"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -56,8 +56,7 @@ BUILD()
|
||||
|
||||
export CXXFLAGS="-Wall -w"
|
||||
|
||||
cmake -Bbuild -S. \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
-DRENDERER=sdl2 \
|
||||
-DKEENPATH="$nonpackdatadir/omnispeak" \
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
omnibin=$(finddir B_SYSTEM_BIN_DIRECTORY)/omnispeak
|
||||
k4data=$(finddir B_SYSTEM_DATA_DIRECTORY)/omnispeak/keen4
|
||||
|
||||
$omnibin /GAMEPATH $k4data
|
||||
if [ ! -e $k4data ]; then
|
||||
k4data=$(finddir B_USER_DATA_DIRECTORY)/omnispeak/keen4
|
||||
if [ ! -e $k4data ]; then
|
||||
alert --stop "Game data not found!"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
omnispeak /GAMEPATH $k4data $@
|
||||
@@ -4,7 +4,7 @@ HOMEPAGE="https://legacy.3drealms.com/keen4/"
|
||||
COPYRIGHT="1991 Id Software, Apogee Inc."
|
||||
#No Shareware license?
|
||||
LICENSE="Public Domain"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://davidgow.net/keen/4keen14.zip"
|
||||
CHECKSUM_SHA256="f92e2d02d3779a2e717a50287ef3ed116c22fdf7bcc12ccf676a412e97195cfe"
|
||||
SOURCE_DIR=""
|
||||
|
||||
Reference in New Issue
Block a user