Skip to content

Commit

Permalink
games-engines/exult: fixes to compilation
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
winterheart authored and chewi committed Jul 11, 2018
1 parent bbbae75 commit 97ec3a4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
13 changes: 7 additions & 6 deletions games-engines/exult/exult-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand All @@ -11,18 +11,18 @@ EGIT_REPO_URI="https://github.com/exult/exult"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="timidity zlib"
IUSE="+sdl2 timidity zlib"

DEPEND="
>=media-libs/libpng-1.2.43-r2:0
games-misc/exult-sound
media-libs/libsdl[sound,video,X]
media-libs/libvorbis
sdl2? ( media-libs/libsdl2[sound,video,X] )
!sdl2? ( media-libs/libsdl[sound,video,X] )
timidity? ( >=media-sound/timidity++-2 )
zlib? ( sys-libs/zlib )
"
RDEPEND="
${DEPEND}
"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${P/_/}
DOCS=(
Expand All @@ -42,6 +42,7 @@ src_configure() {
--enable-mods \
--with-desktopdir=/usr/share/applications \
--with-icondir=/usr/share/pixmaps \
--with-sdl=$(usex sdl2 sdl2 sdl12) \
$(use_enable timidity timidity-midi) \
$(use_enable zlib zip-support)
}
Expand Down
4 changes: 4 additions & 0 deletions games-engines/exult/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@
</maintainer>
<upstream>
<remote-id type="sourceforge">exult</remote-id>
<remote-id type="github">exult/exult</remote-id>
</upstream>
<use>
<flag name="sdl2">Use libsdl2 instead of libsdl</flag>
</use>
</pkgmetadata>

0 comments on commit 97ec3a4

Please sign in to comment.