use our forked repos for gmenu2x

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK
2020-12-05 15:33:09 +01:00
parent 73394dc3d3
commit 5e17d55017
11 changed files with 58 additions and 6 deletions

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))