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.4.0.ebuild scummvm-1.3.0.ebuild scummvm-1.2.1.ebuild
Date: Wed, 21 Dec 2011 22:50:17
Message-Id: 20111221225007.803382004B@flycatcher.gentoo.org
1 mr_bones_ 11/12/21 22:50:07
2
3 Modified: ChangeLog
4 Added: scummvm-1.4.0.ebuild
5 Removed: scummvm-1.3.0.ebuild scummvm-1.2.1.ebuild
6 Log:
7 version bump (bug #395549)
8
9 (Portage version: 2.1.10.41/cvs/Linux i686)
10
11 Revision Changes Path
12 1.108 games-engines/scummvm/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.108&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.108&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?r1=1.107&r2=1.108
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v
21 retrieving revision 1.107
22 retrieving revision 1.108
23 diff -u -r1.107 -r1.108
24 --- ChangeLog 22 Aug 2011 14:10:15 -0000 1.107
25 +++ ChangeLog 21 Dec 2011 22:50:07 -0000 1.108
26 @@ -1,6 +1,12 @@
27 # ChangeLog for games-engines/scummvm
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.107 2011/08/22 14:10:15 chainsaw Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.108 2011/12/21 22:50:07 mr_bones_ Exp $
31 +
32 +*scummvm-1.4.0 (21 Dec 2011)
33 +
34 + 21 Dec 2011; Michael Sterrett <mr_bones_@g.o> -scummvm-1.2.1.ebuild,
35 + -scummvm-1.3.0.ebuild, +scummvm-1.4.0.ebuild:
36 + version bump (bug #395549)
37
38 22 Aug 2011; Tony Vroon <chainsaw@g.o> scummvm-1.3.1.ebuild:
39 Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo &
40
41
42
43 1.1 games-engines/scummvm/scummvm-1.4.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/scummvm-1.4.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/scummvm-1.4.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: scummvm-1.4.0.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/scummvm-1.4.0.ebuild,v 1.1 2011/12/21 22:50:07 mr_bones_ Exp $
53
54 EAPI=2
55 inherit eutils flag-o-matic games
56
57 DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures"
58 HOMEPAGE="http://scummvm.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/scummvm/${P/_/}.tar.bz2"
60
61 LICENSE="GPL-2 LGPL-2.1"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
64 IUSE="alsa debug flac fluidsynth mp3 ogg vorbis"
65 RESTRICT="test" # it only looks like there's a test there #77507
66
67 RDEPEND=">=media-libs/libsdl-1.2.2[audio,joystick,video]
68 >media-libs/libmpeg2-0.3.1
69 sys-libs/zlib
70 ogg? ( media-libs/libogg media-libs/libvorbis )
71 vorbis? ( media-libs/libogg media-libs/libvorbis )
72 alsa? ( media-libs/alsa-lib )
73 mp3? ( media-libs/libmad )
74 flac? ( media-libs/flac )
75 fluidsynth? ( media-sound/fluidsynth )"
76 DEPEND="${RDEPEND}
77 x86? ( dev-lang/nasm )"
78
79 S=${WORKDIR}/${P/_/}
80
81 src_prepare() {
82 # -g isn't needed for nasm here
83 sed -i \
84 -e '/NASMFLAGS/ s/-g//' \
85 configure || die
86 sed -i \
87 -e '/INSTALL.*doc/d' \
88 -e '/INSTALL.*\/pixmaps/d' \
89 -e 's/-s //' \
90 ports.mk || die
91 }
92
93 src_configure() {
94 local myconf
95
96 if use vorbis || use ogg ; then
97 myconf="${myconf} --enable-vorbis"
98 else
99 myconf="${myconf} --disable-vorbis"
100 fi
101
102 # bug #137547
103 use fluidsynth || myconf="${myconf} --disable-fluidsynth"
104
105 use x86 && append-ldflags -Wl,-z,noexecstack
106
107 # NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
108 ./configure \
109 --backend=sdl \
110 --host=$CHOST \
111 --enable-verbose-build \
112 --prefix=/usr \
113 --bindir="${GAMES_BINDIR}" \
114 --datadir="${GAMES_DATADIR}"/${PN} \
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} || die
123 }
124
125 src_install() {
126 emake DESTDIR="${D}" install || die
127 dodoc AUTHORS NEWS README TODO
128 doicon icons/scummvm.svg
129 make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
130 prepgamesdirs
131 }