Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-engines/exult: ChangeLog exult-1.2.ebuild
Date: Thu, 22 Jan 2009 05:46:22
Message-Id: E1LPsOS-0003H0-1d@stork.gentoo.org
1 mr_bones_ 09/01/22 05:46:20
2
3 Modified: ChangeLog exult-1.2.ebuild
4 Log:
5 EAPI=2; add workaround mentioned by Rafał Mużyło in bug #239373
6 (Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
7
8 Revision Changes Path
9 1.22 games-engines/exult/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/exult/ChangeLog?rev=1.22&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/exult/ChangeLog?rev=1.22&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/exult/ChangeLog?r1=1.21&r2=1.22
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-engines/exult/ChangeLog,v
18 retrieving revision 1.21
19 retrieving revision 1.22
20 diff -u -r1.21 -r1.22
21 --- ChangeLog 15 Aug 2008 04:40:00 -0000 1.21
22 +++ ChangeLog 22 Jan 2009 05:46:19 -0000 1.22
23 @@ -1,6 +1,9 @@
24 # ChangeLog for games-engines/exult
25 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/ChangeLog,v 1.21 2008/08/15 04:40:00 mr_bones_ Exp $
27 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/ChangeLog,v 1.22 2009/01/22 05:46:19 mr_bones_ Exp $
29 +
30 + 22 Jan 2009; Michael Sterrett <mr_bones_@g.o> exult-1.2.ebuild:
31 + EAPI=2; add workaround mentioned by Rafał Mużyło in bug #239373
32
33 15 Aug 2008; Michael Sterrett <mr_bones_@g.o> exult-1.2.ebuild:
34 add digital sound install as well (bug #224655 with patch from Tomáš
35
36
37
38 1.16 games-engines/exult/exult-1.2.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/exult/exult-1.2.ebuild?rev=1.16&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/exult/exult-1.2.ebuild?rev=1.16&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/exult/exult-1.2.ebuild?r1=1.15&r2=1.16
43
44 Index: exult-1.2.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/games-engines/exult/exult-1.2.ebuild,v
47 retrieving revision 1.15
48 retrieving revision 1.16
49 diff -u -r1.15 -r1.16
50 --- exult-1.2.ebuild 17 Aug 2008 01:18:10 -0000 1.15
51 +++ exult-1.2.ebuild 22 Jan 2009 05:46:19 -0000 1.16
52 @@ -1,7 +1,8 @@
53 -# Copyright 1999-2008 Gentoo Foundation
54 +# Copyright 1999-2009 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/exult-1.2.ebuild,v 1.15 2008/08/17 01:18:10 mr_bones_ Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/games-engines/exult/exult-1.2.ebuild,v 1.16 2009/01/22 05:46:19 mr_bones_ Exp $
58
59 +EAPI=2
60 inherit eutils autotools games
61
62 DESCRIPTION="an Ultima 7 game engine that runs on modern operating systems"
63 @@ -18,7 +19,7 @@
64 IUSE="timidity zlib"
65
66 RDEPEND="media-libs/libsdl
67 - media-libs/sdl-mixer
68 + media-libs/sdl-mixer[vorbis]
69 media-libs/smpeg
70 media-libs/libogg
71 media-libs/libvorbis
72 @@ -40,8 +41,9 @@
73 mkdir flx/
74 cd flx/
75 unpack jmsfx{,si}.zip
76 +}
77
78 - cd "${S}"
79 +src_prepare() {
80 epatch \
81 "${FILESDIR}"/${P}-gcc41.patch \
82 "${FILESDIR}"/${P}-64bits.patch \
83 @@ -59,17 +61,16 @@
84 eautoreconf
85 }
86
87 -src_compile() {
88 +src_configure() {
89 egamesconf \
90 + --x-libraries="/usr/$(get_libdir)" \
91 --disable-dependency-tracking \
92 --disable-tools \
93 --disable-opengl \
94 --disable-3dnow \
95 --disable-mmx \
96 $(use_enable timidity) \
97 - $(use_enable zlib zip-support) \
98 - || die
99 - emake || die "emake failed"
100 + $(use_enable zlib zip-support)
101 }
102
103 src_install() {