CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
attic
/
ports
/
games-cross.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reminiscence: tried to change the default scaler to 0 (non-scaled)
[attic/ports/games-cross.git]
/
reminiscence
/
Pkgfile
diff --git
a/reminiscence/Pkgfile
b/reminiscence/Pkgfile
index 66e468aa884141db2f4c0d5987142b7ffcac5324..ec0e4e12fc6337e6deffabe36a5255f0471cb722 100644
(file)
--- a/
reminiscence/Pkgfile
+++ b/
reminiscence/Pkgfile
@@
-7,15
+7,20
@@
name=reminiscence
version=0.1.9
name=reminiscence
version=0.1.9
-release=1
-source=(http://cyxdown.free.fr/$name/REminiscence-$version.tar.bz2)
+release=3
+source=(http://cyxdown.free.fr/$name/REminiscence-$version.tar.bz2 \
+ $name-$version.nosound.patch)
build() {
cd REminiscence-$version
build() {
cd REminiscence-$version
- sed -e "s|CXXFLAGS:=|CXXFLAGS:= $CXXFLAGS|" -i Makefile
+ patch -p1 -i $SRC/$name-$version.nosound.patch
+ sed -i Makefile -e "s|CXXFLAGS:=|CXXFLAGS:= $CXXFLAGS|"
+ # fix default screen scaler and resolution
+ sed -i systemstub_sdl.cpp -e 's|_scaler = 2;|_scaler = 0;|'
make \
make \
+ DEFINES="-DBYPASS_PROTECTION -DNO_SDL_MIXER" \
CXX="$CXX" \
SDL_LIBS="-L$CLFS/usr/lib -lSDL -lpthread" \
SDL_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT" \
CXX="$CXX" \
SDL_LIBS="-L$CLFS/usr/lib -lSDL -lpthread" \
SDL_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT" \