Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/exult/
Date: Thu, 14 Dec 2017 23:11:24
Message-Id: 1513293078.f3ad06992697a7d660938271f2b30c0f29751f37.jer@gentoo
1 commit: f3ad06992697a7d660938271f2b30c0f29751f37
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 14 23:11:00 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 14 23:11:18 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3ad0699
7
8 games-engines/exult: Switch to Github repo (maybe bug #640700).
9
10 Package-Manager: Portage-2.3.18, Repoman-2.3.6
11
12 games-engines/exult/exult-9999.ebuild | 38 +++++++++++++++--------------------
13 1 file changed, 16 insertions(+), 22 deletions(-)
14
15 diff --git a/games-engines/exult/exult-9999.ebuild b/games-engines/exult/exult-9999.ebuild
16 index 81e6b1ed157..4efc34a2e5d 100644
17 --- a/games-engines/exult/exult-9999.ebuild
18 +++ b/games-engines/exult/exult-9999.ebuild
19 @@ -1,38 +1,41 @@
20 -# Copyright 1999-2015 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 -ESVN_REPO_URI="https://svn.code.sf.net/p/exult/code/exult/trunk/"
26 -inherit autotools multilib eutils subversion games
27 +EAPI=6
28 +inherit autotools multilib eutils git-r3
29
30 DESCRIPTION="an Ultima 7 game engine that runs on modern operating systems"
31 HOMEPAGE="http://exult.sourceforge.net/"
32 +EGIT_REPO_URI="https://github.com/exult/exult"
33
34 LICENSE="GPL-2"
35 SLOT="0"
36 KEYWORDS=""
37 IUSE="timidity zlib"
38
39 -DEPEND=">=media-libs/libpng-1.2.43-r2:0
40 +DEPEND="
41 + >=media-libs/libpng-1.2.43-r2:0
42 games-misc/exult-sound
43 media-libs/libsdl[sound,video,X]
44 timidity? ( >=media-sound/timidity++-2 )
45 - zlib? ( sys-libs/zlib )"
46 -RDEPEND=${DEPEND}
47 + zlib? ( sys-libs/zlib )
48 +"
49 +RDEPEND="
50 + ${DEPEND}
51 +"
52
53 S=${WORKDIR}/${P/_/}
54 -
55 -src_unpack() {
56 - subversion_src_unpack
57 -}
58 +DOCS=(
59 + AUTHORS ChangeLog FAQ NEWS README README.1ST
60 +)
61
62 src_prepare() {
63 - subversion_src_prepare
64 + default
65 eautoreconf
66 }
67
68 src_configure() {
69 - egamesconf \
70 + econf \
71 --x-libraries="/usr/$(get_libdir)" \
72 --disable-tools \
73 --disable-opengl \
74 @@ -43,16 +46,7 @@ src_configure() {
75 $(use_enable zlib zip-support)
76 }
77
78 -src_install() {
79 - DOCS="AUTHORS ChangeLog NEWS FAQ README README.1ST" \
80 - default
81 - # no need for this directory for just playing the game
82 - #rm -rf "${D}${GAMES_DATADIR}/${PN}/estudio"
83 - prepgamesdirs
84 -}
85 -
86 pkg_postinst() {
87 - games_pkg_postinst
88 elog "You *must* have the original Ultima7 The Black Gate and/or"
89 elog "The Serpent Isle installed."
90 elog "See documentation in /usr/share/doc/${PF} for information."