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/scummvm: ChangeLog scummvm-0.13.1.ebuild
Date: Tue, 28 Apr 2009 18:20:23
Message-Id: E1Lyrun-000268-8u@stork.gentoo.org
1 mr_bones_ 09/04/28 18:20:21
2
3 Modified: ChangeLog
4 Added: scummvm-0.13.1.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.6.7/cvs/Linux i686)
8
9 Revision Changes Path
10 1.68 games-engines/scummvm/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.68&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.68&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/ChangeLog?r1=1.67&r2=1.68
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v
19 retrieving revision 1.67
20 retrieving revision 1.68
21 diff -u -r1.67 -r1.68
22 --- ChangeLog 13 Mar 2009 22:10:49 -0000 1.67
23 +++ ChangeLog 28 Apr 2009 18:20:21 -0000 1.68
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-engines/scummvm
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.67 2009/03/13 22:10:49 josejx Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.68 2009/04/28 18:20:21 mr_bones_ Exp $
29 +
30 +*scummvm-0.13.1 (28 Apr 2009)
31 +
32 + 28 Apr 2009; Michael Sterrett <mr_bones_@g.o>
33 + +scummvm-0.13.1.ebuild:
34 + version bump
35
36 13 Mar 2009; Joseph Jezak <josejx@g.o> scummvm-0.12.0.ebuild:
37 Marked ppc stable for bug #255573.
38
39
40
41 1.1 games-engines/scummvm/scummvm-0.13.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/scummvm-0.13.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/scummvm-0.13.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: scummvm-0.13.1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/scummvm-0.13.1.ebuild,v 1.1 2009/04/28 18:20:21 mr_bones_ Exp $
51
52 EAPI=2
53 inherit eutils games
54
55 DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures"
56 HOMEPAGE="http://scummvm.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/scummvm/${P}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62 IUSE="alsa debug flac fluidsynth mp3 ogg vorbis zlib"
63 RESTRICT="test" # it only looks like there's a test there #77507
64
65 RDEPEND=">=media-libs/libsdl-1.2.2
66 >media-libs/libmpeg2-0.3.1
67 ogg? ( media-libs/libogg media-libs/libvorbis )
68 vorbis? ( media-libs/libogg media-libs/libvorbis )
69 alsa? ( >=media-libs/alsa-lib-0.9[midi] )
70 mp3? ( media-libs/libmad )
71 flac? ( media-libs/flac )
72 fluidsynth? ( media-sound/fluidsynth )
73 zlib? ( sys-libs/zlib )"
74 DEPEND="${RDEPEND}
75 x86? ( dev-lang/nasm )"
76
77 src_prepare() {
78 # -g isn't needed for nasm here
79 sed -i \
80 -e '/NASMFLAGS/ s/-g//' \
81 Makefile.common \
82 || die "sed failed"
83 sed -i \
84 -e '/INSTALL.*doc\//d' \
85 -e '/INSTALL.*\/pixmaps/d' \
86 -e 's/-s //' \
87 ports.mk \
88 || die "sed failed"
89 }
90
91 src_configure() {
92 local myconf="--backend=sdl" # x11 backend no worky (bug #83502)
93
94 # let the engine find its data files in the right place (bug #178116)
95 myconf="${myconf} --datadir=${GAMES_DATADIR}"
96
97 ( use vorbis || use ogg ) \
98 && myconf="${myconf} --enable-vorbis" \
99 || myconf="${myconf} --disable-vorbis --disable-mpeg2"
100
101 # bug #137547
102 use fluidsynth || myconf="${myconf} --disable-fluidsynth"
103
104 # NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
105 # mpeg2 support needs vorbis (bug #79149) so turn it off if -oggvorbis
106 ./configure \
107 --prefix=/usr \
108 --bindir="${GAMES_BINDIR}" \
109 --datadir="${GAMES_DATADIR}" \
110 --libdir="${GAMES_LIBDIR}" \
111 $(use_enable debug) \
112 $(use_enable alsa) \
113 $(use_enable mp3 mad) \
114 $(use_enable flac) \
115 $(use_enable zlib) \
116 $(use_enable x86 nasm) \
117 ${myconf} \
118 || die "configure failed"
119 }
120
121 src_install() {
122 emake DESTDIR="${D}" install || die "emake install failed"
123 dodoc AUTHORS NEWS README TODO
124 doicon icons/scummvm.svg
125 make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
126 prepgamesdirs
127 }