summaryrefslogtreecommitdiff
path: root/package/matchbox/matchbox-desktop/matchbox-desktop.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/matchbox/matchbox-desktop/matchbox-desktop.mk')
-rw-r--r--package/matchbox/matchbox-desktop/matchbox-desktop.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/matchbox/matchbox-desktop/matchbox-desktop.mk b/package/matchbox/matchbox-desktop/matchbox-desktop.mk
new file mode 100644
index 000000000..a3312af82
--- /dev/null
+++ b/package/matchbox/matchbox-desktop/matchbox-desktop.mk
@@ -0,0 +1,31 @@
+#############################################################
+#
+# MatchBox Desktop
+#
+#############################################################
+
+MATCHBOX_DESKTOP_VERSION = 0.9.1
+MATCHBOX_DESKTOP_SOURCE = matchbox-desktop-$(MATCHBOX_DESKTOP_VERSION).tar.bz2
+MATCHBOX_DESKTOP_SITE = http://matchbox-project.org/sources/matchbox-desktop/$(MATCHBOX_DESKTOP_VERSION)
+MATCHBOX_DESKTOP_LIBTOOL_PATCH = NO
+MATCHBOX_DESKTOP_DEPENDENCIES = matchbox-lib
+MATCHBOX_DESKTOP_CONF_OPT = --enable-expat
+
+define MATCHBOX_DESKTOP_POST_INSTALL_FIXES
+ cp -f ./package/matchbox/matchbox-desktop/mbdesktop_modules $(TARGET_DIR)/etc/matchbox/
+endef
+
+MATCHBOX_DESKTOP_POST_INSTALL_TARGET_HOOKS += MATCHBOX_DESKTOP_POST_INSTALL_FIXES
+
+#############################################################
+
+ifeq ($(BR2_PACKAGE_STARTUP_NOTIFICATION),y)
+ MATCHBOX_DESKTOP_CONF_OPT+=--enable-startup-notification
+ MATCHBOX_DESKTOP_DEPENDENCIES+=startup-notification
+else
+ MATCHBOX_DESKTOP_CONF_OPT+=--disable-startup-notification
+endif
+
+#############################################################
+
+$(eval $(call AUTOTARGETS,package/matchbox,matchbox-desktop))