summaryrefslogtreecommitdiffstats
path: root/package/matchbox-panel/matchbox-panel.mk
blob: aa2d4179222d2ef6d0b4bdc058175f657e2a309c (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
################################################################################
#
# matchbox-panel
#
################################################################################

MATCHBOX_PANEL_VERSION_MAJOR = 0.9
MATCHBOX_PANEL_VERSION = $(MATCHBOX_PANEL_VERSION_MAJOR).3
MATCHBOX_PANEL_SOURCE = matchbox-panel-$(MATCHBOX_PANEL_VERSION).tar.bz2
MATCHBOX_PANEL_SITE = http://downloads.yoctoproject.org/releases/matchbox/matchbox-panel/$(MATCHBOX_PANEL_VERSION_MAJOR)
MATCHBOX_PANEL_LICENSE = GPLv2+
MATCHBOX_PANEL_LICENSE_FILES = COPYING
MATCHBOX_PANEL_DEPENDENCIES = matchbox-lib
MATCHBOX_PANEL_CONF_OPTS = --enable-expat --enable-dnotify

ifeq ($(BR2_PACKAGE_MATCHBOX_STARTUP_MONITOR),y)
MATCHBOX_PANEL_CONF_OPTS += --enable-startup-notification
MATCHBOX_PANEL_DEPENDENCIES += matchbox-startup-monitor
else
MATCHBOX_PANEL_CONF_OPTS += --disable-startup-notification
endif

# Using ACPI is only possible on x86 (32- or 64-bit) or AArch64
ifeq ($(BR2_aarch64)$(BR2_i386)$(BR2_x86_64),y)
MATCHBOX_PANEL_CONF_OPTS += --enable-acpi-linux
else
MATCHBOX_PANEL_CONF_OPTS += --disable-acpi-linux
endif

ifeq ($(BR2_PACKAGE_WIRELESS_TOOLS_LIB),y)
MATCHBOX_PANEL_DEPENDENCIES += wireless_tools
endif

$(eval $(autotools-package))
OpenPOWER on IntegriCloud