kumquat-buildroot/package/matchbox-keyboard/matchbox-keyboard.mk
Fabrice Fontaine e2511d88e8 package/matchbox-keyboard: bump to version 0.1.1
- Switch license to LGPL-2.1 except applet/applet.c:
  http://git.yoctoproject.org/cgit/cgit.cgi/matchbox-keyboard/commit/?id=267595f2ef18e46c79f76057ad3c6fb40009ca4f
- Drop expat=yes (not needed since
  http://git.yoctoproject.org/cgit/cgit.cgi/matchbox-keyboard/commit/?id=4cf2976842612a0a278de4515715e4e4228c2987)
- xlib_libXrender is a mandatory dependency since
  https://git.yoctoproject.org/matchbox-keyboard/commit/?id=b38f24036cff3be6c2fbcf9ca9881803e69003ac
- libgtk3 is an optional dependency since
  http://git.yoctoproject.org/cgit/cgit.cgi/matchbox-keyboard/commit/?id=e4ab2198a5f9611027cb62e6ff41ee2593f07d4a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-07-24 14:22:20 +02:00

41 lines
1.3 KiB
Makefile

################################################################################
#
# matchbox-keyboard
#
################################################################################
MATCHBOX_KEYBOARD_VERSION = 0.1.1
MATCHBOX_KEYBOARD_SOURCE = matchbox-keyboard-$(MATCHBOX_KEYBOARD_VERSION).tar.bz2
MATCHBOX_KEYBOARD_SITE = \
http://git.yoctoproject.org/cgit/cgit.cgi/matchbox-keyboard/snapshot
MATCHBOX_KEYBOARD_LICENSE = LGPL-2.1, GPL-2.0+ (applet.c)
MATCHBOX_KEYBOARD_LICENSE_FILES = COPYING applet/applet.c
MATCHBOX_KEYBOARD_DEPENDENCIES = \
host-pkgconf matchbox-lib matchbox-fakekey expat xlib_libXrender
# From git
MATCHBOX_KEYBOARD_AUTORECONF = YES
define MATCHBOX_KEYBOARD_POST_INSTALL_FIXES
$(INSTALL) -D -m 0755 package/matchbox-keyboard/mb-applet-kbd-wrapper.sh \
$(TARGET_DIR)/usr/bin/mb-applet-kbd-wrapper.sh
endef
MATCHBOX_KEYBOARD_POST_INSTALL_TARGET_HOOKS += MATCHBOX_KEYBOARD_POST_INSTALL_FIXES
ifeq ($(BR2_PACKAGE_CAIRO),y)
MATCHBOX_KEYBOARD_CONF_OPTS += --enable-cairo
MATCHBOX_KEYBOARD_DEPENDENCIES += cairo
else
MATCHBOX_KEYBOARD_CONF_OPTS += --disable-cairo
MATCHBOX_KEYBOARD_DEPENDENCIES += xlib_libXft
endif
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
MATCHBOX_KEYBOARD_CONF_OPTS += --enable-gtk3-im
MATCHBOX_KEYBOARD_DEPENDENCIES += libgtk3
else
MATCHBOX_KEYBOARD_CONF_OPTS += --disable-gtk3-im
endif
$(eval $(autotools-package))