CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
reminiscence: tried to change the default scaler to 0 (non-scaled)
authorJose V Beneyto <sepen@crux.nu>
Wed, 20 Jan 2010 11:36:14 +0000 (12:36 +0100)
committerJose V Beneyto <sepen@crux.nu>
Wed, 20 Jan 2010 11:36:25 +0000 (12:36 +0100)
reminiscence/Pkgfile

index cce5c12e40e396598fc2262bbfe7f145420a7c5a..ec0e4e12fc6337e6deffabe36a5255f0471cb722 100644 (file)
@@ -7,7 +7,7 @@
 
 name=reminiscence
 version=0.1.9
-release=2
+release=3
 source=(http://cyxdown.free.fr/$name/REminiscence-$version.tar.bz2 \
         $name-$version.nosound.patch)
 
@@ -15,7 +15,9 @@ build() {
   cd REminiscence-$version
 
   patch -p1 -i $SRC/$name-$version.nosound.patch
-  sed -e "s|CXXFLAGS:=|CXXFLAGS:= $CXXFLAGS|" Makefile
+  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 \
     DEFINES="-DBYPASS_PROTECTION -DNO_SDL_MIXER" \