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: scummvm-1.6.0.ebuild ChangeLog
Date: Sun, 02 Jun 2013 03:44:41
Message-Id: 20130602034435.B72D52171D@flycatcher.gentoo.org
1 mr_bones_ 13/06/02 03:44:35
2
3 Modified: ChangeLog
4 Added: scummvm-1.6.0.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.1.11.62/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.128 games-engines/scummvm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.128&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?rev=1.128&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/ChangeLog?r1=1.127&r2=1.128
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v
20 retrieving revision 1.127
21 retrieving revision 1.128
22 diff -u -r1.127 -r1.128
23 --- ChangeLog 2 Feb 2013 22:57:26 -0000 1.127
24 +++ ChangeLog 2 Jun 2013 03:44:35 -0000 1.128
25 @@ -1,6 +1,11 @@
26 # ChangeLog for games-engines/scummvm
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.127 2013/02/02 22:57:26 hasufell Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.128 2013/06/02 03:44:35 mr_bones_ Exp $
30 +
31 +*scummvm-1.6.0 (02 Jun 2013)
32 +
33 + 02 Jun 2013; Michael Sterrett <mr_bones_@g.o> +scummvm-1.6.0.ebuild:
34 + version bump
35
36 02 Feb 2013; Julian Ospald <hasufell@g.o>
37 files/scummvm-1.5.0-EE.patch:
38
39
40
41 1.1 games-engines/scummvm/scummvm-1.6.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/scummvm-1.6.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/scummvm/scummvm-1.6.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: scummvm-1.6.0.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.6.0.ebuild,v 1.1 2013/06/02 03:44:35 mr_bones_ Exp $
51
52 EAPI=5
53 inherit eutils flag-o-matic gnome2-utils toolchain-funcs 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="aac alsa debug flac fluidsynth mp3 opengl truetype 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 sys-libs/zlib
67 vorbis? ( media-libs/libogg media-libs/libvorbis )
68 aac? ( media-libs/faad2 )
69 alsa? ( media-libs/alsa-lib )
70 mp3? ( media-libs/libmad )
71 flac? ( media-libs/flac )
72 opengl? ( virtual/opengl )
73 truetype? ( media-libs/freetype:2 )
74 fluidsynth? ( media-sound/fluidsynth )"
75 DEPEND="${RDEPEND}
76 x86? ( dev-lang/nasm )"
77
78 S=${WORKDIR}/${P/_/}
79
80 src_prepare() {
81 # -g isn't needed for nasm here
82 sed -i \
83 -e '/NASMFLAGS/ s/-g//' \
84 configure || die
85 sed -i \
86 -e '/INSTALL.*doc/d' \
87 -e '/INSTALL.*\/pixmaps/d' \
88 -e 's/-s //' \
89 ports.mk || die
90 }
91
92 src_configure() {
93 local myconf
94
95 # bug #137547
96 use fluidsynth || myconf="${myconf} --disable-fluidsynth"
97
98 use x86 && append-ldflags -Wl,-z,noexecstack
99
100 # NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF
101 ./configure \
102 --backend=sdl \
103 --host=$CHOST \
104 --enable-verbose-build \
105 --prefix=/usr \
106 --bindir="${GAMES_BINDIR}" \
107 --datadir="${GAMES_DATADIR}"/${PN} \
108 --libdir="${GAMES_LIBDIR}" \
109 --enable-zlib \
110 $(use_enable debug) \
111 $(use_enable aac faad) \
112 $(use_enable alsa) \
113 $(use_enable mp3 mad) \
114 $(use_enable flac) \
115 $(use_enable opengl) \
116 $(use_enable vorbis) \
117 $(use_enable truetype freetype2) \
118 $(use_enable x86 nasm) \
119 ${myconf} || die
120 }
121
122 src_compile() {
123 emake AR="$(tc-getAR) cru" RANLIB=$(tc-getRANLIB)
124 }
125
126 src_install() {
127 emake DESTDIR="${D}" install
128 dodoc AUTHORS NEWS README TODO
129 doicon -s scalable icons/scummvm.svg
130 make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
131 prepgamesdirs
132 }
133
134 pkg_preinst() {
135 games_pkg_preinst
136 gnome2_icon_savelist
137 }
138
139 pkg_postinst() {
140 games_pkg_postinst
141 gnome2_icon_cache_update
142 }
143
144 pkg_postrm() {
145 gnome2_icon_cache_update
146 }