2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-08-03 19:23:01 +02:00
|
|
|
#
|
2013-06-06 01:53:28 +02:00
|
|
|
# fluxbox
|
2011-08-03 19:23:01 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-08-03 19:23:01 +02:00
|
|
|
|
2015-02-09 11:53:50 +01:00
|
|
|
FLUXBOX_VERSION = 1.3.7
|
|
|
|
FLUXBOX_SOURCE = fluxbox-$(FLUXBOX_VERSION).tar.xz
|
2012-08-26 01:52:48 +02:00
|
|
|
FLUXBOX_SITE = http://downloads.sourceforge.net/project/fluxbox/fluxbox/$(FLUXBOX_VERSION)
|
2012-11-30 12:46:29 +01:00
|
|
|
FLUXBOX_LICENSE = MIT
|
|
|
|
FLUXBOX_LICENSE_FILES = COPYING
|
2011-08-03 19:23:01 +02:00
|
|
|
|
2015-01-15 08:21:39 +01:00
|
|
|
FLUXBOX_CONF_OPTS = \
|
|
|
|
--x-includes=$(STAGING_DIR)/usr/include/X11 \
|
|
|
|
--x-libraries=$(STAGING_DIR)/usr/lib
|
2011-08-03 19:23:01 +02:00
|
|
|
FLUXBOX_DEPENDENCIES = xlib_libX11 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
|
2015-06-19 19:17:45 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_FREETYPE),y)
|
|
|
|
FLUXBOX_CONF_OPTS += --enable-freetype2
|
|
|
|
FLUXBOX_DEPENDENCIES += freetype
|
|
|
|
else
|
|
|
|
FLUXBOX_CONF_OPTS += --disable-freetype2
|
|
|
|
endif
|
|
|
|
|
2012-12-30 12:33:26 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_IMLIB2_X),y)
|
2015-06-19 19:17:45 +02:00
|
|
|
FLUXBOX_CONF_OPTS += --enable-imlib2
|
2012-12-30 12:33:26 +01:00
|
|
|
FLUXBOX_DEPENDENCIES += imlib2
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
FLUXBOX_CONF_OPTS += --disable-imlib2
|
2012-12-30 12:33:26 +01:00
|
|
|
endif
|
|
|
|
|
2015-06-19 19:17:45 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y)
|
|
|
|
FLUXBOX_CONF_OPTS += --enable-fribidi
|
|
|
|
FLUXBOX_DEPENDENCIES += libfribidi
|
|
|
|
else
|
|
|
|
FLUXBOX_CONF_OPTS += --disable-fribidi
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y)
|
|
|
|
FLUXBOX_CONF_OPTS += --enable-xft
|
|
|
|
FLUXBOX_DEPENDENCIES += xlib_libXft
|
|
|
|
else
|
|
|
|
FLUXBOX_CONF_OPTS += --disable-xft
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y)
|
|
|
|
FLUXBOX_CONF_OPTS += --enable-xrender
|
|
|
|
FLUXBOX_DEPENDENCIES += xlib_libXrender
|
|
|
|
else
|
|
|
|
FLUXBOX_CONF_OPTS += --disable-xrender
|
|
|
|
endif
|
|
|
|
|
2015-06-18 19:42:56 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXPM),y)
|
2015-06-19 19:17:45 +02:00
|
|
|
FLUXBOX_CONF_OPTS += --enable-xpm
|
2015-06-18 19:42:56 +02:00
|
|
|
FLUXBOX_DEPENDENCIES += xlib_libXpm
|
|
|
|
else
|
|
|
|
FLUXBOX_CONF_OPTS += --disable-xpm
|
|
|
|
endif
|
|
|
|
|
2015-06-19 19:17:45 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
|
|
|
|
FLUXBOX_CONF_OPTS += --enable-xinerama
|
|
|
|
FLUXBOX_DEPENDENCIES += xlib_libXinerama
|
|
|
|
else
|
|
|
|
FLUXBOX_CONF_OPTS += --disable-xinerama
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y)
|
|
|
|
FLUXBOX_CONF_OPTS += --enable-xext
|
|
|
|
FLUXBOX_DEPENDENCIES += xlib_libXext
|
|
|
|
else
|
|
|
|
FLUXBOX_CONF_OPTS += --disable-xext
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
|
|
|
|
FLUXBOX_CONF_OPTS += --enable-xrandr
|
|
|
|
FLUXBOX_DEPENDENCIES += xlib_libXrandr
|
|
|
|
else
|
|
|
|
FLUXBOX_CONF_OPTS += --disable-xrandr
|
|
|
|
endif
|
|
|
|
|
2011-10-10 11:21:58 +02:00
|
|
|
define FLUXBOX_INSTALL_XSESSION_FILE
|
2014-11-30 15:18:50 +01:00
|
|
|
$(INSTALL) -m 0755 -D package/fluxbox/xsession \
|
|
|
|
$(TARGET_DIR)/root/.xsession
|
2011-10-10 11:21:58 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
FLUXBOX_POST_INSTALL_TARGET_HOOKS += FLUXBOX_INSTALL_XSESSION_FILE
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|