a63fbb0d97
libpng is a mandatory dependency since bump to version 0.1.1 in commit
e2511d88e8
and
https://git.yoctoproject.org/matchbox-keyboard/commit/?id=1d7c5f1e0ad736205151c0df5aa738f942bd3e97:
checking for PNG... no
configure: error: Package requirements (libpng) were not met:
Package 'libpng', required by 'virtual:world', not found
Fixes:
- http://autobuild.buildroot.org/results/4495f0720d7053a52ff8fef82d18a70a6f20c66b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
41 lines
1.3 KiB
Makefile
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 libpng 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))
|