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.0.0_rc1.ebuild
Date: Thu, 10 Sep 2009 16:59:44
Message-Id: E1Mlmzm-0000r8-7R@stork.gentoo.org
1 mr_bones_ 09/09/10 16:59:42
2
3 Modified: ChangeLog
4 Added: scummvm-1.0.0_rc1.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.6.13/cvs/Linux i686)
8
9 Revision Changes Path
10 1.78 games-engines/scummvm/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.78&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.78&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/ChangeLog?r1=1.77&r2=1.78
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v
19 retrieving revision 1.77
20 retrieving revision 1.78
21 diff -u -r1.77 -r1.78
22 --- ChangeLog 1 Aug 2009 23:55:29 -0000 1.77
23 +++ ChangeLog 10 Sep 2009 16:59:41 -0000 1.78
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.77 2009/08/01 23:55:29 chainsaw Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.78 2009/09/10 16:59:41 mr_bones_ Exp $
29 +
30 +*scummvm-1.0.0_rc1 (10 Sep 2009)
31 +
32 + 10 Sep 2009; Michael Sterrett <mr_bones_@g.o>
33 + +scummvm-1.0.0_rc1.ebuild:
34 + version bump
35
36 01 Aug 2009; <chainsaw@g.o> scummvm-0.13.1.ebuild:
37 Marked stable on AMD64 as requested by Michael "Mr. Bones" Sterrett
38
39
40
41 1.1 games-engines/scummvm/scummvm-1.0.0_rc1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/scummvm-1.0.0_rc1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/scummvm-1.0.0_rc1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: scummvm-1.0.0_rc1.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-1.0.0_rc1.ebuild,v 1.1 2009/09/10 16:59:41 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[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 ( use vorbis || use ogg ) \
100 && myconf="${myconf} --enable-vorbis" \
101 || myconf="${myconf} --disable-vorbis --disable-mpeg2"
102
103 # bug #137547
104 use fluidsynth || myconf="${myconf} --disable-fluidsynth"
105
106 # NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
107 # mpeg2 support needs vorbis (bug #79149) so turn it off if -oggvorbis
108 ./configure \
109 --prefix=/usr \
110 --bindir="${GAMES_BINDIR}" \
111 --datadir="${GAMES_DATADIR}" \
112 --libdir="${GAMES_LIBDIR}" \
113 --enable-zlib \
114 $(use_enable debug) \
115 $(use_enable alsa) \
116 $(use_enable mp3 mad) \
117 $(use_enable flac) \
118 $(use_enable x86 nasm) \
119 ${myconf} \
120 || die "configure failed"
121 }
122
123 src_install() {
124 emake DESTDIR="${D}" install || die "emake install failed"
125 dodoc AUTHORS NEWS README TODO
126 doicon icons/scummvm.svg
127 make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
128 prepgamesdirs
129 }