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.3.0.ebuild
Date: Tue, 31 May 2011 17:47:32
Message-Id: 20110531174722.9F65320054@flycatcher.gentoo.org
1 mr_bones_ 11/05/31 17:47:22
2
3 Modified: ChangeLog
4 Added: scummvm-1.3.0.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.1.9.42/cvs/Linux i686)
9
10 Revision Changes Path
11 1.104 games-engines/scummvm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.104&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.104&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?r1=1.103&r2=1.104
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v
20 retrieving revision 1.103
21 retrieving revision 1.104
22 diff -u -r1.103 -r1.104
23 --- ChangeLog 13 Feb 2011 12:30:01 -0000 1.103
24 +++ ChangeLog 31 May 2011 17:47:22 -0000 1.104
25 @@ -1,6 +1,11 @@
26 # ChangeLog for games-engines/scummvm
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.103 2011/02/13 12:30:01 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.104 2011/05/31 17:47:22 mr_bones_ Exp $
30 +
31 +*scummvm-1.3.0 (31 May 2011)
32 +
33 + 31 May 2011; Michael Sterrett <mr_bones_@g.o> +scummvm-1.3.0.ebuild:
34 + version bump
35
36 13 Feb 2011; Raúl Porcel <armin76@g.o> scummvm-1.2.0-r1.ebuild,
37 scummvm-1.2.1.ebuild:
38
39
40
41 1.1 games-engines/scummvm/scummvm-1.3.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/scummvm-1.3.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/scummvm-1.3.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: scummvm-1.3.0.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.3.0.ebuild,v 1.1 2011/05/31 17:47:22 mr_bones_ Exp $
51
52 EAPI=2
53 inherit eutils flag-o-matic 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 LGPL-2.1"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~ppc64 ~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 configure || die
84 sed -i \
85 -e '/INSTALL.*doc/d' \
86 -e '/INSTALL.*\/pixmaps/d' \
87 -e 's/-s //' \
88 ports.mk || die
89 }
90
91 src_configure() {
92 local myconf
93
94 if use vorbis || use ogg ; then
95 myconf="${myconf} --enable-vorbis"
96 else
97 myconf="${myconf} --disable-vorbis"
98 fi
99
100 # bug #137547
101 use fluidsynth || myconf="${myconf} --disable-fluidsynth"
102
103 use x86 && append-ldflags -Wl,-z,noexecstack
104
105 # NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
106 # mpeg2 support needs vorbis (bug #79149) so turn it off if -oggvorbis
107 ./configure \
108 --backend=sdl \
109 --host=$CHOST \
110 --enable-verbose-build \
111 --prefix=/usr \
112 --bindir="${GAMES_BINDIR}" \
113 --datadir="${GAMES_DATADIR}"/${PN} \
114 --libdir="${GAMES_LIBDIR}" \
115 --enable-zlib \
116 $(use_enable debug) \
117 $(use_enable alsa) \
118 $(use_enable mp3 mad) \
119 $(use_enable flac) \
120 $(use_enable x86 nasm) \
121 ${myconf} || die
122 }
123
124 src_install() {
125 emake DESTDIR="${D}" install || die "emake install failed"
126 dodoc AUTHORS NEWS README TODO
127 doicon icons/scummvm.svg
128 make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
129 prepgamesdirs
130 }