From 4afdd56b326f4cac223d28b56819fbb30b550d6e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 19 Apr 2019 04:45:20 +0200 Subject: [PATCH] SDL2: fix runtime when starting in wayland video mode. if gles and opengl build options are both enabled, the libEGL runtime dependency as well as shlib_requires is overwritten later by the opengl build option block. --- srcpkgs/SDL2/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/SDL2/template b/srcpkgs/SDL2/template index 3fdccef7fb5..e265ed9a3cf 100644 --- a/srcpkgs/SDL2/template +++ b/srcpkgs/SDL2/template @@ -1,7 +1,7 @@ # Template file for 'SDL2' pkgname=SDL2 version=2.0.9 -revision=3 +revision=4 build_style=gnu-configure configure_args="--enable-alsa --disable-esd --disable-rpath --enable-libudev --enable-clock_gettime --disable-nas --disable-arts --disable-x11-shared @@ -59,8 +59,8 @@ fi if [ "$build_option_opengl" ]; then # libGL.so.1 is dynamically loaded with dlopen. - shlib_requires="libGL.so.1" - depends="libGL" + shlib_requires+=" libGL.so.1" + depends+=" libGL" configure_args+=" --enable-video-opengl" else configure_args+=" --disable-video-opengl"