gcc: preserve CXXFLAGS_FOR_TARGET
[buildroot-gz.git] / package / matchbox-panel / matchbox-panel.mk
blobaa2d4179222d2ef6d0b4bdc058175f657e2a309c
1 ################################################################################
3 # matchbox-panel
5 ################################################################################
7 MATCHBOX_PANEL_VERSION_MAJOR = 0.9
8 MATCHBOX_PANEL_VERSION = $(MATCHBOX_PANEL_VERSION_MAJOR).3
9 MATCHBOX_PANEL_SOURCE = matchbox-panel-$(MATCHBOX_PANEL_VERSION).tar.bz2
10 MATCHBOX_PANEL_SITE = http://downloads.yoctoproject.org/releases/matchbox/matchbox-panel/$(MATCHBOX_PANEL_VERSION_MAJOR)
11 MATCHBOX_PANEL_LICENSE = GPLv2+
12 MATCHBOX_PANEL_LICENSE_FILES = COPYING
13 MATCHBOX_PANEL_DEPENDENCIES = matchbox-lib
14 MATCHBOX_PANEL_CONF_OPTS = --enable-expat --enable-dnotify
16 ifeq ($(BR2_PACKAGE_MATCHBOX_STARTUP_MONITOR),y)
17 MATCHBOX_PANEL_CONF_OPTS += --enable-startup-notification
18 MATCHBOX_PANEL_DEPENDENCIES += matchbox-startup-monitor
19 else
20 MATCHBOX_PANEL_CONF_OPTS += --disable-startup-notification
21 endif
23 # Using ACPI is only possible on x86 (32- or 64-bit) or AArch64
24 ifeq ($(BR2_aarch64)$(BR2_i386)$(BR2_x86_64),y)
25 MATCHBOX_PANEL_CONF_OPTS += --enable-acpi-linux
26 else
27 MATCHBOX_PANEL_CONF_OPTS += --disable-acpi-linux
28 endif
30 ifeq ($(BR2_PACKAGE_WIRELESS_TOOLS_LIB),y)
31 MATCHBOX_PANEL_DEPENDENCIES += wireless_tools
32 endif
34 $(eval $(autotools-package))