You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.3 KiB
52 lines
1.3 KiB
4 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
10 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
4 years ago
|
EAPI=7
|
||
10 years ago
|
|
||
|
DESCRIPTION="an Ultima 7 game engine that runs on modern operating systems"
|
||
|
HOMEPAGE="http://exult.sourceforge.net/"
|
||
4 years ago
|
SRC_URI="https://downloads.sourceforge.net/${PN}/exult-all-versions/${PV}/${P}.tar.gz"
|
||
10 years ago
|
|
||
4 years ago
|
LICENSE="GPL-2+"
|
||
10 years ago
|
SLOT="0"
|
||
4 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="alsa fluidsynth opengl +sdl2 timidity tools"
|
||
10 years ago
|
|
||
7 years ago
|
DEPEND="
|
||
10 years ago
|
games-misc/exult-sound
|
||
4 years ago
|
>=media-libs/libpng-1.6:0=
|
||
6 years ago
|
media-libs/libvorbis
|
||
4 years ago
|
sys-libs/zlib
|
||
|
alsa? ( media-libs/alsa-lib )
|
||
|
fluidsynth? ( media-sound/fluidsynth )
|
||
|
opengl? ( virtual/opengl )
|
||
6 years ago
|
sdl2? ( media-libs/libsdl2[sound,video,X] )
|
||
|
!sdl2? ( media-libs/libsdl[sound,video,X] )
|
||
10 years ago
|
timidity? ( >=media-sound/timidity++-2 )
|
||
7 years ago
|
"
|
||
6 years ago
|
RDEPEND="${DEPEND}"
|
||
10 years ago
|
|
||
7 years ago
|
DOCS=(
|
||
|
AUTHORS ChangeLog FAQ NEWS README README.1ST
|
||
|
)
|
||
10 years ago
|
|
||
|
src_configure() {
|
||
7 years ago
|
econf \
|
||
10 years ago
|
--enable-mods \
|
||
4 years ago
|
--enable-zip-support \
|
||
10 years ago
|
--with-desktopdir=/usr/share/applications \
|
||
|
--with-icondir=/usr/share/pixmaps \
|
||
6 years ago
|
--with-sdl=$(usex sdl2 sdl2 sdl12) \
|
||
4 years ago
|
$(use_enable alsa) \
|
||
|
$(use_enable fluidsynth) \
|
||
|
$(use_enable opengl) \
|
||
10 years ago
|
$(use_enable timidity timidity-midi) \
|
||
4 years ago
|
$(use_enable tools)
|
||
10 years ago
|
}
|
||
|
|
||
|
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."
|
||
|
}
|