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-1.1.1.ebuild
Date: Mon, 03 May 2010 21:10:10
Message-Id: 20100503211007.EF6FE2C397@corvid.gentoo.org
1 mr_bones_ 10/05/03 21:10:07
2
3 Modified: ChangeLog
4 Added: scummvm-1.1.1.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.89 games-engines/scummvm/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.89&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.89&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/ChangeLog?r1=1.88&r2=1.89
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v
19 retrieving revision 1.88
20 retrieving revision 1.89
21 diff -u -r1.88 -r1.89
22 --- ChangeLog 5 Apr 2010 16:04:45 -0000 1.88
23 +++ ChangeLog 3 May 2010 21:10:07 -0000 1.89
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-engines/scummvm
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.88 2010/04/05 16:04:45 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.89 2010/05/03 21:10:07 mr_bones_ Exp $
29 +
30 +*scummvm-1.1.1 (03 May 2010)
31 +
32 + 03 May 2010; Michael Sterrett <mr_bones_@g.o>
33 + +scummvm-1.1.1.ebuild:
34 + version bump
35
36 *scummvm-1.1.0 (05 Apr 2010)
37
38
39
40
41 1.1 games-engines/scummvm/scummvm-1.1.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/scummvm-1.1.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/scummvm-1.1.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: scummvm-1.1.1.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/scummvm-1.1.1.ebuild,v 1.1 2010/05/03 21:10:07 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"
63 RESTRICT="test" # it only looks like there's a test there #77507
64
65 RDEPEND=">=media-libs/libsdl-1.2.2[audio,joystick,video]
66 >media-libs/libmpeg2-0.3.1
67 sys-libs/zlib
68 ogg? ( media-libs/libogg media-libs/libvorbis )
69 vorbis? ( media-libs/libogg media-libs/libvorbis )
70 alsa? ( media-libs/alsa-lib )
71 mp3? ( media-libs/libmad )
72 flac? ( media-libs/flac )
73 fluidsynth? ( media-sound/fluidsynth )"
74 DEPEND="${RDEPEND}
75 x86? ( dev-lang/nasm )"
76
77 S=${WORKDIR}/${P/_/}
78
79 src_prepare() {
80 # -g isn't needed for nasm here
81 sed -i \
82 -e '/NASMFLAGS/ s/-g//' \
83 Makefile.common \
84 || die "sed failed"
85 sed -i \
86 -e '/INSTALL.*doc\//d' \
87 -e '/INSTALL.*\/pixmaps/d' \
88 -e 's/-s //' \
89 ports.mk \
90 || die "sed failed"
91 }
92
93 src_configure() {
94 local myconf="--backend=sdl" # x11 backend no worky (bug #83502)
95
96 # let the engine find its data files in the right place (bug #178116)
97 myconf="${myconf} --datadir=${GAMES_DATADIR}"
98
99 if use vorbis || use ogg ; then
100 myconf="${myconf} --enable-vorbis"
101 else
102 myconf="${myconf} --disable-vorbis"
103 fi
104
105 # bug #137547
106 use fluidsynth || myconf="${myconf} --disable-fluidsynth"
107
108 # NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
109 # mpeg2 support needs vorbis (bug #79149) so turn it off if -oggvorbis
110 ./configure \
111 --enable-verbose-build \
112 --prefix=/usr \
113 --bindir="${GAMES_BINDIR}" \
114 --datadir="${GAMES_DATADIR}" \
115 --libdir="${GAMES_LIBDIR}" \
116 --enable-zlib \
117 $(use_enable debug) \
118 $(use_enable alsa) \
119 $(use_enable mp3 mad) \
120 $(use_enable flac) \
121 $(use_enable x86 nasm) \
122 ${myconf} \
123 || die "configure failed"
124 }
125
126 src_install() {
127 emake DESTDIR="${D}" install || die "emake install failed"
128 dodoc AUTHORS NEWS README TODO
129 doicon icons/scummvm.svg
130 make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
131 prepgamesdirs
132 }