mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
* add missing hashes & correct licenses * disable conventional license files for IPK pkgs + more fixes * libretro-database: bump libretro-database version (with existent License) * libretro-*: redirect to upstream links pointing to recalbox src
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# GMenu2X
|
|
#
|
|
################################################################################
|
|
|
|
GMENU2X_VERSION = origin/master
|
|
GMENU2X_SITE_METHOD = git
|
|
GMENU2X_SITE = https://github.com/MiyooCFW/gmenu2x.git
|
|
GMENU2X_DEPENDENCIES = sdl sdl_image sdl_mixer sdl_sound sdl_ttf
|
|
GMENU2X_LICENSE = GPL-2.0, Custom (fonts and skins)
|
|
GMENU2X_LICENSE_FILES = COPYING
|
|
|
|
GMENU2X_BUILDTIME = \"$(shell date +%F\ %H:%M)\"
|
|
GMENU2X_BUILDROOT_HASH = $(shell git rev-parse --short HEAD)
|
|
GMENU2X_HASH = -D__BUILDTIME__=$(GMENU2X_BUILDTIME) -D__BUILDROOT_HASH__=$(GMENU2X_BUILDROOT_HASH) \
|
|
-D__COMMIT_HASH__=$(shell git -C $(GMENU2X_DL_DIR)/git rev-parse --short HEAD)
|
|
ifdef CFW_HASH
|
|
ifneq ($(CFW_HASH), $(GMENU2X_BUILDROOT_HASH))
|
|
GMENU2X_HASH += -D__CFW_HASH__=$(CFW_HASH)
|
|
endif
|
|
endif
|
|
|
|
define GMENU2X_BUILD_CMDS
|
|
$(MAKE) GMENU2X_HASH="$(GMENU2X_HASH)" CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" STRIP="$(TARGET_STRIP)" LD="$(TARGET_LD)" -C $(@D) -f Makefile.miyoo dist
|
|
endef
|
|
|
|
define GMENU2X_INSTALL_TARGET_CMDS
|
|
mkdir -p $(BINARIES_DIR)/gmenu2x/
|
|
cp -r $(@D)/dist/miyoo/* $(BINARIES_DIR)/gmenu2x/
|
|
endef
|
|
|
|
$(eval $(generic-package))
|