Blame view

buildroot/buildroot-2016.08.1/package/openbox/openbox.mk 1.57 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
  ################################################################################
  #
  # openbox
  #
  ################################################################################
  
  OPENBOX_VERSION = 3.6.1
  OPENBOX_SOURCE = openbox-$(OPENBOX_VERSION).tar.xz
  OPENBOX_SITE = http://openbox.org/dist/openbox
  OPENBOX_LICENSE = GPLv2+
  OPENBOX_LICENSE_FILES = COPYING
  
  OPENBOX_CONF_OPTS = \
  	--x-includes=$(STAGING_DIR)/usr/include/X11 \
  	--x-libraries=$(STAGING_DIR)/usr/lib
  
  OPENBOX_DEPENDENCIES = xlib_libX11 libxml2 libglib2 pango host-pkgconf
  
  ifeq ($(BR2_PACKAGE_IMLIB2_X),y)
  OPENBOX_CONF_OPTS += --enable-imlib2
  OPENBOX_DEPENDENCIES += imlib2
  else
  OPENBOX_CONF_OPTS += --disable-imlib2
  endif
  
  ifeq ($(BR2_PACKAGE_STARTUP_NOTIFICATION),y)
  OPENBOX_CONF_OPTS += --enable-startup-notification
  OPENBOX_DEPENDENCIES += startup-notification
  else
  OPENBOX_CONF_OPTS += --disable-startup-notification
  endif
  
  ifeq ($(BR2_PACKAGE_XLIB_LIBSM),y)
  OPENBOX_CONF_OPTS += --enable-session-management
  OPENBOX_DEPENDENCIES += xlib_libSM
  else
  OPENBOX_CONF_OPTS += --disable-session-management
  endif
  
  ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
  OPENBOX_CONF_OPTS += --enable-xinerama
  OPENBOX_DEPENDENCIES += xlib_libXinerama
  else
  OPENBOX_CONF_OPTS += --disable-xinerama
  endif
  
  ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
  OPENBOX_CONF_OPTS += --enable-xrandr
  OPENBOX_DEPENDENCIES += xlib_libXrandr
  else
  OPENBOX_CONF_OPTS += --disable-xrandr
  endif
  
  ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
  OPENBOX_DEPENDENCIES += xlib_libXcursor
  OPENBOX_CONF_OPTS += --enable-xcursor
  else
  OPENBOX_CONF_OPTS += --disable-xcursor
  endif
  
  $(eval $(autotools-package))