[Buildroot] [git commit branch/2018.11.x] package/fltk: add optional xlib_libXrender dependency

Peter Korsgaard peter at korsgaard.com
Wed Mar 27 14:29:10 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=f15e362922d758e9960fed9069ab9f0f61284762
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.11.x

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 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 65895f36eea0139c3d590cd5982be5504b2de9ce)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/fltk/fltk.mk | 7 +++++++
 1 file changed, 7 insertions(+)

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))


More information about the buildroot mailing list