mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
19
package/flare-engine/Config.in
Normal file
19
package/flare-engine/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_FLARE_ENGINE
|
||||
bool "flare-engine"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS # SDL2
|
||||
select BR2_PACKAGE_SDL2
|
||||
select BR2_PACKAGE_SDL2_IMAGE
|
||||
select BR2_PACKAGE_SDL2_MIXER
|
||||
select BR2_PACKAGE_SDL2_TTF
|
||||
help
|
||||
Flare (Free Libre Action Roleplaying Engine) is a simple game
|
||||
engine built to handle a very specific kind of game:
|
||||
single-player 2D action RPGs.
|
||||
Flare is not a reimplementation of an existing game or engine.
|
||||
It is a tribute to and exploration of the action RPG genre.
|
||||
|
||||
http://flarerpg.org
|
||||
|
||||
comment "flare-engine needs a toolchain w/ C++, dynamic library"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
|
||||
3
package/flare-engine/flare-engine.hash
Normal file
3
package/flare-engine/flare-engine.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 4bbd4674513b643be6294188904665c53f0ef2912e803212c05e8fd22a44d74d flare-engine-1.0.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
30
package/flare-engine/flare-engine.mk
Normal file
30
package/flare-engine/flare-engine.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# flare-engine
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLARE_ENGINE_VERSION = 1.0
|
||||
FLARE_ENGINE_SITE = $(call github,clintbellanger,flare-engine,v$(FLARE_ENGINE_VERSION))
|
||||
FLARE_ENGINE_LICENSE = GPL-3.0+
|
||||
FLARE_ENGINE_LICENSE_FILES = COPYING
|
||||
|
||||
FLARE_ENGINE_DEPENDENCIES += sdl2 sdl2_image sdl2_mixer sdl2_ttf
|
||||
|
||||
# Don't use /usr/games and /usr/share/games
|
||||
FLARE_ENGINE_CONF_OPTS += -DBINDIR=bin -DDATADIR=share/flare
|
||||
|
||||
# Don't use the default Debug type as it adds -pg (gprof)
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||
FLARE_ENGINE_CONF_OPTS += -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
||||
# CMakeLists.txt sets CMAKE_CXX_FLAGS_<BUILD_TYPE> depending on
|
||||
# BUILD_TYPE, and this comes after the generic CMAKE_CXX_FLAGS.
|
||||
# Override CMAKE_BUILD_TYPE so no overrides are applied.
|
||||
FLARE_ENGINE_CONF_OPTS += -DCMAKE_BUILD_TYPE=Buildroot
|
||||
FLARE_ENGINE_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -O0"
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user