1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools multilib eutils git-r3
7 DESCRIPTION="an Ultima 7 game engine that runs on modern operating systems"
8 HOMEPAGE="http://exult.sourceforge.net/"
9 EGIT_REPO_URI="https://github.com/exult/exult"
14 IUSE="+sdl2 timidity zlib"
17 >=media-libs/libpng-1.2.43-r2:0
18 games-misc/exult-sound
20 sdl2? ( media-libs/libsdl2[sound,video,X] )
21 !sdl2? ( media-libs/libsdl[sound,video,X] )
22 timidity? ( >=media-sound/timidity++-2 )
23 zlib? ( sys-libs/zlib )
29 AUTHORS ChangeLog FAQ NEWS README README.1ST
39 --x-libraries="/usr/$(get_libdir)" \
43 --with-desktopdir=/usr/share/applications \
44 --with-icondir=/usr/share/pixmaps \
45 --with-sdl=$(usex sdl2 sdl2 sdl12) \
46 $(use_enable timidity timidity-midi) \
47 $(use_enable zlib zip-support)
51 elog "You *must* have the original Ultima7 The Black Gate and/or"
52 elog "The Serpent Isle installed."
53 elog "See documentation in /usr/share/doc/${PF} for information."