summaryrefslogtreecommitdiffstats
path: root/package/matchbox/matchbox.mk
blob: 100a633363c67e8f93e677b3845c30af6202438c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
################################################################################
#
# matchbox
#
################################################################################

MATCHBOX_VERSION = 1.2
MATCHBOX_SOURCE = matchbox-window-manager-$(MATCHBOX_VERSION).tar.bz2
MATCHBOX_SITE = http://downloads.yoctoproject.org/releases/matchbox/matchbox-window-manager/$(MATCHBOX_VERSION)
MATCHBOX_LICENSE = GPLv2+
MATCHBOX_LICENSE_FILES = COPYING

MATCHBOX_DEPENDENCIES = matchbox-lib
MATCHBOX_CONF_OPTS = --enable-expat

# Workaround bug in configure script
MATCHBOX_CONF_ENV = expat=yes

ifeq ($(BR2_PACKAGE_X11R7_LIBXCOMPOSITE),y)
ifeq ($(BR2_PACKAGE_X11R7_LIBXPM),y)
MATCHBOX_CONF_OPTS += --enable-composite
MATCHBOX_DEPENDENCIES += xlib_libXcomposite
MATCHBOX_DEPENDENCIES += xlib_libXpm
endif
endif

ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y)
MATCHBOX_DEPENDENCIES += xlib_libXft
endif

ifeq ($(BR2_PACKAGE_STARTUP_NOTIFICATION),y)
MATCHBOX_CONF_OPTS += --enable-startup-notification
MATCHBOX_DEPENDENCIES += startup-notification
else
MATCHBOX_CONF_OPTS += --disable-startup-notification
endif

$(eval $(autotools-package))

# After we called a package infra, we can include more files
include $(sort $(wildcard package/matchbox/*/*.mk))
OpenPOWER on IntegriCloud