Skip to contentSkip to conversation

wine: Add xlib_libXext dependency

PATCH New André Hentschel 1 participant 1 message Mar 21, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 wine: Add xlib_libXext dependency

This fixes window size issues.

---
 package/wine/wine.mk | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
package/wine/wine.mk +8 -3
index bd242cf..188c7cc 100644
@@ -27,9 +27,7 @@ WINE_CONF_OPTS = \
 	--without-openal \
 	--without-opencl \
 	--without-osmesa \
-	--without-oss \
-	--without-xshape \
-	--without-xshm
+	--without-oss
 
 # Wine uses a wrapper around gcc, and uses the value of --host to
 # construct the filename of the gcc to call.  But for external
@@ -207,6 +205,13 @@ else
 WINE_CONF_OPTS += --without-xcursor
 endif
 
+ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y)
+WINE_CONF_OPTS += --with-xshape --with-xshm
+WINE_DEPENDENCIES += xlib_libXext
+else
+WINE_CONF_OPTS += --without-xshape --without-xshm
+endif
+
 ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y)
 WINE_CONF_OPTS += --with-xinput --with-xinput2
 WINE_DEPENDENCIES += xlib_libXi
Signature · 1 line
1.9.1