2020-12-04 21:59:23 +00:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# gmenu2x
|
|
|
|
#
|
|
|
|
#############################################################
|
2021-01-18 22:13:39 +00:00
|
|
|
GMENU2X_VERSION = gmenu2x-FunKey-1.0.1
|
2020-12-05 14:33:09 +00:00
|
|
|
GMENU2X_SITE_METHOD = git
|
|
|
|
GMENU2X_SITE = https://github.com/FunKey-Project/gmenu2x.git
|
|
|
|
GMENU2X_LICENSE = GPL-2.0
|
|
|
|
|
2020-12-04 21:59:23 +00:00
|
|
|
GMENU2X_DEPENDENCIES = sdl sdl_ttf sdl_gfx dejavu libpng fonts-droid
|
2020-12-05 14:33:09 +00:00
|
|
|
|
2020-12-04 21:59:23 +00:00
|
|
|
GMENU2X_CONF_OPTS = -DBIND_CONSOLE=ON
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GMENU2X_SHOW_CLOCK),y)
|
|
|
|
GMENU2X_CONF_OPTS += -DCLOCK=ON
|
|
|
|
else
|
|
|
|
GMENU2X_CONF_OPTS += -DCLOCK=OFF
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GMENU2X_CPUFREQ),y)
|
|
|
|
GMENU2X_CONF_OPTS += -DCPUFREQ=ON
|
|
|
|
else
|
|
|
|
GMENU2X_CONF_OPTS += -DCPUFREQ=OFF
|
|
|
|
endif
|
|
|
|
|
2020-12-11 14:02:28 +00:00
|
|
|
GMENU2X_CONF_OPTS += -DSCREEN_WIDTH=240 -DSCREEN_HEIGHT=240 -DSCREEN_DEPTH=16
|
2020-12-06 12:11:40 +00:00
|
|
|
|
2020-12-04 21:59:23 +00:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBOPK),y)
|
|
|
|
GMENU2X_DEPENDENCIES += libopk
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBXDGMIME),y)
|
|
|
|
GMENU2X_DEPENDENCIES += libxdgmime
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|