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.11.1.ebuild scummvm-0.11.0.ebuild
Date: Sun, 02 Mar 2008 21:54:32
Message-Id: E1JVw8b-0006QZ-1e@stork.gentoo.org
1 mr_bones_ 08/03/02 21:54:29
2
3 Modified: ChangeLog
4 Added: scummvm-0.11.1.ebuild
5 Removed: scummvm-0.11.0.ebuild
6 Log:
7 version bump
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.53 games-engines/scummvm/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.53&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.53&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/ChangeLog?r1=1.52&r2=1.53
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v
20 retrieving revision 1.52
21 retrieving revision 1.53
22 diff -u -r1.52 -r1.53
23 --- ChangeLog 29 Feb 2008 19:07:27 -0000 1.52
24 +++ ChangeLog 2 Mar 2008 21:54:28 -0000 1.53
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-engines/scummvm
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.52 2008/02/29 19:07:27 carlo Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.53 2008/03/02 21:54:28 mr_bones_ Exp $
30 +
31 +*scummvm-0.11.1 (02 Mar 2008)
32 +
33 + 02 Mar 2008; Michael Sterrett <mr_bones_@g.o>
34 + -scummvm-0.11.0.ebuild, +scummvm-0.11.1.ebuild:
35 + version bump
36
37 29 Feb 2008; Carsten Lohrke <carlo@g.o> scummvm-0.9.1.ebuild,
38 scummvm-0.10.0.ebuild:
39
40
41
42 1.1 games-engines/scummvm/scummvm-0.11.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/scummvm-0.11.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-engines/scummvm/scummvm-0.11.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: scummvm-0.11.1.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/scummvm-0.11.1.ebuild,v 1.1 2008/03/02 21:54:28 mr_bones_ Exp $
52
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 )
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 pkg_setup() {
78 games_pkg_setup
79
80 if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
81 eerror ""
82 eerror "To be able to build ${CATEGORY}/${PN} with ALSA support you"
83 eerror "need to have built media-libs/alsa-lib with midi USE flag."
84 die "Missing midi USE flag on media-libs/alsa-lib"
85 fi
86 }
87
88 src_unpack() {
89 local f
90
91 unpack ${A}
92 cd "${S}"
93 # -g isn't needed for nasm here
94 sed -i \
95 -e '/NASMFLAGS/ s/-g//' \
96 ./Makefile.common \
97 || die "sed failed"
98 for f in graphics/scaler/{hq3x_i386.asm,hq2x_i386.asm}
99 do
100 cat >> $f <<EOF
101 %ifidn __OUTPUT_FORMAT__,elf
102 section .note.GNU-stack noalloc noexec nowrite progbits
103 %endif
104 EOF
105 done
106 }
107
108 src_compile() {
109 local myconf="--backend=sdl" # x11 backend no worky (bug #83502)
110
111 # let the engine find its data files in the right place (bug #178116)
112 myconf="${myconf} --datadir=${GAMES_DATADIR}"
113
114 ( use vorbis || use ogg ) \
115 && myconf="${myconf} --enable-vorbis" \
116 || myconf="${myconf} --disable-vorbis --disable-mpeg2"
117
118 # bug #137547
119 use fluidsynth || myconf="${myconf} --disable-fluidsynth"
120
121 # NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
122 # mpeg2 support needs vorbis (bug #79149) so turn it off if -oggvorbis
123 ./configure \
124 $(use_enable debug) \
125 $(use_enable alsa) \
126 $(use_enable mp3 mad) \
127 $(use_enable flac) \
128 $(use_enable zlib) \
129 $(use_enable x86 nasm) \
130 ${myconf} \
131 || die "configure failed"
132 emake || die "emake failed"
133 }
134
135 src_install() {
136 dogamesbin scummvm || die "dobin failed"
137 doman dists/scummvm.6
138 dodoc AUTHORS NEWS README TODO
139 insinto "${GAMES_DATADIR}"/${PN}/engines
140 doins gui/themes/modern.*
141 doicon icons/scummvm.svg
142 make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
143 prepgamesdirs
144 }
145
146
147
148 --
149 gentoo-commits@l.g.o mailing list