31 lines
953 B
Makefile
31 lines
953 B
Makefile
################################################################################
|
|
#
|
|
# retrofe
|
|
#
|
|
################################################################################
|
|
|
|
RETROFE_VERSION = RetroFE-FunKey-1.1.3
|
|
RETROFE_SITE_METHOD = git
|
|
RETROFE_SITE = https://github.com/FunKey-Project/RetroFE.git
|
|
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
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBMIKMOD),y)
|
|
RETROFE_DEPENDENCIES += libmikmod
|
|
RETROFE_CONF_OPTS += -DLIBMIKMOD=1
|
|
endif
|
|
|
|
define RETROFE_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games
|
|
$(INSTALL) -m 0755 $(@D)/RetroFE/Build/retrofe $(TARGET_DIR)/usr/games/retrofe
|
|
endef
|
|
|
|
TARGET_CFLAGS += -O3
|
|
|
|
$(eval $(cmake-package))
|