diff options
author | Will Wagner <will_wagner@carallon.com> | 2010-04-01 11:10:12 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-04-03 13:45:23 +0200 |
commit | f94830d0e5a409b2e2dc30a4e002c180fe09ec4e (patch) | |
tree | acf0f7e9f84d00bba862f0d36cf6fa1f2a2f9e2a /package/matchbox/matchbox-wm/matchbox-wm.mk | |
parent | cb08cd64f0fe89d9551052cafeae96045441df51 (diff) |
matchbox: convert to autotools, fix build with start-notification, libxft
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/matchbox/matchbox-wm/matchbox-wm.mk')
-rw-r--r-- | package/matchbox/matchbox-wm/matchbox-wm.mk | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/package/matchbox/matchbox-wm/matchbox-wm.mk b/package/matchbox/matchbox-wm/matchbox-wm.mk new file mode 100644 index 000000000..fbf3456e7 --- /dev/null +++ b/package/matchbox/matchbox-wm/matchbox-wm.mk @@ -0,0 +1,39 @@ +############################################################# +# +# MatchBox WM +# +############################################################# + +MATCHBOX_WM_VERSION = 1.2 +MATCHBOX_WM_SOURCE = matchbox-window-manager-$(MATCHBOX_WM_VERSION).tar.bz2 +MATCHBOX_WM_SITE = http://matchbox-project.org/sources/matchbox-window-manager/$(MATCHBOX_WM_VERSION) +MATCHBOX_WM_DEPENDENCIES = matchbox-lib +MATCHBOX_WM_CONF_OPT = --enable-expat + +############################################################# + +ifeq ($(BR2_PACKAGE_X11R7_LIBXCOMPOSITE),y) +ifeq ($(BR2_PACKAGE_X11R7_LIBXPM),y) + MATCHBOX_WM_CONF_OPT+=--enable-composite + MATCHBOX_WM_DEPENDENCIES+=xlib_libXcomposite + MATCHBOX_WM_DEPENDENCIES+=xlib_libXpm +endif +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y) + #MATCHBOX_WM_OPTS+=--enable-standalone-xft + MATCHBOX_WM_DEPENDENCIES+=xlib_libXft +else + #MATCHBOX_WM_OPTS+=--disable-standalone-xft +endif + +ifeq ($(BR2_PACKAGE_STARTUP_NOTIFICATION),y) + MATCHBOX_WM_CONF_OPT+=--enable-startup-notification + MATCHBOX_WM_DEPENDENCIES+=startup-notification +else + MATCHBOX_WM_CONF_OPT+=--disable-startup-notification +endif + +############################################################# + +$(eval $(call AUTOTARGETS,package/matchbox,matchbox-wm)) |