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