package/nvidia-driver: install an egl.pc
PATCH 1/1 package/nvidia-driver: install an egl.pc
A lot of packages expect an egl.pc to decide that EGL is available. So, provide one.
As suggested by Alexandre, use the one from nvidia-tegra23 as template.
---
Note: ideally, we should also provide a glesv2.pc, and possibly a wayland-egl.pc as well. That can be folowup patches.
--- package/nvidia-driver/egl.pc | 10 ++++++++++ package/nvidia-driver/nvidia-driver.mk | 1 + 2 files changed, 11 insertions(+) create mode 100644 package/nvidia-driver/egl.pc
package/nvidia-driver/egl.pc new file +10 -0
@@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: egl +Description: Nvidia OpenGL library +Version: 1 +Cflags: -I${includedir} +Libs: -L${libdir} -lEGL
package/nvidia-driver/nvidia-driver.mk +1 -0
@@ -78,6 +78,7 @@ define NVIDIA_DRIVER_INSTALL_GL_DEV $(SED) 's:__LIBGL_PATH__:/usr/lib:' $(STAGING_DIR)/usr/lib/libGL.la $(SED) 's:-L[^[:space:]]\+::' $(STAGING_DIR)/usr/lib/libGL.la $(INSTALL) -D -m 0644 package/nvidia-driver/gl.pc $(STAGING_DIR)/usr/lib/pkgconfig/gl.pc + $(INSTALL) -D -m 0644 package/nvidia-driver/egl.pc $(STAGING_DIR)/usr/lib/pkgconfig/egl.pc endef # Those libraries are 'private' libraries requiring an agreement with
Signature · 1 line
2.11.0
Thomas Petazzoni
AppliedPATCH 1/1 package/nvidia-driver: install an egl.pc
Hello,
Quoted 10 lines · Yann E. MORIN
A lot of packages expect an egl.pc to decide that EGL is available. So, provide one.
As suggested by Alexandre, use the one from nvidia-tegra23 as template.
Reported-by Alexandre Maumen? <[email protected]>Signed-off-by "Yann E. MORIN" <[email protected]>Cc Alexandre Maumen? <[email protected]>Cc Arnout Vandecappelle <[email protected]>
Quoted 8 lines
---
Note: ideally, we should also provide a glesv2.pc, and possibly a wayland-egl.pc as well. That can be folowup patches.--- package/nvidia-driver/egl.pc | 10 ++++++++++ package/nvidia-driver/nvidia-driver.mk | 1 + 2 files changed, 11 insertions(+) create mode 100644 package/nvidia-driver/egl.pc
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 package/nvidia-driver: install an egl.pc
In reply to Yann E. MORINQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
A lot of packages expect an egl.pc to decide that EGL is available. So, provide one.
As suggested by Alexandre, use the one from nvidia-tegra23 as template.
Quoted 8 lines
Reported-by Alexandre Maumen? <[email protected]>Signed-off-by "Yann E. MORIN" <[email protected]>Cc Alexandre Maumen? <[email protected]>Cc Arnout Vandecappelle <[email protected]>---
Note: ideally, we should also provide a glesv2.pc, and possibly a wayland-egl.pc as well. That can be folowup patches.
Committed to 2017.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard