diff --git a/srcpkgs/dolphin-emu/patches/fix-findx11.patch b/srcpkgs/dolphin-emu/patches/fix-findx11.patch new file mode 100644 index 00000000000..47fdcfef6a6 --- /dev/null +++ b/srcpkgs/dolphin-emu/patches/fix-findx11.patch @@ -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) diff --git a/srcpkgs/dolphin-emu/template b/srcpkgs/dolphin-emu/template index 9838bedf764..106e8920e3c 100644 --- a/srcpkgs/dolphin-emu/template +++ b/srcpkgs/dolphin-emu/template @@ -11,6 +11,7 @@ version=4.0.2 revision=6 wrksrc="dolphin-${version}" build_style=cmake +configure_args="-DUSE_X11=ON -DUSE_WAYLAND=OFF -DUSE_EGL=OFF -DUSE_GLES=OFF -DUSE_GLES3=OFF" hostmakedepends="cmake pkg-config" makedepends=" zlib-devel glew-devel libusb-devel gtk+-devel miniupnpc-devel