generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
30
package/lbreakout2/Config.in
Normal file
30
package/lbreakout2/Config.in
Normal file
@ -0,0 +1,30 @@
|
||||
config BR2_PACKAGE_LBREAKOUT2
|
||||
bool "LBreakout2"
|
||||
select BR2_PACKAGE_SDL
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
help
|
||||
LBreakout2 is the successor to LBreakout, a breakout-style
|
||||
arcade game in the manner of Arkanoid. Requires SDL, libpng,
|
||||
and optionnally SDL_mixer/SDL_net.
|
||||
A display with minimum 640x480 resolution, a keyboard and a
|
||||
mouse are recommanded.
|
||||
|
||||
http://lgames.sourceforge.net/index.php?project=LBreakout2
|
||||
|
||||
if BR2_PACKAGE_LBREAKOUT2
|
||||
|
||||
config BR2_PACKAGE_LBREAKOUT2_AUDIO
|
||||
bool "audio support"
|
||||
default y
|
||||
select BR2_PACKAGE_SDL_MIXER
|
||||
help
|
||||
Activates audio support in LBreakout2. Will add SDL_mixer.
|
||||
|
||||
config BR2_PACKAGE_LBREAKOUT2_NET
|
||||
bool "network support"
|
||||
default y
|
||||
select BR2_PACKAGE_SDL_NET
|
||||
help
|
||||
Activates network support LBreakout2. Will add SDL_net.
|
||||
|
||||
endif
|
||||
6
package/lbreakout2/lbreakout2.hash
Normal file
6
package/lbreakout2/lbreakout2.hash
Normal file
@ -0,0 +1,6 @@
|
||||
# From https://sourceforge.net/projects/lgames/files/lbreakout2/2.6/
|
||||
md5 1a9238b83f9f13f09b7a4d53e00b4e84 lbreakout2-2.6.5.tar.gz
|
||||
sha1 d92326499165fd368be04378d633e13d42b4d2d7 lbreakout2-2.6.5.tar.gz
|
||||
# Locally computed:
|
||||
sha256 9104d6175553da3442dc6a5fc407a669e2f5aff3eedc5d30409eb003b7a78d6f lbreakout2-2.6.5.tar.gz
|
||||
sha256 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 COPYING
|
||||
33
package/lbreakout2/lbreakout2.mk
Normal file
33
package/lbreakout2/lbreakout2.mk
Normal file
@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# lbreakout2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LBREAKOUT2_VERSION_MAJOR = 2.6
|
||||
LBREAKOUT2_VERSION = $(LBREAKOUT2_VERSION_MAJOR).5
|
||||
LBREAKOUT2_SITE = https://downloads.sourceforge.net/lgames/lbreakout2/$(LBREAKOUT2_VERSION_MAJOR)
|
||||
LBREAKOUT2_LICENSE = GPL-2.0+
|
||||
LBREAKOUT2_LICENSE_FILES = COPYING
|
||||
|
||||
LBREAKOUT2_DEPENDENCIES = sdl libpng $(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
LBREAKOUT2_CONF_ENV = \
|
||||
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" \
|
||||
LIBS=$(TARGET_NLS_LIBS)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LBREAKOUT2_AUDIO),y)
|
||||
LBREAKOUT2_DEPENDENCIES += sdl_mixer
|
||||
LBREAKOUT2_CONF_OPTS += --enable-audio=yes
|
||||
else
|
||||
LBREAKOUT2_CONF_OPTS += --disable-audio
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LBREAKOUT2_NET),y)
|
||||
LBREAKOUT2_DEPENDENCIES += sdl_net
|
||||
LBREAKOUT2_CONF_OPTS += --enable-network=yes
|
||||
else
|
||||
LBREAKOUT2_CONF_OPTS += --disable-network
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user