From f94830d0e5a409b2e2dc30a4e002c180fe09ec4e Mon Sep 17 00:00:00 2001 From: Will Wagner Date: Thu, 1 Apr 2010 11:10:12 +0100 Subject: matchbox: convert to autotools, fix build with start-notification, libxft Signed-off-by: Will Wagner Signed-off-by: Peter Korsgaard --- .../matchbox-keyboard/matchbox-keyboard.mk | 29 ++++++++++++++++++++++ .../matchbox-keyboard/mb-applet-kbd-wrapper.sh | 8 ++++++ 2 files changed, 37 insertions(+) create mode 100644 package/matchbox/matchbox-keyboard/matchbox-keyboard.mk create mode 100644 package/matchbox/matchbox-keyboard/mb-applet-kbd-wrapper.sh (limited to 'package/matchbox/matchbox-keyboard') diff --git a/package/matchbox/matchbox-keyboard/matchbox-keyboard.mk b/package/matchbox/matchbox-keyboard/matchbox-keyboard.mk new file mode 100644 index 000000000..7c6d4557f --- /dev/null +++ b/package/matchbox/matchbox-keyboard/matchbox-keyboard.mk @@ -0,0 +1,29 @@ +############################################################# +# +# 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 +MATCHBOX_KEYBOARD_CONF_OPT = --enable-expat + +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)) diff --git a/package/matchbox/matchbox-keyboard/mb-applet-kbd-wrapper.sh b/package/matchbox/matchbox-keyboard/mb-applet-kbd-wrapper.sh new file mode 100644 index 000000000..be202b5d6 --- /dev/null +++ b/package/matchbox/matchbox-keyboard/mb-applet-kbd-wrapper.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# + +killall matchbox-keyboard +if [ ! $? -eq 0 ] +then + matchbox-keyboard & +fi -- cgit v1.2.3