[Buildroot] [PATCH 2/2] package/rpi-userland: expose appropriate EGL version

Yann E. MORIN yann.morin.1998 at free.fr
Sat Oct 12 22:20:08 UTC 2013


From: "Yann E. MORIN" <yann.morin.1998 at free.fr>

The egl.pc file installed exposes version 1.0, while it really is a
much higher version.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>

---
Note: version 1.0 causes build failures for weston, which fails at
./configure with this error message:
    Package 'egl' has version '1.0', required version is '>= 7.10'

Do as the Collabora guys do, and expose version 10:
    http://cgit.collabora.com/git/user/pq/android-pc-files.git/tree/pkgconfig/egl.pc?h=raspberrypi
---
 package/rpi-userland/rpi-userland-000-add-pkgconfig-files.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/rpi-userland/rpi-userland-000-add-pkgconfig-files.patch b/package/rpi-userland/rpi-userland-000-add-pkgconfig-files.patch
index d7984ff..848e49d 100644
--- a/package/rpi-userland/rpi-userland-000-add-pkgconfig-files.patch
+++ b/package/rpi-userland/rpi-userland-000-add-pkgconfig-files.patch
@@ -18,7 +18,7 @@ Index: b/interface/khronos/egl/egl.pc.in
 +
 +Name: egl
 +Description: RasberryPi implementation of EGL
-+Version: 1.0
++Version: 10
 +Libs: -L${libdir} -lEGL -lGLESv2 -lbcm_host
 +Cflags: -I${includedir}/ -I${includedir}/interface/vcos/pthreads/ \
 +        -I${includedir}/interface/vmcs_host/linux/
-- 
1.8.1.2




More information about the buildroot mailing list