kumquat-buildroot/package/yad/yad.mk
Fabrice Fontaine 9692f0c55d package/yad: fix build with NLS
Fixes:
 - http://autobuild.buildroot.org/results/40ccab40d7c82b908a622d45998d057a31d9cac6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 29e689d41a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-09-02 12:39:19 +02:00

25 lines
688 B
Makefile

################################################################################
#
# yad
#
################################################################################
YAD_VERSION = 0.33.1
YAD_SOURCE = yad-$(YAD_VERSION).tar.xz
YAD_SITE = http://sourceforge.net/projects/yad-dialog/files
YAD_LICENSE = GPL-3.0
YAD_LICENSE_FILES = COPYING
YAD_DEPENDENCIES = host-intltool host-pkgconf $(TARGET_NLS_DEPENDENCIES)
YAD_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
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))