diff options
author | Julien Boibessot <julien.boibessot@armadeus.com> | 2014-01-08 14:07:36 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-01-11 00:20:34 +0100 |
commit | 3ed7b4921e8f349e6b12d6e8f74c971f2d001f85 (patch) | |
tree | 55d6574004a9867d454f5f0838f1f366193639a0 | |
parent | d5c5dd1afe683d0b9147572608c579c748584acc (diff) | |
download | buildroot-3ed7b4921e8f349e6b12d6e8f74c971f2d001f85.tar.gz buildroot-3ed7b4921e8f349e6b12d6e8f74c971f2d001f85.zip |
Add LTris package (SDL game)
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/Config.in | 1 | ||||
-rw-r--r-- | package/ltris/Config.in | 20 | ||||
-rw-r--r-- | package/ltris/ltris.mk | 24 |
3 files changed, 45 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in index a0fb704469..20e142fdc1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -157,6 +157,7 @@ menu "Games" source "package/doom-wad/Config.in" source "package/gnuchess/Config.in" source "package/lbreakout2/Config.in" +source "package/ltris/Config.in" source "package/prboom/Config.in" source "package/rubix/Config.in" endmenu diff --git a/package/ltris/Config.in b/package/ltris/Config.in new file mode 100644 index 0000000000..1ce52daa43 --- /dev/null +++ b/package/ltris/Config.in @@ -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 diff --git a/package/ltris/ltris.mk b/package/ltris/ltris.mk new file mode 100644 index 0000000000..e26bf45ef9 --- /dev/null +++ b/package/ltris/ltris.mk @@ -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)) |