b64a031bad
These packages have buggy configure script. It adds -L/lib flag for linker and thus wrong libraries are linked in. Workaround this issue by setting expat=yes in configure environment. Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
32 lines
1.0 KiB
Makefile
32 lines
1.0 KiB
Makefile
#############################################################
|
|
#
|
|
# MatchBox Keyboard
|
|
#
|
|
#############################################################
|
|
|
|
MATCHBOX_KEYBOARD_VERSION = 0.1
|
|
MATCHBOX_KEYBOARD_SOURCE = matchbox-keyboard-$(MATCHBOX_KEYBOARD_VERSION).tar.bz2
|
|
MATCHBOX_KEYBOARD_SITE = http://matchbox-project.org/sources/matchbox-keyboard/$(MATCHBOX_KEYBOARD_VERSION)
|
|
MATCHBOX_KEYBOARD_DEPENDENCIES = matchbox-lib matchbox-fakekey
|
|
|
|
# Workaround bug in configure script
|
|
MATCHBOX_KEYBOARD_CONF_ENV = expat=yes
|
|
|
|
define MATCHBOX_KEYBOARD_POST_INSTALL_FIXES
|
|
cp -dpf ./package/matchbox/matchbox-keyboard/mb-applet-kbd-wrapper.sh $(TARGET_DIR)/usr/bin/
|
|
endef
|
|
|
|
MATCHBOX_KEYBOARD_POST_INSTALL_TARGET_HOOKS += MATCHBOX_KEYBOARD_POST_INSTALL_FIXES
|
|
|
|
#############################################################
|
|
|
|
ifeq ($(BR2_PACKAGE_PANGO),y)
|
|
MATCHBOX_PKEYBOARD_CONF_OPT+=--enable-pango
|
|
else
|
|
MATCHBOX_KEYBOARD_DEPENDENCIES+=xlib_libXft
|
|
endif
|
|
|
|
#############################################################
|
|
|
|
$(eval $(call AUTOTARGETS,package/matchbox,matchbox-keyboard))
|