summaryrefslogtreecommitdiff
path: root/games-arcade
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2014-02-21 00:25:17 +0200
committerGluzskiy Alexandr <sss123next@list.ru>2014-02-21 00:25:17 +0200
commit77ce74b68a5f7c945bff85c8336cab32ef78451b (patch)
tree621a4ca8c1fcddffd9a97f9fbcf4d7dc93d9c0fb /games-arcade
parent82328e22b96f6a6df5120ef257f29766ee66c458 (diff)
update
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/smc/Manifest1
-rw-r--r--games-arcade/smc/metadata.xml12
-rw-r--r--games-arcade/smc/smc-9999.ebuild66
3 files changed, 79 insertions, 0 deletions
diff --git a/games-arcade/smc/Manifest b/games-arcade/smc/Manifest
new file mode 100644
index 0000000..2434947
--- /dev/null
+++ b/games-arcade/smc/Manifest
@@ -0,0 +1 @@
+DIST SMC_Music_5.0_high.zip 47616051 RMD160 8793a6a83a11a58d394e2429889e7c2464b23bd5 SHA1 8a58adb32b6811fd890330c6f2f29f504532dfdb SHA256 c5bb2e1830c7cbe499c93851f5a02b2b900b4730d2c7a133a44a7b43a297dab8
diff --git a/games-arcade/smc/metadata.xml b/games-arcade/smc/metadata.xml
new file mode 100644
index 0000000..6597d31
--- /dev/null
+++ b/games-arcade/smc/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>doctorwhoguy@gmail.com</email>
+ <name>Patrick McMunn</name>
+ </maintainer>
+ <use>
+ <flag name="music">Download and install the music files</flag>
+ </use>
+</pkgmetadata>
diff --git a/games-arcade/smc/smc-9999.ebuild b/games-arcade/smc/smc-9999.ebuild
new file mode 100644
index 0000000..a67818a
--- /dev/null
+++ b/games-arcade/smc/smc-9999.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2012 Funtoo Technologies
+# 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.5 2011/04/27 16:39:06 mr_bones_ Exp $
+
+EAPI=3
+inherit autotools eutils flag-o-matic git-2 games
+
+MUSIC_P=SMC_Music_5.0_high
+DESCRIPTION="Secret Maryo Chronicles"
+HOMEPAGE="http://www.secretmaryo.org/"
+SRC_URI="music? ( mirror://sourceforge/smclone/${MUSIC_P}.zip )"
+EGIT_REPO_URI="git://github.com/FluXy/SMC.git
+ https://github.com/FluXy/SMC.git"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="music"
+
+RDEPEND=">=dev-games/cegui-0.7.4[opengl,devil]
+ >=dev-libs/boost-1.46
+ 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}
+ virtual/pkgconfig
+ music? ( app-arch/unzip )
+ sys-devel/gettext"
+
+S="${WORKDIR}/${PN}"
+
+EGIT_NOUNPACK="1"
+EGIT_SOURCEDIR="${WORKDIR}"
+
+src_unpack() {
+ git-2_src_unpack
+
+ if use music; then
+ cd ${S}
+ unpack ${MUSIC_P}.zip
+ fi
+}
+
+src_prepare() {
+ mkdir -p m4
+ cp -f /usr/share/gettext/config.rpath .
+ eautoreconf
+}
+
+src_compile() {
+ games_src_compile
+}
+
+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" "${PN}" "Game;ArcadeGame;"
+ doman makefiles/unix/man/smc.6
+ dohtml docs/{*.css,*.html}
+ prepgamesdirs
+}