FunKey-OS/FunKey/package/retrofe/retrofe.mk

31 lines
940 B
Makefile
Raw Normal View History

################################################################################
#
# retrofe
#
################################################################################
RETROFE_VERSION = 7fc674e
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
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
endef
TARGET_CFLAGS += -O3
$(eval $(cmake-package))