Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/smc: ChangeLog smc-1.4.ebuild
Date: Sun, 30 Dec 2007 02:20:59
Message-Id: E1J8nnF-00077b-GJ@stork.gentoo.org
1 nyhm 07/12/30 02:20:49
2
3 Modified: ChangeLog
4 Added: smc-1.4.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.4 games-arcade/smc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/smc/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/smc/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/smc/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-arcade/smc/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 2 Dec 2007 00:18:36 -0000 1.3
23 +++ ChangeLog 30 Dec 2007 02:20:48 -0000 1.4
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-arcade/smc
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/ChangeLog,v 1.3 2007/12/02 00:18:36 nyhm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/ChangeLog,v 1.4 2007/12/30 02:20:48 nyhm Exp $
29 +
30 +*smc-1.4 (30 Dec 2007)
31 +
32 + 30 Dec 2007; Tristan Heaven <nyhm@g.o>
33 + +files/smc-1.4-link-libpng.patch, +smc-1.4.ebuild:
34 + Version bump
35
36 *smc-1.3 (02 Dec 2007)
37
38
39
40
41 1.1 games-arcade/smc/smc-1.4.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/smc/smc-1.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/smc/smc-1.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: smc-1.4.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/smc-1.4.ebuild,v 1.1 2007/12/30 02:20:48 nyhm Exp $
51
52 inherit autotools eutils games
53
54 MY_P=${P}_no_music
55 MUSIC_P=SMC_music_4.0_high
56 DESCRIPTION="Secret Maryo Chronicles"
57 HOMEPAGE="http://www.secretmaryo.org/"
58 SRC_URI="mirror://sourceforge/smclone/${MY_P}.tar.bz2
59 mirror://sourceforge/smclone/${MUSIC_P}.zip"
60
61 LICENSE="GPL-3"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE=""
65
66 RDEPEND=">=dev-games/cegui-0.5
67 dev-libs/boost
68 virtual/opengl
69 virtual/glu
70 media-libs/libsdl
71 media-libs/sdl-image
72 media-libs/sdl-mixer
73 media-libs/sdl-ttf"
74 DEPEND="${RDEPEND}
75 dev-util/pkgconfig
76 app-arch/unzip"
77
78 pkg_setup() {
79 games_pkg_setup
80 if ! built_with_use media-libs/sdl-image png ; then
81 die "Please emerge sdl-image with USE=png"
82 fi
83 if ! built_with_use dev-games/cegui opengl ; then
84 die "Please emerge cegui with USE=opengl"
85 fi
86 if ! built_with_use dev-games/cegui devil ; then
87 die "Please emerge cegui with USE=devil"
88 fi
89 }
90
91 src_unpack() {
92 unpack ${MY_P}.tar.bz2
93 cd "${S}"
94 unpack ${MUSIC_P}.zip
95 epatch "${FILESDIR}"/${P}-link-libpng.patch
96 eautoreconf
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" install || die "emake install failed"
101 newicon data/icon/window_32.png ${PN}.png
102 make_desktop_entry ${PN} "Secret Maryo Chronicles"
103 dodoc docs/*.txt
104 dohtml docs/{*.css,*.html}
105 prepgamesdirs
106 }
107
108
109
110 --
111 gentoo-commits@g.o mailing list