mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
reminiscence: update to 0.4.6.
This commit is contained in:
parent
c2b1ebbc16
commit
94cc285305
2 changed files with 9 additions and 36 deletions
|
@ -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;
|
|
|
@ -1,21 +1,23 @@
|
||||||
# Template file for 'reminiscince'
|
# Template file for 'reminiscence'
|
||||||
pkgname=reminiscence
|
pkgname=reminiscence
|
||||||
version=0.2.1
|
version=0.4.6
|
||||||
revision=4
|
revision=1
|
||||||
wrksrc="REminiscence-${version}"
|
wrksrc="REminiscence-${version}"
|
||||||
build_style=gnu-makefile
|
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"
|
short_desc="Rewrite of the engine used in the game Flashback from Delphine Software"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="http://cyxdown.free.fr/reminiscence/"
|
homepage="http://cyxdown.free.fr/reminiscence/"
|
||||||
distfiles="http://cyxdown.free.fr/reminiscence/REminiscence-${version}.tar.bz2"
|
distfiles="http://cyxdown.free.fr/reminiscence/REminiscence-${version}.tar.bz2"
|
||||||
checksum=3168ffb7cd29e72a150e22edc6f0891001288f4c89d7900cbac8864ce763c2bd
|
checksum=a1738ca7df64cd34e75a0ada3110e70ed495260fda813bc9d8722b521fc6fee0
|
||||||
|
|
||||||
pre_build() {
|
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() {
|
do_install() {
|
||||||
vbin rs ${pkgname}
|
vbin rs ${pkgname}
|
||||||
vdoc README
|
vdoc README.txt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue