1 |
calchan 14/12/30 19:13:15 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: scummvm-1.7.0-r1.ebuild |
5 |
Log: |
6 |
Remove redundant jpeg flag in IUSE. Add unsupported USE flag to build unsupported and/or broken game engines, with warning in metadata. Add support for EXTRA_ECONF. |
7 |
|
8 |
(Portage version: 2.2.15/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.7 games-engines/scummvm/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/metadata.xml?rev=1.7&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/metadata.xml?rev=1.7&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/metadata.xml?r1=1.6&r2=1.7 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-engines/scummvm/metadata.xml,v |
20 |
retrieving revision 1.6 |
21 |
retrieving revision 1.7 |
22 |
diff -u -r1.6 -r1.7 |
23 |
--- metadata.xml 23 Jul 2014 06:00:08 -0000 1.6 |
24 |
+++ metadata.xml 30 Dec 2014 19:13:15 -0000 1.7 |
25 |
@@ -5,5 +5,6 @@ |
26 |
<use> |
27 |
<flag name="fluidsynth">compile with support for fluidsynth</flag> |
28 |
<flag name="mpeg2">enable mpeg2 codec for cutscenes</flag> |
29 |
+ <flag name="unsupported">enable unsupported and/or broken game engines (you're on your own)</flag> |
30 |
</use> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
1.139 games-engines/scummvm/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.139&view=markup |
38 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.139&content-type=text/plain |
39 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?r1=1.138&r2=1.139 |
40 |
|
41 |
Index: ChangeLog |
42 |
=================================================================== |
43 |
RCS file: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v |
44 |
retrieving revision 1.138 |
45 |
retrieving revision 1.139 |
46 |
diff -u -r1.138 -r1.139 |
47 |
--- ChangeLog 29 Oct 2014 20:35:26 -0000 1.138 |
48 |
+++ ChangeLog 30 Dec 2014 19:13:15 -0000 1.139 |
49 |
@@ -1,6 +1,14 @@ |
50 |
# ChangeLog for games-engines/scummvm |
51 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
52 |
-# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.138 2014/10/29 20:35:26 mr_bones_ Exp $ |
53 |
+# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.139 2014/12/30 19:13:15 calchan Exp $ |
54 |
+ |
55 |
+*scummvm-1.7.0-r1 (30 Dec 2014) |
56 |
+ |
57 |
+ 30 Dec 2014; Denis Dupeyron <calchan@g.o> -scummvm-1.7.0.ebuild, |
58 |
+ +scummvm-1.7.0-r1.ebuild, metadata.xml: |
59 |
+ Remove redundant jpeg flag in IUSE. Add unsupported USE flag to build |
60 |
+ unsupported and/or broken game engines, with warning in metadata. Add support |
61 |
+ for EXTRA_ECONF. |
62 |
|
63 |
29 Oct 2014; Michael Sterrett <mr_bones_@g.o> |
64 |
-files/scummvm-1.5.0-EE.patch, -scummvm-1.5.0.ebuild: |
65 |
|
66 |
|
67 |
|
68 |
1.1 games-engines/scummvm/scummvm-1.7.0-r1.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/scummvm-1.7.0-r1.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/scummvm-1.7.0-r1.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: scummvm-1.7.0-r1.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2014 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/scummvm-1.7.0-r1.ebuild,v 1.1 2014/12/30 19:13:15 calchan Exp $ |
78 |
|
79 |
EAPI=5 |
80 |
inherit eutils flag-o-matic gnome2-utils toolchain-funcs games |
81 |
|
82 |
DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures" |
83 |
HOMEPAGE="http://scummvm.sourceforge.net/" |
84 |
SRC_URI="mirror://sourceforge/scummvm/${P/_/}.tar.bz2" |
85 |
|
86 |
LICENSE="GPL-2 LGPL-2.1 BSD GPL-3-with-font-exception" |
87 |
SLOT="0" |
88 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
89 |
IUSE="aac alsa debug flac fluidsynth jpeg mpeg2 mp3 opengl png theora truetype unsupported vorbis zlib" |
90 |
RESTRICT="test" # it only looks like there's a test there #77507 |
91 |
|
92 |
RDEPEND=">=media-libs/libsdl-1.2.2[sound,joystick,video] |
93 |
zlib? ( sys-libs/zlib ) |
94 |
jpeg? ( virtual/jpeg:0 ) |
95 |
png? ( media-libs/libpng:0 ) |
96 |
vorbis? ( media-libs/libogg media-libs/libvorbis ) |
97 |
theora? ( media-libs/libtheora ) |
98 |
aac? ( media-libs/faad2 ) |
99 |
alsa? ( media-libs/alsa-lib ) |
100 |
mp3? ( media-libs/libmad ) |
101 |
mpeg2? ( media-libs/libmpeg2 ) |
102 |
flac? ( media-libs/flac ) |
103 |
opengl? ( virtual/opengl ) |
104 |
truetype? ( media-libs/freetype:2 ) |
105 |
fluidsynth? ( media-sound/fluidsynth )" |
106 |
DEPEND="${RDEPEND} |
107 |
x86? ( dev-lang/nasm )" |
108 |
|
109 |
S=${WORKDIR}/${P/_/} |
110 |
|
111 |
src_prepare() { |
112 |
# -g isn't needed for nasm here |
113 |
sed -i \ |
114 |
-e '/NASMFLAGS/ s/-g//' \ |
115 |
configure || die |
116 |
sed -i \ |
117 |
-e '/INSTALL.*doc/d' \ |
118 |
-e '/INSTALL.*\/pixmaps/d' \ |
119 |
-e 's/-s //' \ |
120 |
ports.mk || die |
121 |
} |
122 |
|
123 |
src_configure() { |
124 |
local myconf |
125 |
|
126 |
# bug #137547 |
127 |
use fluidsynth || myconf="${myconf} --disable-fluidsynth" |
128 |
|
129 |
use x86 && append-ldflags -Wl,-z,noexecstack |
130 |
|
131 |
# NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF |
132 |
./configure \ |
133 |
--backend=sdl \ |
134 |
--host=$CHOST \ |
135 |
--enable-verbose-build \ |
136 |
--prefix=/usr \ |
137 |
--bindir="${GAMES_BINDIR}" \ |
138 |
--datadir="${GAMES_DATADIR}"/${PN} \ |
139 |
--libdir="${GAMES_LIBDIR}" \ |
140 |
--enable-zlib \ |
141 |
$(use_enable debug) \ |
142 |
$(use_enable !debug release-mode) \ |
143 |
$(use_enable zlib) \ |
144 |
$(use_enable aac faad) \ |
145 |
$(use_enable alsa) \ |
146 |
$(use_enable jpeg) \ |
147 |
$(use_enable png) \ |
148 |
$(use_enable mp3 mad) \ |
149 |
$(use_enable mpeg2) \ |
150 |
$(use_enable flac) \ |
151 |
$(use_enable opengl) \ |
152 |
$(use_enable vorbis) \ |
153 |
$(use_enable theora theoradec) \ |
154 |
$(use_enable truetype freetype2) \ |
155 |
$(use_enable x86 nasm) \ |
156 |
$(use_enable unsupported all-engines) \ |
157 |
${myconf} ${EXTRA_ECONF} || die |
158 |
} |
159 |
|
160 |
src_compile() { |
161 |
emake AR="$(tc-getAR) cru" RANLIB=$(tc-getRANLIB) |
162 |
} |
163 |
|
164 |
src_install() { |
165 |
emake DESTDIR="${D}" install |
166 |
dodoc AUTHORS NEWS README TODO |
167 |
doicon -s scalable icons/scummvm.svg |
168 |
make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame" |
169 |
prepgamesdirs |
170 |
} |
171 |
|
172 |
pkg_preinst() { |
173 |
games_pkg_preinst |
174 |
gnome2_icon_savelist |
175 |
} |
176 |
|
177 |
pkg_postinst() { |
178 |
games_pkg_postinst |
179 |
gnome2_icon_cache_update |
180 |
} |
181 |
|
182 |
pkg_postrm() { |
183 |
gnome2_icon_cache_update |
184 |
} |