summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-12-25 03:17:39 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-12-25 03:17:39 +0000
commitd1923ea3a4b958f4de5c3ec8cc04bdd29467f78e (patch)
tree4c0240c6cff94e985ca137b1f224f8f9c4fea3d5 /games-arcade
parentAdd a blocker on dev-java/ant-tasks for tasks with version >=1.7.1 to solve b... (diff)
downloadgentoo-2-d1923ea3a4b958f4de5c3ec8cc04bdd29467f78e.tar.gz
gentoo-2-d1923ea3a4b958f4de5c3ec8cc04bdd29467f78e.tar.bz2
gentoo-2-d1923ea3a4b958f4de5c3ec8cc04bdd29467f78e.zip
Version bump
(Portage version: 2.2_rc18/cvs/Linux 2.6.27.10 i686)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/smc/ChangeLog7
-rw-r--r--games-arcade/smc/smc-1.7.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/games-arcade/smc/ChangeLog b/games-arcade/smc/ChangeLog
index c05983754276..2d1cde43c299 100644
--- a/games-arcade/smc/ChangeLog
+++ b/games-arcade/smc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-arcade/smc
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/ChangeLog,v 1.11 2008/12/16 13:19:59 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/ChangeLog,v 1.12 2008/12/25 03:17:39 nyhm Exp $
+
+*smc-1.7 (25 Dec 2008)
+
+ 25 Dec 2008; Tristan Heaven <nyhm@gentoo.org> +smc-1.7.ebuild:
+ Version bump
16 Dec 2008; Diego E. Pettenò <flameeyes@gentoo.org> smc-1.6.ebuild:
Output full CPN when failing, to know what to rebuild.
diff --git a/games-arcade/smc/smc-1.7.ebuild b/games-arcade/smc/smc-1.7.ebuild
new file mode 100644
index 000000000000..bfb8b465f94a
--- /dev/null
+++ b/games-arcade/smc/smc-1.7.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/smc-1.7.ebuild,v 1.1 2008/12/25 03:17:39 nyhm Exp $
+
+inherit eutils games
+
+MUSIC_P=SMC_music_4.0_high
+DESCRIPTION="Secret Maryo Chronicles"
+HOMEPAGE="http://www.secretmaryo.org/"
+SRC_URI="mirror://sourceforge/smclone/${P}.tar.bz2
+ mirror://sourceforge/smclone/${MUSIC_P}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="dev-games/cegui
+ dev-libs/boost
+ virtual/opengl
+ virtual/glu
+ media-libs/libpng
+ media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ media-libs/sdl-ttf"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ app-arch/unzip"
+
+pkg_setup() {
+ games_pkg_setup
+ if ! built_with_use media-libs/sdl-image png ; then
+ die "Please emerge media-libs/sdl-image with USE=png"
+ fi
+ if ! built_with_use dev-games/cegui opengl ; then
+ die "Please emerge dev-games/cegui with USE=opengl"
+ fi
+ if ! built_with_use dev-games/cegui devil ; then
+ die "Please emerge dev-games/cegui with USE=devil"
+ fi
+ if ! built_with_use dev-libs/libpcre unicode ; then
+ die "Please emerge dev-libs/libpcre with USE=unicode"
+ fi
+}
+
+src_unpack() {
+ unpack ${P}.tar.bz2
+ cd "${S}"
+ 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
+}