Blame view

buildroot/buildroot-2016.08.1/package/matchbox-keyboard/matchbox-keyboard.mk 1.15 KB
6b13f685e   김민수   BSP 최초 추가
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
  ################################################################################
  #
  # matchbox-keyboard
  #
  ################################################################################
  
  MATCHBOX_KEYBOARD_VERSION = 0.1
  MATCHBOX_KEYBOARD_SOURCE = matchbox-keyboard-$(MATCHBOX_KEYBOARD_VERSION).tar.bz2
  MATCHBOX_KEYBOARD_SITE = http://downloads.yoctoproject.org/releases/matchbox/matchbox-keyboard/$(MATCHBOX_KEYBOARD_VERSION)
  MATCHBOX_KEYBOARD_LICENSE = GPLv2+
  MATCHBOX_KEYBOARD_LICENSE_FILES = COPYING
  MATCHBOX_KEYBOARD_DEPENDENCIES = host-pkgconf matchbox-lib matchbox-fakekey expat
  
  # Workaround bug in configure script
  MATCHBOX_KEYBOARD_CONF_ENV = expat=yes
  
  define MATCHBOX_KEYBOARD_POST_INSTALL_FIXES
  	$(INSTALL) -D -m 0755 package/matchbox-keyboard/mb-applet-kbd-wrapper.sh \
  		$(TARGET_DIR)/usr/bin/mb-applet-kbd-wrapper.sh
  endef
  
  MATCHBOX_KEYBOARD_POST_INSTALL_TARGET_HOOKS += MATCHBOX_KEYBOARD_POST_INSTALL_FIXES
  
  ifeq ($(BR2_PACKAGE_CAIRO),y)
  MATCHBOX_KEYBOARD_CONF_OPTS += --enable-cairo
  MATCHBOX_KEYBOARD_DEPENDENCIES += cairo
  else
  MATCHBOX_KEYBOARD_CONF_OPTS += --disable-cairo
  MATCHBOX_KEYBOARD_DEPENDENCIES += xlib_libXft
  endif
  
  $(eval $(autotools-package))