mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
New package: reminiscence-0.2.1.
This commit is contained in:
parent
179f69ea0e
commit
901be86cb0
2 changed files with 57 additions and 0 deletions
29
srcpkgs/reminiscence/patches/fix-keys.diff
Normal file
29
srcpkgs/reminiscence/patches/fix-keys.diff
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
--- 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;
|
28
srcpkgs/reminiscence/template
Normal file
28
srcpkgs/reminiscence/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'reminiscince'
|
||||||
|
pkgname=reminiscence
|
||||||
|
version=0.2.1
|
||||||
|
revision=1
|
||||||
|
wrksrc="REminiscence-${version}"
|
||||||
|
build_style=gnu-makefile
|
||||||
|
makedepends="SDL-devel zlib-devel"
|
||||||
|
short_desc="Rewrite of the engine used in the game Flashback from Delphine Software"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="http://cyxdown.free.fr/reminiscence/"
|
||||||
|
distfiles="http://cyxdown.free.fr/reminiscence/REminiscence-${version}.tar.bz2"
|
||||||
|
checksum=3168ffb7cd29e72a150e22edc6f0891001288f4c89d7900cbac8864ce763c2bd
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make CXX=$CXX ${makejobs}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vinstall rs 755 usr/bin
|
||||||
|
vinstall README 644 usr/share/doc/${pkgname}
|
||||||
|
}
|
||||||
|
|
||||||
|
reminiscence_package() {
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue