kumquat-buildroot/package/yad/yad.mk
Gustavo Zacarias 38542368aa yad: fix libgtk3 dependency
Make it depend explicitly on BR2_PACKAGE_LIBGTK3_X11 (the X11 backend
option) to avoid the checker from complaining.
Also add a comment about yad requiring the X11 backend otherwise it's
ambiguous if a user has libgtk3 enabled with broadway/wayland and the
comment shows up. Fixes:
http://autobuild.buildroot.net/results/84d/84d97bbcc0ea4f8eaa50dd25bf9ee8fdee4b937f/

Also cleanup some tiny whitespace in the package mk file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-07 23:31:22 +01:00

24 lines
620 B
Makefile

################################################################################
#
# yad
#
################################################################################
YAD_VERSION = 0.31.2
YAD_SOURCE = yad-$(YAD_VERSION).tar.xz
YAD_SITE = http://sourceforge.net/projects/yad-dialog/files
YAD_LICENSE = GPLv3
YAD_LICENSE_FILES = COPYING
YAD_DEPENDENCIES = host-intltool host-pkgconf
YAD_CONF_OPTS = --enable-html=no
ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
YAD_DEPENDENCIES += libgtk3
YAD_CONF_OPTS += --with-gtk=gtk3
else
YAD_DEPENDENCIES += libgtk2
YAD_CONF_OPTS += --with-gtk=gtk2
endif
$(eval $(autotools-package))