dolphin-emu: explicitly disable wayland/egl/gles (broken); fix X11 detection.

This commit is contained in:
Juan RP 2015-09-21 18:09:53 +02:00
parent 4630ef6551
commit 55ca20878d
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- CMakeLists.txt.orig 2015-09-21 18:07:53.311175825 +0200
+++ CMakeLists.txt 2015-09-21 18:08:14.138130904 +0200
@@ -415,8 +415,7 @@ if(NOT ANDROID)
add_definitions(-DHAVE_WAYLAND=0)
endif(USE_WAYLAND AND WAYLAND_FOUND)
- # Note: We do not need to explicitly check for X11 as it is done in the cmake
- # FindOpenGL module on linux.
+ include(FindX11)
if(USE_X11 AND X11_FOUND)
set(USE_X11 1)
add_definitions(-DHAVE_X11=1)

View File

@ -11,6 +11,7 @@ version=4.0.2
revision=6 revision=6
wrksrc="dolphin-${version}" wrksrc="dolphin-${version}"
build_style=cmake build_style=cmake
configure_args="-DUSE_X11=ON -DUSE_WAYLAND=OFF -DUSE_EGL=OFF -DUSE_GLES=OFF -DUSE_GLES3=OFF"
hostmakedepends="cmake pkg-config" hostmakedepends="cmake pkg-config"
makedepends=" makedepends="
zlib-devel glew-devel libusb-devel gtk+-devel miniupnpc-devel zlib-devel glew-devel libusb-devel gtk+-devel miniupnpc-devel