mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
blackbox: needs iconv if !locale
Closes #2101 At the same time fix dependencies so it can be built without a local X server, and a comment is shown if C++ support isn't enabled. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -2,8 +2,13 @@ config BR2_PACKAGE_BLACKBOX
|
||||
bool "blackbox"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
help
|
||||
Blackbox is a fast, lightweight window manager for the X
|
||||
Window System.
|
||||
|
||||
http://blackboxwm.sourceforge.net/
|
||||
|
||||
comment "blackbox requires a toolchain with C++ support enabled"
|
||||
depends on BR2_PACKAGE_XORG7 && !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
@@ -14,6 +14,10 @@ BLACKBOX_INSTALL_TARGET:=YES
|
||||
BLACKBOX_CONF_OPT:=--x-includes=$(STAGING_DIR)/usr/include/X11 \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib
|
||||
|
||||
BLACKBOX_DEPENDENCIES:=xserver_xorg-server
|
||||
BLACKBOX_DEPENDENCIES = xlib_libX11
|
||||
|
||||
ifneq ($(BR2_ENABLE_LOCALE),y)
|
||||
BLACKBOX_DEPENDENCIES += libiconv
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,blackbox))
|
||||
|
||||
Reference in New Issue
Block a user