2018-03-19 22:19:02 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# flare-engine
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
FLARE_ENGINE_VERSION = v1.0
|
|
|
|
FLARE_ENGINE_SITE = $(call github,clintbellanger,flare-engine,$(FLARE_ENGINE_VERSION))
|
2018-04-09 21:42:53 +02:00
|
|
|
FLARE_ENGINE_LICENSE = GPL-3.0+
|
2018-03-19 22:19:02 +01:00
|
|
|
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
|
|
|
|
|
2018-11-18 22:34:39 +01:00
|
|
|
# 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
|
|
|
|
|
2018-03-19 22:19:02 +01:00
|
|
|
$(eval $(cmake-package))
|