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-emulation/stella: stella-3.9.ebuild ChangeLog
Date: Tue, 02 Jul 2013 19:00:03
Message-Id: 20130702185956.7AA6E21710@flycatcher.gentoo.org
1 mr_bones_ 13/07/02 18:59:56
2
3 Modified: ChangeLog
4 Added: stella-3.9.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.1.12.2/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.79 games-emulation/stella/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/stella/ChangeLog?rev=1.79&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/stella/ChangeLog?rev=1.79&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/stella/ChangeLog?r1=1.78&r2=1.79
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-emulation/stella/ChangeLog,v
20 retrieving revision 1.78
21 retrieving revision 1.79
22 diff -u -r1.78 -r1.79
23 --- ChangeLog 17 Feb 2013 17:40:08 -0000 1.78
24 +++ ChangeLog 2 Jul 2013 18:59:56 -0000 1.79
25 @@ -1,6 +1,11 @@
26 # ChangeLog for games-emulation/stella
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/stella/ChangeLog,v 1.78 2013/02/17 17:40:08 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/stella/ChangeLog,v 1.79 2013/07/02 18:59:56 mr_bones_ Exp $
30 +
31 +*stella-3.9 (02 Jul 2013)
32 +
33 + 02 Jul 2013; Michael Sterrett <mr_bones_@g.o> +stella-3.9.ebuild:
34 + version bump
35
36 17 Feb 2013; Agostino Sarubbo <ago@g.o> stella-3.7.5.ebuild:
37 Stable for x86, wrt bug #455522
38
39
40
41 1.1 games-emulation/stella/stella-3.9.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/stella/stella-3.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/stella/stella-3.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: stella-3.9.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-emulation/stella/stella-3.9.ebuild,v 1.1 2013/07/02 18:59:56 mr_bones_ Exp $
51
52 EAPI=2
53 inherit eutils gnome2-utils games
54
55 DESCRIPTION="Stella Atari 2600 VCS Emulator"
56 HOMEPAGE="http://stella.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/stella/${P}-src.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE="joystick opengl"
63
64 DEPEND="media-libs/libsdl[joystick?,opengl?,video]
65 x11-libs/libX11
66 media-libs/libpng:0
67 sys-libs/zlib
68 opengl? (
69 virtual/opengl
70 virtual/glu
71 )"
72
73 src_prepare() {
74 sed -i \
75 -e '/INSTALL/s/-s //' \
76 -e '/STRIP/d' \
77 -e "/icons/d" \
78 -e '/INSTALL.*DOCDIR/d' \
79 -e '/INSTALL.*\/applications/d' \
80 -e '/CXXFLAGS+=/s/-fomit-frame-pointer//' \
81 Makefile || die
82 }
83
84 src_configure() {
85 # not an autoconf script
86 ./configure \
87 --prefix="/usr" \
88 --bindir="${GAMES_BINDIR}" \
89 --docdir="/usr/share/doc/${PF}" \
90 --datadir="${GAMES_DATADIR}" \
91 $(use_enable opengl gl) \
92 $(use_enable joystick) \
93 || die
94 }
95
96 src_install() {
97 local i
98 for i in 16 22 24 32 48 64 128 ; do
99 newicon -s ${i} src/common/stella-${i}x${i}.png stella.png
100 done
101
102 emake DESTDIR="${D}" install || die
103 domenu src/unix/stella.desktop
104 dohtml -r docs/*
105 dodoc Announce.txt Changes.txt Copyright.txt README-SDL.txt Readme.txt Todo.txt
106 prepgamesdirs
107 }
108
109 pkg_preinst() {
110 games_pkg_preinst
111 gnome2_icon_savelist
112 }
113
114 pkg_postinst() {
115 games_pkg_postinst
116 gnome2_icon_cache_update
117 }
118
119 pkg_postrm() {
120 gnome2_icon_cache_update
121 }