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: metadata.xml ChangeLog scummvm-1.5.0.ebuild
Date: Thu, 02 Aug 2012 23:02:45
Message-Id: 20120802230225.C35162004B@flycatcher.gentoo.org
1 mr_bones_ 12/08/02 23:02:25
2
3 Modified: metadata.xml ChangeLog
4 Added: scummvm-1.5.0.ebuild
5 Log:
6 add missing freetype to IUSE
7
8 (Portage version: 2.1.10.65/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 games-engines/scummvm/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/metadata.xml?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/metadata.xml?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/metadata.xml?r1=1.3&r2=1.4
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-engines/scummvm/metadata.xml,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- metadata.xml 26 Jul 2008 03:51:58 -0000 1.3
24 +++ metadata.xml 2 Aug 2012 23:02:25 -0000 1.4
25 @@ -4,5 +4,6 @@
26 <herd>games</herd>
27 <use>
28 <flag name="fluidsynth">compile with support for fluidsynth</flag>
29 + <flag name="freetype">use media-libs/freetype for font rendering</flag>
30 </use>
31 </pkgmetadata>
32
33
34
35 1.114 games-engines/scummvm/ChangeLog
36
37 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.114&view=markup
38 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.114&content-type=text/plain
39 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?r1=1.113&r2=1.114
40
41 Index: ChangeLog
42 ===================================================================
43 RCS file: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v
44 retrieving revision 1.113
45 retrieving revision 1.114
46 diff -u -r1.113 -r1.114
47 --- ChangeLog 15 Apr 2012 16:52:45 -0000 1.113
48 +++ ChangeLog 2 Aug 2012 23:02:25 -0000 1.114
49 @@ -1,6 +1,12 @@
50 # ChangeLog for games-engines/scummvm
51 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
52 -# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.113 2012/04/15 16:52:45 maekke Exp $
53 +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.114 2012/08/02 23:02:25 mr_bones_ Exp $
54 +
55 +*scummvm-1.5.0 (02 Aug 2012)
56 +
57 + 02 Aug 2012; Michael Sterrett <mr_bones_@g.o> +scummvm-1.5.0.ebuild,
58 + metadata.xml:
59 + version bump
60
61 15 Apr 2012; Markus Meier <maekke@g.o> scummvm-1.4.1.ebuild:
62 x86 stable, bug #411529
63
64
65
66 1.1 games-engines/scummvm/scummvm-1.5.0.ebuild
67
68 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/scummvm-1.5.0.ebuild?rev=1.1&view=markup
69 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/scummvm-1.5.0.ebuild?rev=1.1&content-type=text/plain
70
71 Index: scummvm-1.5.0.ebuild
72 ===================================================================
73 # Copyright 1999-2012 Gentoo Foundation
74 # Distributed under the terms of the GNU General Public License v2
75 # $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/scummvm-1.5.0.ebuild,v 1.1 2012/08/02 23:02:25 mr_bones_ Exp $
76
77 EAPI=2
78 inherit eutils flag-o-matic games
79
80 DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures"
81 HOMEPAGE="http://scummvm.sourceforge.net/"
82 SRC_URI="mirror://sourceforge/scummvm/${P/_/}.tar.bz2"
83
84 LICENSE="GPL-2 LGPL-2.1"
85 SLOT="0"
86 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
87 IUSE="alsa debug flac fluidsynth freetype mp3 vorbis"
88 RESTRICT="test" # it only looks like there's a test there #77507
89
90 RDEPEND=">=media-libs/libsdl-1.2.2[audio,joystick,video]
91 >media-libs/libmpeg2-0.3.1
92 sys-libs/zlib
93 vorbis? ( media-libs/libogg media-libs/libvorbis )
94 alsa? ( media-libs/alsa-lib )
95 mp3? ( media-libs/libmad )
96 flac? ( media-libs/flac )
97 freetype? ( media-libs/freetype:2 )
98 fluidsynth? ( media-sound/fluidsynth )"
99 DEPEND="${RDEPEND}
100 x86? ( dev-lang/nasm )"
101
102 S=${WORKDIR}/${P/_/}
103
104 src_prepare() {
105 # -g isn't needed for nasm here
106 sed -i \
107 -e '/NASMFLAGS/ s/-g//' \
108 configure || die
109 sed -i \
110 -e '/INSTALL.*doc/d' \
111 -e '/INSTALL.*\/pixmaps/d' \
112 -e 's/-s //' \
113 ports.mk || die
114 }
115
116 src_configure() {
117 local myconf
118
119 # bug #137547
120 use fluidsynth || myconf="${myconf} --disable-fluidsynth"
121
122 use x86 && append-ldflags -Wl,-z,noexecstack
123
124 # NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
125 ./configure \
126 --backend=sdl \
127 --host=$CHOST \
128 --enable-verbose-build \
129 --prefix=/usr \
130 --bindir="${GAMES_BINDIR}" \
131 --datadir="${GAMES_DATADIR}"/${PN} \
132 --libdir="${GAMES_LIBDIR}" \
133 --enable-zlib \
134 $(use_enable debug) \
135 $(use_enable alsa) \
136 $(use_enable mp3 mad) \
137 $(use_enable flac) \
138 $(use_enable vorbis) \
139 $(use_enable freetype freetype2) \
140 $(use_enable x86 nasm) \
141 ${myconf} || die
142 }
143
144 src_install() {
145 emake DESTDIR="${D}" install || die
146 dodoc AUTHORS NEWS README TODO
147 doicon icons/scummvm.svg
148 make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
149 prepgamesdirs
150 }