blob: 8e0e2b0a48b264052aab33884af7ea89370b6144 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
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 ~arm64 ~x86"
IUSE="alsa fluidsynth timidity tools"
DEPEND="
games-misc/exult-sound
>=media-libs/libpng-1.6:0=
media-libs/libvorbis
sys-libs/zlib:=
virtual/opengl
alsa? ( media-libs/alsa-lib )
fluidsynth? ( media-sound/fluidsynth )
media-libs/libsdl2[sound,video,X]
timidity? ( >=media-sound/timidity++-2 )
"
RDEPEND="${DEPEND}"
DOCS=(
AUTHORS ChangeLog FAQ NEWS README
)
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
--enable-zip-support \
--with-desktopdir=/usr/share/applications \
--with-icondir=/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)
}
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."
}
|