From 94cc285305ea013a37a60617d685f8048b0319f0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 18 Feb 2020 22:49:45 +0100 Subject: [PATCH] reminiscence: update to 0.4.6. --- srcpkgs/reminiscence/patches/fix-keys.diff | 29 ---------------------- srcpkgs/reminiscence/template | 16 ++++++------ 2 files changed, 9 insertions(+), 36 deletions(-) delete mode 100644 srcpkgs/reminiscence/patches/fix-keys.diff diff --git a/srcpkgs/reminiscence/patches/fix-keys.diff b/srcpkgs/reminiscence/patches/fix-keys.diff deleted file mode 100644 index 567c22d990..0000000000 --- a/srcpkgs/reminiscence/patches/fix-keys.diff +++ /dev/null @@ -1,29 +0,0 @@ ---- systemstub_sdl.cpp -+++ systemstub_sdl.cpp -@@ -403,12 +403,12 @@ while (true) { - if (ev.key.keysym.mod & KMOD_ALT) { - if (ev.key.keysym.sym == SDLK_RETURN) { - switchGfxMode(!_fullscreen, _currentScaler); -- } else if (ev.key.keysym.sym == SDLK_KP_PLUS) { -+ } else if (ev.key.keysym.sym == SDLK_PLUS) { - uint8 s = _currentScaler + 1; - if (s < NUM_SCALERS) { - switchGfxMode(_fullscreen, s); - } -- } else if (ev.key.keysym.sym == SDLK_KP_MINUS) { -+ } else if (ev.key.keysym.sym == SDLK_MINUS) { - int8 s = _currentScaler - 1; - if (_currentScaler > 0) { - switchGfxMode(_fullscreen, s); -@@ -429,9 +429,9 @@ while (true) { - _pi.save = true; - } else if (ev.key.keysym.sym == SDLK_l) { - _pi.load = true; -- } else if (ev.key.keysym.sym == SDLK_KP_PLUS) { -+ } else if (ev.key.keysym.sym == SDLK_PLUS) { - _pi.stateSlot = 1; -- } else if (ev.key.keysym.sym == SDLK_KP_MINUS) { -+ } else if (ev.key.keysym.sym == SDLK_MINUS) { - _pi.stateSlot = -1; - } else if (ev.key.keysym.sym == SDLK_r) { - _pi.inpRecord = true; diff --git a/srcpkgs/reminiscence/template b/srcpkgs/reminiscence/template index 75a7430c16..30e1d7b012 100644 --- a/srcpkgs/reminiscence/template +++ b/srcpkgs/reminiscence/template @@ -1,21 +1,23 @@ -# Template file for 'reminiscince' +# Template file for 'reminiscence' pkgname=reminiscence -version=0.2.1 -revision=4 +version=0.4.6 +revision=1 wrksrc="REminiscence-${version}" build_style=gnu-makefile -makedepends="SDL-devel zlib-devel" +makedepends="zlib-devel libmodplug-devel SDL2-devel" short_desc="Rewrite of the engine used in the game Flashback from Delphine Software" maintainer="Orphaned " license="GPL-3" homepage="http://cyxdown.free.fr/reminiscence/" distfiles="http://cyxdown.free.fr/reminiscence/REminiscence-${version}.tar.bz2" -checksum=3168ffb7cd29e72a150e22edc6f0891001288f4c89d7900cbac8864ce763c2bd +checksum=a1738ca7df64cd34e75a0ada3110e70ed495260fda813bc9d8722b521fc6fee0 pre_build() { - sed -e 's,CXXFLAGS :=,CXXFLAGS +=,' -i Makefile + vsed -e 's,-DUSE_TREMOR,,' -i Makefile + vsed -e '/LIBS =/s/$(TREMOR_LIBS)//' -i Makefile } + do_install() { vbin rs ${pkgname} - vdoc README + vdoc README.txt }