mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
Add LTris package (SDL game)
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
d5c5dd1afe
commit
3ed7b4921e
@ -157,6 +157,7 @@ menu "Games"
|
|||||||
source "package/doom-wad/Config.in"
|
source "package/doom-wad/Config.in"
|
||||||
source "package/gnuchess/Config.in"
|
source "package/gnuchess/Config.in"
|
||||||
source "package/lbreakout2/Config.in"
|
source "package/lbreakout2/Config.in"
|
||||||
|
source "package/ltris/Config.in"
|
||||||
source "package/prboom/Config.in"
|
source "package/prboom/Config.in"
|
||||||
source "package/rubix/Config.in"
|
source "package/rubix/Config.in"
|
||||||
endmenu
|
endmenu
|
||||||
|
20
package/ltris/Config.in
Normal file
20
package/ltris/Config.in
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
config BR2_PACKAGE_LTRIS
|
||||||
|
bool "LTris"
|
||||||
|
select BR2_PACKAGE_SDL
|
||||||
|
help
|
||||||
|
LTris as a tetris clone, using SDL. It optionally requires
|
||||||
|
SDL_mixer for audio support. A display with minimum 640x480
|
||||||
|
resolution and a keyboard are recommanded.
|
||||||
|
|
||||||
|
http://lgames.sourceforge.net/index.php?project=LTris
|
||||||
|
|
||||||
|
if BR2_PACKAGE_LTRIS
|
||||||
|
|
||||||
|
config BR2_PACKAGE_LTRIS_AUDIO
|
||||||
|
bool "audio support"
|
||||||
|
default y
|
||||||
|
select BR2_PACKAGE_SDL_MIXER
|
||||||
|
help
|
||||||
|
Activates audio support in LTris. Will add SDL_mixer.
|
||||||
|
|
||||||
|
endif
|
24
package/ltris/ltris.mk
Normal file
24
package/ltris/ltris.mk
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# ltris
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris/
|
||||||
|
LTRIS_VERSION = 1.0.19
|
||||||
|
LTRIS_LICENSE = GPLv2+
|
||||||
|
LTRIS_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
LTRIS_DEPENDENCIES = sdl
|
||||||
|
|
||||||
|
LTRIS_CONF_ENV = \
|
||||||
|
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config"
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LTRIS_AUDIO),y)
|
||||||
|
LTRIS_DEPENDENCIES += sdl_mixer
|
||||||
|
LTRIS_CONF_OPT += --enable-audio=yes
|
||||||
|
else
|
||||||
|
LTRIS_CONF_OPT += --disable-audio
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
Loading…
x
Reference in New Issue
Block a user