diff mbox

[1/4] wine: Add opengl dependency

Message ID 550D906F.5030609@dawncrow.de
State Accepted
Headers show

Commit Message

André Zwing March 21, 2015, 3:38 p.m. UTC
Signed-off-by: André Hentschel <nerv@dawncrow.de>
---
 package/wine/wine.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Comments

Thomas Petazzoni April 3, 2015, 10:27 p.m. UTC | #1
Dear André Hentschel,

On Sat, 21 Mar 2015 16:38:23 +0100, André Hentschel wrote:
> Signed-off-by: André Hentschel <nerv@dawncrow.de>
> ---
>  package/wine/wine.mk | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)

All four patches applied, thanks!

Thomas
diff mbox

Patch

diff --git a/package/wine/wine.mk b/package/wine/wine.mk
index a699fff..bd242cf 100644
--- a/package/wine/wine.mk
+++ b/package/wine/wine.mk
@@ -26,7 +26,6 @@  WINE_CONF_OPTS = \
 	--without-netapi \
 	--without-openal \
 	--without-opencl \
-	--without-opengl \
 	--without-osmesa \
 	--without-oss \
 	--without-xshape \
@@ -110,6 +109,13 @@  else
 WINE_CONF_OPTS += --without-cms
 endif
 
+ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
+WINE_CONF_OPTS += --with-opengl
+WINE_DEPENDENCIES += libgl
+else
+WINE_CONF_OPTS += --without-opengl
+endif
+
 ifeq ($(BR2_PACKAGE_LIBGLU),y)
 WINE_CONF_OPTS += --with-glu
 WINE_DEPENDENCIES += libglu