summaryrefslogtreecommitdiff
path: root/package/matchbox/matchbox-desktop/matchbox-desktop.mk
blob: a3312af8292b46a350bd4a66a956ae3d898778de (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
#############################################################
#
# MatchBox Desktop
#
#############################################################

MATCHBOX_DESKTOP_VERSION = 0.9.1
MATCHBOX_DESKTOP_SOURCE = matchbox-desktop-$(MATCHBOX_DESKTOP_VERSION).tar.bz2
MATCHBOX_DESKTOP_SITE = http://matchbox-project.org/sources/matchbox-desktop/$(MATCHBOX_DESKTOP_VERSION)
MATCHBOX_DESKTOP_LIBTOOL_PATCH = NO
MATCHBOX_DESKTOP_DEPENDENCIES = matchbox-lib
MATCHBOX_DESKTOP_CONF_OPT = --enable-expat

define MATCHBOX_DESKTOP_POST_INSTALL_FIXES
 cp -f ./package/matchbox/matchbox-desktop/mbdesktop_modules $(TARGET_DIR)/etc/matchbox/
endef

MATCHBOX_DESKTOP_POST_INSTALL_TARGET_HOOKS += MATCHBOX_DESKTOP_POST_INSTALL_FIXES

#############################################################

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

#############################################################

$(eval $(call AUTOTARGETS,package/matchbox,matchbox-desktop))