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

Add scummvm recipe

parent 80742537
No related branches found
No related tags found
1 merge request!187Add ScummVM and OpenJazz
diff -rupNw source-original/common/stream.cpp source/common/stream.cpp
--- source-original/common/stream.cpp 2017-12-08 23:21:10.000000000 +0100
+++ source/common/stream.cpp 2018-11-28 00:36:53.474637267 +0100
@@ -95,7 +95,7 @@ bool MemoryReadStream::seek(int32 offs,
break;
}
// Post-Condition
- assert(_pos <= _size);
+ //assert(_pos <= _size);
// Reset end-of-stream flag on a successful seek
_eos = false;
diff -rupNw source-original/configure source/configure
--- source-original/configure 2017-12-08 23:21:13.000000000 +0100
+++ source/configure 2018-11-28 00:35:33.000000000 +0100
@@ -3610,7 +3610,7 @@ case $_host_os in
amigaos* | cygwin* | dreamcast | ds | gamecube | mingw* | n64 | ps2 | ps3 | psp2 | psp | wii | wince)
_posix=no
;;
- 3ds | android | androidsdl | beos* | bsd* | darwin* | freebsd* | gnu* | gph-linux | haiku* | hpux* | iphone | ios7 | irix*| k*bsd*-gnu* | linux* | maemo | mint* | netbsd* | openbsd* | riscos | solaris* | sunos* | uclinux* | webos)
+ 3ds | android | androidsdl | beos* | bsd* | darwin* | freebsd* | gnu* | gph-linux | haiku* | hpux* | iphone | ios7 | irix*| k*bsd*-gnu* | linux* | maemo | mint* | netbsd* | openbsd* | riscos | redox* | solaris* | sunos* | uclinux* | webos)
_posix=yes
;;
os2-emx*)
VERSION=2.0.0
TAR=https://www.scummvm.org/frs/scummvm/$VERSION/scummvm-$VERSION.tar.xz
BUILD_DEPENDS=(sdl liborbital freetype zlib libpng)
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
sysroot="${PWD}/../sysroot"
./configure \
--host=${HOST} \
--prefix='' \
--with-sdl-prefix="$sysroot" \
--with-freetype2-prefix="$sysroot" \
--with-png-prefix="$sysroot" \
--with-zlib-prefix="$sysroot" \
--disable-timidity \
--disable-mt32emu
make
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