Skip to content

Commit

Permalink
games-engines/exult: Switch to Github repo (maybe bug #640700).
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.18, Repoman-2.3.6
  • Loading branch information
Jeroen Roovers committed Dec 14, 2017
1 parent 8ade394 commit f3ad069
Showing 1 changed file with 16 additions and 22 deletions.
38 changes: 16 additions & 22 deletions games-engines/exult/exult-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,38 +1,41 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
ESVN_REPO_URI="https://svn.code.sf.net/p/exult/code/exult/trunk/"
inherit autotools multilib eutils subversion games
EAPI=6
inherit autotools multilib eutils git-r3

DESCRIPTION="an Ultima 7 game engine that runs on modern operating systems"
HOMEPAGE="http://exult.sourceforge.net/"
EGIT_REPO_URI="https://github.com/exult/exult"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="timidity zlib"

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

S=${WORKDIR}/${P/_/}

src_unpack() {
subversion_src_unpack
}
DOCS=(
AUTHORS ChangeLog FAQ NEWS README README.1ST
)

src_prepare() {
subversion_src_prepare
default
eautoreconf
}

src_configure() {
egamesconf \
econf \
--x-libraries="/usr/$(get_libdir)" \
--disable-tools \
--disable-opengl \
Expand All @@ -43,16 +46,7 @@ src_configure() {
$(use_enable zlib zip-support)
}

src_install() {
DOCS="AUTHORS ChangeLog NEWS FAQ README README.1ST" \
default
# no need for this directory for just playing the game
#rm -rf "${D}${GAMES_DATADIR}/${PN}/estudio"
prepgamesdirs
}

pkg_postinst() {
games_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."
Expand Down

0 comments on commit f3ad069

Please sign in to comment.