2020-05-15 06:36:01 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# retrofe
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-05-08 22:21:10 +01:00
|
|
|
RETROFE_VERSION = 7fc674e
|
2020-05-15 06:36:01 +01:00
|
|
|
RETROFE_SITE_METHOD = git
|
2020-11-16 12:58:36 +00:00
|
|
|
RETROFE_SITE = https://github.com/FunKey-Project/RetroFE.git
|
2020-05-15 06:36:01 +01:00
|
|
|
RETROFE_DEPENDENCIES = gstreamer1 gst1-plugins-base sdl sdl_image sdl_mixer sdl_sound sdl_ttf libglib2 sqlite zlib
|
|
|
|
RETROFE_LICENSE = GPL-3.0
|
|
|
|
RETROFE_LICENSE_FILES = LICENSE.txt
|
|
|
|
|
|
|
|
RETROFE_SUBDIR = RetroFE/Source
|
|
|
|
RETROFE_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
|
|
RETROFE_CONF_OPTS += -DVERSION_MAJOR=0 -DVERSION_MINOR=0 -DVERSION_BUILD=0
|
|
|
|
|
2020-12-25 14:46:52 +00:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBMIKMOD),y)
|
|
|
|
RETROFE_DEPENDENCIES += libmikmod
|
|
|
|
RETROFE_CONF_OPTS += -DLIBMIKMOD=1
|
|
|
|
endif
|
|
|
|
|
2020-05-15 06:36:01 +01:00
|
|
|
define RETROFE_INSTALL_TARGET_CMDS
|
2020-05-31 18:31:16 +01:00
|
|
|
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games
|
|
|
|
$(INSTALL) -m 0755 $(@D)/RetroFE/Build/retrofe $(TARGET_DIR)/usr/games/retrofe
|
2020-05-15 06:36:01 +01:00
|
|
|
endef
|
|
|
|
|
2020-12-25 14:46:52 +00:00
|
|
|
TARGET_CFLAGS += -O3
|
|
|
|
|
2020-05-15 06:36:01 +01:00
|
|
|
$(eval $(cmake-package))
|