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>
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
#############################################################
|
|
#
|
|
# 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
|
|
|
|
# Workaround bug in configure script
|
|
MATCHBOX_WM_CONF_ENV = expat=yes
|
|
|
|
#############################################################
|
|
|
|
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))
|