fbida: Upgrade to 2.14

* Redo libjpeg detection to use cross cpp
* Add missing dependencies
* Use cairo only when it is compiled with EGL support which is not defaul
  in oe-core
* Fix build  with gcc10

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2020-08-13 15:19:43 -07:00
parent 646429ef0a
commit c93035a0fe
4 changed files with 93 additions and 21 deletions
@@ -0,0 +1,17 @@
OE configures cairo to disable EGL support, however fbida expects cairo with egl support
this patch therefore makes it possible to set HAVE_CAIRO_GL via recipe
Upstream-Status: Inappropriate [OE-Specific]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -67,7 +67,7 @@ define make-config
LIB := $(LIB)
RESDIR := $(call ac_resdir)
HAVE_LINUX_FB_H := $(call ac_header,linux/fb.h)
-HAVE_CAIRO_GL := $(call ac_pkg_config,cairo-gl)
+HAVE_CAIRO_GL ?= $(call ac_pkg_config,cairo-gl)
HAVE_LIBPCD := $(call ac_lib,pcd_open,pcd)
HAVE_LIBGIF := $(call ac_lib,DGifOpenFileName,gif)
HAVE_LIBWEBP := $(call ac_pkg_config,libwebp)