/[gentoo-x86]/games-arcade/smc/smc-1.9.ebuild
Gentoo

Contents of /games-arcade/smc/smc-1.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Wed Oct 23 22:08:17 2013 UTC (6 years, 8 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +11 -5 lines
add underlink patch to build with newer binutils from zimous via bug #489188

(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/smc-1.9.ebuild,v 1.9 2012/11/19 22:19:52 mr_bones_ Exp $
4
5 EAPI=4
6 inherit autotools eutils flag-o-matic games
7
8 MUSIC_P=SMC_Music_4.1_high
9 DESCRIPTION="Secret Maryo Chronicles"
10 HOMEPAGE="http://www.secretmaryo.org/"
11 SRC_URI="mirror://sourceforge/smclone/${P}.tar.bz2
12 music? ( mirror://sourceforge/smclone/${MUSIC_P}.zip )"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS="amd64 ppc x86"
17 IUSE="music"
18
19 RDEPEND="<dev-games/cegui-0.7[opengl,devil]
20 dev-libs/boost
21 virtual/opengl
22 virtual/glu
23 x11-libs/libX11
24 dev-libs/libpcre[unicode]
25 media-libs/libpng
26 media-libs/libsdl[X,joystick,opengl]
27 media-libs/sdl-image[png]
28 media-libs/sdl-mixer[vorbis]
29 media-libs/sdl-ttf"
30 DEPEND="${RDEPEND}
31 virtual/pkgconfig
32 music? ( app-arch/unzip )"
33
34 src_unpack() {
35 unpack ${P}.tar.bz2
36 cd "${S}"
37 use music && unpack ${MUSIC_P}.zip
38 }
39
40 src_prepare() {
41 epatch \
42 "${FILESDIR}"/${P}-boost150.patch \
43 "${FILESDIR}"/${P}-underlink.patch
44 eautoreconf
45 }
46
47 src_install() {
48 default
49 newicon data/icon/window_32.png smc.png
50 make_desktop_entry ${PN} "Secret Maryo Chronicles"
51 doman makefiles/unix/man/smc.6
52 dodoc docs/*.txt
53 dohtml docs/{*.css,*.html}
54 prepgamesdirs
55 }

  ViewVC Help
Powered by ViewVC 1.1.20