summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2009-08-17 16:56:00 +0000
committerTristan Heaven <nyhm@gentoo.org>2009-08-17 16:56:00 +0000
commit5f4885f95b413d767ada4cbfd7a3585bb634add5 (patch)
tree711c7db64dd193dfe8eb78823e036ab3d9a7d150 /games-arcade
parentVersion bump (diff)
downloadgentoo-2-5f4885f95b413d767ada4cbfd7a3585bb634add5.tar.gz
gentoo-2-5f4885f95b413d767ada4cbfd7a3585bb634add5.tar.bz2
gentoo-2-5f4885f95b413d767ada4cbfd7a3585bb634add5.zip
Version bump
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/smc/ChangeLog8
-rw-r--r--games-arcade/smc/metadata.xml5
-rw-r--r--games-arcade/smc/smc-1.9.ebuild47
3 files changed, 58 insertions, 2 deletions
diff --git a/games-arcade/smc/ChangeLog b/games-arcade/smc/ChangeLog
index 896c1fd2869d..f0d9ca99bc81 100644
--- a/games-arcade/smc/ChangeLog
+++ b/games-arcade/smc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-arcade/smc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/ChangeLog,v 1.20 2009/08/12 18:53:03 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/ChangeLog,v 1.21 2009/08/17 16:56:00 nyhm Exp $
+
+*smc-1.9 (17 Aug 2009)
+
+ 17 Aug 2009; Tristan Heaven <nyhm@gentoo.org> +smc-1.9.ebuild,
+ metadata.xml:
+ Version bump
12 Aug 2009; Tristan Heaven <nyhm@gentoo.org> smc-1.8.ebuild:
Depend on media-libs/libsdl with X and opengl enabled
diff --git a/games-arcade/smc/metadata.xml b/games-arcade/smc/metadata.xml
index d3c2cc926f0b..96ceb3270a0d 100644
--- a/games-arcade/smc/metadata.xml
+++ b/games-arcade/smc/metadata.xml
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>games</herd>
+ <herd>games</herd>
+ <use>
+ <flag name="music">Download and install the music files</flag>
+ </use>
</pkgmetadata>
diff --git a/games-arcade/smc/smc-1.9.ebuild b/games-arcade/smc/smc-1.9.ebuild
new file mode 100644
index 000000000000..258187892137
--- /dev/null
+++ b/games-arcade/smc/smc-1.9.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/smc-1.9.ebuild,v 1.1 2009/08/17 16:56:00 nyhm Exp $
+
+EAPI=2
+inherit eutils games
+
+MUSIC_P=SMC_Music_4.1_high
+DESCRIPTION="Secret Maryo Chronicles"
+HOMEPAGE="http://www.secretmaryo.org/"
+SRC_URI="mirror://sourceforge/smclone/${P}.tar.bz2
+ music? ( mirror://sourceforge/smclone/${MUSIC_P}.zip )"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="music"
+
+RDEPEND="dev-games/cegui[opengl,devil]
+ dev-libs/boost
+ virtual/opengl
+ virtual/glu
+ dev-libs/libpcre[unicode]
+ media-libs/libpng
+ media-libs/libsdl[X,joystick,opengl]
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-ttf"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ music? ( app-arch/unzip )"
+
+src_unpack() {
+ unpack ${P}.tar.bz2
+ cd "${S}"
+ use music && unpack ${MUSIC_P}.zip
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newicon data/icon/window_32.png smc.png
+ make_desktop_entry ${PN} "Secret Maryo Chronicles"
+ doman makefiles/unix/man/smc.6
+ dodoc docs/*.txt
+ dohtml docs/{*.css,*.html}
+ prepgamesdirs
+}