Merge branch 'gmenu2x' of https://github.com/FunKey-Project/FunKey-OS into gmenu2x

This commit is contained in:
Vincent-FK 2020-12-05 16:45:28 +01:00
commit 32303fbd50
11 changed files with 58 additions and 6 deletions

View File

@ -12,4 +12,5 @@ source "$BR2_EXTERNAL_FUNKEY_PATH/package/ProdScreens/Config.in"
source "$BR2_EXTERNAL_FUNKEY_PATH/package/fonts-droid/Config.in"
source "$BR2_EXTERNAL_FUNKEY_PATH/package/libini/Config.in"
source "$BR2_EXTERNAL_FUNKEY_PATH/package/libopk/Config.in"
source "$BR2_EXTERNAL_FUNKEY_PATH/package/libxdgmime/Config.in"
source "$BR2_EXTERNAL_FUNKEY_PATH/package/gmenu2x/Config.in"

View File

@ -86,4 +86,5 @@ BR2_PACKAGE_HOST_DTC=y
BR2_PACKAGE_HOST_MTOOLS=y
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
BR2_PACKAGE_LIBOPK=y
BR2_PACKAGE_LIBXDGMIME=y
BR2_PACKAGE_GMENU2X=y

View File

@ -8,6 +8,7 @@ FONTS_DROID_VERSION = 074990596701553b8b51ff22290453de522f0d15
FONTS_DROID_SITE = https://android.googlesource.com/platform/frameworks/base/+archive/$(FONTS_DROID_VERSION)/data
FONTS_DROID_SOURCE = fonts.tar.gz
FONTS_DROID_LICENSE = Apache-2.0
FONTS_DROID_STRIP_COMPONENTS = 0
# We cannot verify the hash because googlesource.com produces an archive

View File

@ -1 +0,0 @@
sha256 7a24a8d20533038613c3475fc96575f0e3d878207b4e2da0c70068f5a3a179c0 gmenu2x-c6e2883.tar.gz

View File

@ -4,8 +4,12 @@
#
#############################################################
GMENU2X_VERSION = c6e2883
GMENU2X_SITE = $(call github,opendingux,gmenu2x,$(GMENU2X_VERSION))
GMENU2X_SITE_METHOD = git
GMENU2X_SITE = https://github.com/FunKey-Project/gmenu2x.git
GMENU2X_LICENSE = GPL-2.0
GMENU2X_DEPENDENCIES = sdl sdl_ttf sdl_gfx dejavu libpng fonts-droid
GMENU2X_CONF_OPTS = -DBIND_CONSOLE=ON
ifeq ($(BR2_PACKAGE_GMENU2X_SHOW_CLOCK),y)

View File

@ -1 +0,0 @@
sha256 fbb4fd49d367f4c700e893a5ea82e3c8c0175ee917d456de34593a981d7a68b3 libini-c3413da.tar.gz

View File

@ -4,7 +4,10 @@
#
#############################################################
LIBINI_VERSION = c3413da
LIBINI_SITE = $(call github,pcercuei,libini,$(LIBINI_VERSION))
LIBINI_SITE_METHOD = git
LIBINI_SITE = https://github.com/FunKey-Project/libini.git
LIBINI_LICENSE = LGPL-2.1
LIBINI_INSTALL_STAGING = YES
$(eval $(cmake-package))

View File

@ -1 +0,0 @@
sha256 99f5f55038bcda1b66de369897a9612fa52a657d1c573d1932e3eaa3d07ee7b1 libopk-3c918c8.tar.gz

View File

@ -4,8 +4,11 @@
#
#############################################################
LIBOPK_VERSION = 3c918c8
LIBOPK_SITE = $(call github,pcercuei,libopk,$(LIBOPK_VERSION))
LIBOPK_SITE_METHOD = git
LIBOPK_SITE = https://github.com/FunKey-Project/libopk.git
LIBOPK_DEPENDENCIES = libini zlib
LIBOPK_INSTALL_STAGING = YES
$(eval $(cmake-package))

View File

@ -0,0 +1,12 @@
config BR2_PACKAGE_LIBXDGMIME
bool "libxdgmime"
depends on BR2_USE_WCHAR # shared-mime-info
select BR2_PACKAGE_SHARED_MIME_INFO
help
Simple library that parses the proposed MIME spec
listed at http://freedesktop.org/.
https://github.com/pcercuei/libxdgmime
comment "libxdgmime requires a toolchain with WCHAR support"
depends on !BR2_USE_WCHAR

View File

@ -0,0 +1,30 @@
#############################################################
#
# libxdgmime
#
#############################################################
LIBXDGMIME_VERSION = db79e7c
LIBXDGMIME_SITE_METHOD = git
LIBXDGMIME_SITE = https://github.com/FunKey-Project/libxdgmime.git
LIBXDGMIME_DEPENDENCIES = shared-mime-info
LIBXDGMIME_LICENCE = LGPL-2.1+ or AFL-2.1
LIBXDGMIME_INSTALL_STAGING = YES
LIBXDGMIME_MAKE_ENV = CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" \
CROSS_COMPILE="$(TARGET_CROSS)" PREFIX=/usr \
PLATFORM="$(BR2_VENDOR)"
define LIBXDGMIME_BUILD_CMDS
$(LIBXDGMIME_MAKE_ENV) $(MAKE) -C $(@D)
endef
define LIBXDGMIME_INSTALL_STAGING_CMDS
$(LIBXDGMIME_MAKE_ENV) DESTDIR="$(STAGING_DIR)" $(MAKE) -C $(@D) install
endef
define LIBXDGMIME_INSTALL_TARGET_CMDS
$(LIBXDGMIME_MAKE_ENV) DESTDIR="$(TARGET_DIR)" $(MAKE) -C $(@D) install-lib
endef
$(eval $(generic-package))