Skip to content
Snippets Groups Projects
Commit 8d61e749 authored by Nagy Tibor's avatar Nagy Tibor
Browse files

Add schismtracker recipe

parent 559c743d
No related branches found
No related tags found
1 merge request!199Enable audio in scummvm, add schismtracker
diff -rupNw source-original/Makefile.am source/Makefile.am
--- source-original/Makefile.am 2018-08-10 07:04:54.000000000 +0200
+++ source/Makefile.am 2018-12-30 23:18:07.957244170 +0100
@@ -223,7 +223,7 @@ files_macosx = \
endif
if USE_NETWORK
-cflags_network=-DUSE_NETWORK
+#cflags_network=-DUSE_NETWORK
endif
diff -rupNw source-original/schism/main.c source/schism/main.c
--- source-original/schism/main.c 2018-08-10 07:04:54.000000000 +0200
+++ source/schism/main.c 2018-12-30 23:19:24.954046191 +0100
@@ -1033,7 +1033,7 @@ int main(int argc, char **argv)
video_fullscreen(0);
- tzset(); // localtime_r wants this
+ //tzset(); // localtime_r wants this
srand(time(NULL));
parse_options(argc, argv); /* shouldn't this be like, first? */
VERSION=20181223
TAR=https://github.com/schismtracker/schismtracker/archive/$VERSION.tar.gz
TAR_SHA256=fc32930c611fdb78face87dbe8a3c62e70088fd8d4ad803140e0b9a0b2e72ad7
BUILD_DEPENDS=(sdl liborbital libiconv)
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="${PWD}/../sysroot"
export CFLAGS="-I$sysroot/include -I$sysroot/include/SDL"
export LDFLAGS="-L$sysroot/lib"
export SDL_CONFIG="$sysroot/bin/sdl-config"
autoreconf -i
./configure --host=${HOST} --prefix=''
make -j"$(nproc)"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
make clean
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install
skip=1
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment