media-libs/libsfml: various mingw-w64 fixes.
authorMarty E. Plummer <hanetzer@startmail.com>
Wed, 7 Jun 2017 00:11:03 +0000 (19:11 -0500)
committerMichał Górny <mgorny@gentoo.org>
Fri, 16 Mar 2018 08:50:34 +0000 (09:50 +0100)
commit50ec4fe777979deb16ffebe85f76db2459801cdf
tree4157932880a8b1d848c5095fdfd1a93bf8a3616b
parent937e8139b661733f43802651a8c6d6fc0f9ab7bd
media-libs/libsfml: various mingw-w64 fixes.

Fixes the following:

* cross-compiling for windows does not require x11 and udev, so wrapped in use
  flags

* since we RDEP on build deps, apply a patch accepted for upstream to prevent
  installtion of extlibs when SFML_USE_SYSTEM_DEPS is set

* sets SFML_USE_SYSTEM_DEPS to true (no effect on native builds)

* remove explicit dep on media-libs/mesa as this is provided by virtual/opengl
  in native compilation, and hopefully someday dev-util/mingw64-runtime will be
  an accepted provider for virtual/opengl and virtual/glu, as it provides the
  needed headers and libraries for the mingw-w64 platform.

Closes: https://github.com/gentoo/gentoo/pull/4876
Package-Manager: Portage-2.3.6, Repoman-2.3.2
media-libs/libsfml/files/libsfml-2.4.2-no-install-extlibs-mingw.patch [new file with mode: 0644]
media-libs/libsfml/libsfml-2.4.2-r1.ebuild [new file with mode: 0644]