aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-03-17 16:29:29 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-03-27 15:29:17 +0100
commitbd75c62acac6c3a7ef06bc602d262c992cd34d14 (patch)
tree09bfa1877daa71319a637419fe5f683f25a4156f
parent06f7161d5b4e8700b9ee08ea1d5198effb94136a (diff)
downloadbuildroot-bd75c62acac6c3a7ef06bc602d262c992cd34d14.tar.gz
buildroot-bd75c62acac6c3a7ef06bc602d262c992cd34d14.tar.bz2
package/fltk: add optional xlib_libXrender dependency
xlib_libXrender is enabled by default and has been added since version 1.3.4-1 and https://github.com/fltk/fltk/commit/a6c4b29a184ce7708819f4706877eedcd99a30f5 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 65895f36eea0139c3d590cd5982be5504b2de9ce) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/fltk/fltk.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/fltk/fltk.mk b/package/fltk/fltk.mk
index 611d79da50..c37a13176c 100644
--- a/package/fltk/fltk.mk
+++ b/package/fltk/fltk.mk
@@ -54,4 +54,11 @@ else
FLTK_CONF_OPTS += --disable-xinerama
endif
+ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y)
+FLTK_DEPENDENCIES += xlib_libXrender
+FLTK_CONF_OPTS += --enable-xrender
+else
+FLTK_CONF_OPTS += --disable-xrender
+endif
+
$(eval $(autotools-package))