Bug 213159 - wesnoth-1.4 needs sdl-image and sdl-mixer to build
Bug#: 213159 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: mrc_timer@users.sourceforge.net
Component: Games
URL: 
Summary: wesnoth-1.4 needs sdl-image and sdl-mixer to build
Keywords:  
Status Whiteboard: 
Opened: 2008-03-12 15:22 0000
Description:   Opened: 2008-03-12 15:22 0000
When built with USE="dedicated", games-strategy/wesnoth-1.4 doesn't depend on
media-libs/sdl-image, but it checks for sdl-image having been built with
USE="png". The correct behaviour is to both depend on sdl-image and check for
png support independently of dedicated being set, otherwise emerging wesnoth
will fail (it will die in either ebuild checks or configure).

The same applies to media-libs/sdl-mixer and vorbis use flag, but not to
media-libs/libsdl and X use flag, as stated in bug #193169.

------- Comment #1 From Marc Vinyals 2008-03-12 15:24:45 0000 -------
Created an attachment (id=145912) [details]
Proposed patch

------- Comment #2 From Mr. Bones. 2008-03-12 23:33:35 0000 -------
yeah, I hope they fix that in a later release.  worked around in cvs.  thanks
for the bug report.

------- Comment #3 From Nils Kneuper 2008-03-13 18:33:16 0000 -------
>yeah, I hope they fix that in a later release.  worked around in cvs.  thanks
>for the bug report.

Yes, we will probably fix this by switching the build system to "something
else" (not decided yet what to chose, current options are scons and cmake, have
to evaluate which suits us better) in the next development series. In general
some of our dependencies are rather ugly and could use a cleanup... ;)