commit:     174fd8938b4701567198a616d36cb62acaeef27c
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri Nov  8 14:25:07 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec  1 11:58:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=174fd893

games-engines/exult: add 1.10.1

Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-engines/exult/Manifest            |  1 +
 games-engines/exult/exult-1.10.1.ebuild | 57 +++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/games-engines/exult/Manifest b/games-engines/exult/Manifest
index c7d793a45880..cdde4d8b2c40 100644
--- a/games-engines/exult/Manifest
+++ b/games-engines/exult/Manifest
@@ -1 +1,2 @@
+DIST exult-1.10.1.tar.gz 19688644 BLAKE2B 
82f8f9c590d29844cb12cf56939d6aaea65cb42a3b0e507d4e5727febbd3e5037c81064528a4cddb8e064ca4a47622c1be64c66e7bed8afe3de48d7d9a94beb9
 SHA512 
fc17e4d6f0fdc121f5a201508b20902d12858f227d14413b393ad8b9cfcc72a85c2cff35b502dc9e7525f7860bf663c6daca0f6680ab15e3a9f90d4db3a7ec2c
 DIST exult-1.8.tar.gz 19104130 BLAKE2B 
56e127d95d3a948b7c52ca3439f8a84691728817c855b46580a8baf21ad0b8f663d5f9fb2fb855d73baa1d3cc29181d001adae1a978c75a7dfa598879b559ab4
 SHA512 
5422f70c00a1d5ff0606cb7613b891abda430872c50b1058999085c7df08360fd55d5bdf95cbff09616cf3b11e51dce4b11c7322c3db9a8756946e5854ef0fde

diff --git a/games-engines/exult/exult-1.10.1.ebuild 
b/games-engines/exult/exult-1.10.1.ebuild
new file mode 100644
index 000000000000..009f8a97d9b2
--- /dev/null
+++ b/games-engines/exult/exult-1.10.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Ultima 7 game engine that runs on modern operating systems"
+HOMEPAGE="https://exult.sourceforge.io";
+SRC_URI="https://downloads.sourceforge.net/exult/exult-all-versions/${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="alsa fluidsynth timidity tools"
+
+RDEPEND="
+       games-misc/exult-sound
+       media-libs/libpng:=
+       media-libs/libsdl2[X,joystick,sound,video]
+       media-libs/libvorbis
+       sys-libs/zlib:=
+       alsa? ( media-libs/alsa-lib )
+       fluidsynth? ( media-sound/fluidsynth:= )
+       timidity? ( media-sound/timidity++ )"
+DEPEND="
+       ${RDEPEND}
+       x11-base/xorg-proto"
+
+src_prepare() {
+       default
+
+       eautoreconf
+}
+
+src_configure() {
+       local econfargs=(
+               --docdir="${EPREFIX}"/usr/share/${PF}/html
+               --with-desktopdir="${EPREFIX}"/usr/share/applications
+               --with-icondir="${EPREFIX}"/usr/share/pixmaps
+               $(use_enable alsa)
+               $(use_enable fluidsynth)
+               $(use_enable timidity timidity-midi)
+               $(use_enable tools)
+               $(use_enable tools compiler)
+               $(use_enable tools mods)
+               --enable-zip-support
+       )
+
+       econf "${econfargs[@]}"
+}
+
+pkg_postinst() {
+       elog "You *must* have the original Ultima7 The Black Gate and/or"
+       elog "The Serpent Isle installed."
+       elog "See documentation in ${EROOT}/usr/share/doc/${PF} for 
information."
+}

Reply via email to