summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@startmail.com>2018-04-29 07:43:51 -0500
committerJames Le Cuirot <chewi@gentoo.org>2018-05-07 21:56:25 +0100
commitc70c727c98b24ad8b44e05285b8785be15062af0 (patch)
tree0571b71e50e1f23cb1c9324eb162edb85c10e6a8 /media-libs
parentapp-text/dvipng: Use pkg-config instead of freetype-config. (diff)
downloadgentoo-c70c727c98b24ad8b44e05285b8785be15062af0.tar.gz
gentoo-c70c727c98b24ad8b44e05285b8785be15062af0.tar.bz2
gentoo-c70c727c98b24ad8b44e05285b8785be15062af0.zip
media-libs/libsdl2: enable cocoa on osx
Required for building on osx prefix, otherwise you get the following build failures: Undefined symbols for architecture x86_64: "_Cocoa_IsWindowInFullscreenSpace", referenced from: _SDL_UpdateFullscreenMode in SDL_video.o _SDL_OnWindowFocusLost in SDL_video.o "_Cocoa_Mtl_AddMetalView", referenced from: _METAL_CreateRenderer in SDL_render_metal.o "_Cocoa_SetWindowFullscreenSpace", referenced from: _SDL_UpdateFullscreenMode in SDL_video.o ld: symbol(s) not found for architecture x86_64 Package-Manager: Portage-2.3.31, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/8200
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild b/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild
index 40cd411567a5..8ee6ce877f35 100644
--- a/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild
@@ -13,7 +13,7 @@ LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~sparc x86"
-IUSE="cpu_flags_x86_3dnow alsa altivec custom-cflags dbus gles haptic libsamplerate +joystick cpu_flags_x86_mmx nas opengl oss pulseaudio +sound cpu_flags_x86_sse cpu_flags_x86_sse2 static-libs +threads tslib udev +video wayland X xinerama xscreensaver"
+IUSE="cpu_flags_x86_3dnow alsa altivec aqua custom-cflags dbus gles haptic libsamplerate +joystick cpu_flags_x86_mmx nas opengl oss pulseaudio +sound cpu_flags_x86_sse cpu_flags_x86_sse2 static-libs +threads tslib udev +video wayland X xinerama xscreensaver"
REQUIRED_USE="
alsa? ( sound )
gles? ( video )
@@ -133,7 +133,7 @@ multilib_src_configure() {
$(use_enable xscreensaver video-x11-scrnsaver)
$(use_enable X video-x11-xshape)
$(use_enable X video-x11-vm)
- --disable-video-cocoa
+ $(use_enable aqua video-cocoa)
--disable-video-directfb
--disable-fusionsound
--disable-fusionsound-shared