dolphin-emu: fix musl; build against our wxWidgets package.

This commit is contained in:
Steve Prybylski 2015-10-21 12:32:12 -04:00
parent 61cc3eabc6
commit 50e90b3557
2 changed files with 26 additions and 2 deletions

View file

@ -0,0 +1,23 @@
--- ./Source/Core/Common/Src/Thread.cpp.orig 2015-10-21 12:01:13.444981266 -0400
+++ ./Source/Core/Common/Src/Thread.cpp 2015-10-21 12:01:57.739979915 -0400
@@ -123,7 +123,7 @@
{
#ifdef __APPLE__
pthread_setname_np(szThreadName);
-#else
+#elif defined __GLIBC__
pthread_setname_np(pthread_self(), szThreadName);
#endif
}
--- ./Source/Core/Core/Src/x64MemTools.cpp.orig 2015-10-21 12:16:39.401953012 -0400
+++ ./Source/Core/Core/Src/x64MemTools.cpp 2015-10-21 12:16:55.380952525 -0400
@@ -55,7 +55,7 @@
namespace EMM
{
-#if defined __APPLE__ || defined __linux__ || defined __FreeBSD__
+#if defined __APPLE__ || defined __GLIBC__ || defined __FreeBSD__
#include <execinfo.h>
void print_trace(const char * msg)
{

View file

@ -11,12 +11,13 @@ version=4.0.2
revision=7
wrksrc="dolphin-${version}"
build_style=cmake
configure_args="-DUSE_X11=ON -DUSE_WAYLAND=OFF -DUSE_EGL=OFF -DUSE_GLES=OFF -DUSE_GLES3=OFF"
configure_args="-DUSE_X11=ON -DUSE_WAYLAND=OFF -DUSE_EGL=OFF -DUSE_GLES=OFF -DUSE_GLES3=OFF
-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-3.0"
hostmakedepends="cmake pkg-config"
makedepends="
zlib-devel glew-devel libusb-devel gtk+-devel miniupnpc-devel
SDL2-devel pulseaudio-devel alsa-lib-devel ffmpeg-devel libgomp-devel
portaudio-devel libopenal-devel soundtouch-devel lzo-devel"
portaudio-devel libopenal-devel soundtouch-devel lzo-devel wxWidgets-devel"
depends="desktop-file-utils"
short_desc="A Gamecube / Wii / Triforce emulator"
maintainer="Juan RP <xtraeme@voidlinux.eu>"