summaryrefslogtreecommitdiff
path: root/games-engines/exult/exult-1.6.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /games-engines/exult/exult-1.6.ebuild
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'games-engines/exult/exult-1.6.ebuild')
-rw-r--r--games-engines/exult/exult-1.6.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/games-engines/exult/exult-1.6.ebuild b/games-engines/exult/exult-1.6.ebuild
new file mode 100644
index 000000000000..98d89565e660
--- /dev/null
+++ b/games-engines/exult/exult-1.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="an Ultima 7 game engine that runs on modern operating systems"
+HOMEPAGE="http://exult.sourceforge.net/"
+SRC_URI="https://downloads.sourceforge.net/${PN}/exult-all-versions/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa fluidsynth opengl +sdl2 timidity tools"
+
+DEPEND="
+ games-misc/exult-sound
+ >=media-libs/libpng-1.6:0=
+ media-libs/libvorbis
+ sys-libs/zlib
+ alsa? ( media-libs/alsa-lib )
+ fluidsynth? ( media-sound/fluidsynth )
+ opengl? ( virtual/opengl )
+ sdl2? ( media-libs/libsdl2[sound,video,X] )
+ !sdl2? ( media-libs/libsdl[sound,video,X] )
+ timidity? ( >=media-sound/timidity++-2 )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+ AUTHORS ChangeLog FAQ NEWS README README.1ST
+)
+
+src_configure() {
+ econf \
+ --enable-mods \
+ --enable-zip-support \
+ --with-desktopdir=/usr/share/applications \
+ --with-icondir=/usr/share/pixmaps \
+ --with-sdl=$(usex sdl2 sdl2 sdl12) \
+ $(use_enable alsa) \
+ $(use_enable fluidsynth) \
+ $(use_enable opengl) \
+ $(use_enable timidity timidity-midi) \
+ $(use_enable tools)
+}
+
+pkg_postinst() {
+ elog "You *must* have the original Ultima7 The Black Gate and/or"
+ elog "The Serpent Isle installed."
+ elog "See documentation in /usr/share/doc/${PF} for information."
+}