Gentoo Archives: gentoo-commits

From: "Vadim A. Misbakh-Soloviov" <mva@×××.name>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-arcade/capsized/, games-arcade/capsized/files/
Date: Fri, 31 May 2013 21:28:18
Message-Id: 1370024864.8af316d23badef070a9faea4e28837d49b6ae9d8.mva@gentoo
commit:     8af316d23badef070a9faea4e28837d49b6ae9d8
Author:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
AuthorDate: Fri May 31 18:27:44 2013 +0000
Commit:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Fri May 31 18:27:44 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=8af316d2

[games-arcade/capsized] Added

Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name>

---
 games-arcade/capsized/capsized-05302013.ebuild |  79 +++++++++++++++++++++++++
 games-arcade/capsized/files/capsized.png       | Bin 0 -> 6727 bytes
 games-arcade/capsized/metadata.xml             |  15 +++++
 3 files changed, 94 insertions(+)

diff --git a/games-arcade/capsized/capsized-05302013.ebuild b/games-arcade/capsized/capsized-05302013.ebuild
new file mode 100644
index 0000000..45b0328
--- /dev/null
+++ b/games-arcade/capsized/capsized-05302013.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit games multilib
+
+DESCRIPTION=""
+HOMEPAGE=""
+SRC_URI="${PN}-${PV}-bin"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+RESTRICT="fetch"
+
+DEPEND="app-arch/zip"
+RDEPEND="
+	${DEPEND}
+	media-libs/libtheora
+	media-libs/libogg
+	media-libs/libvorbis
+	dev-lang/mono
+	media-libs/openal
+	media-libs/libsdl:2
+"
+
+DOCS=( "Linux.README" )
+
+S="${WORKDIR}/data"
+GAMEDIR="${GAMES_PREFIX_OPT}/${PN}"
+
+MY_PN=Capsized
+
+pkg_nofetch() {
+	einfo "Please download ${A}"
+	einfo "from your personal page in Humble Indie Bundle site"
+	einfo "(http://www.humblebundle.com)"
+	einfo "and place it to ${DESTDIR}"
+}
+
+src_unpack() {
+	local a=${DISTDIR}/${A}
+	echo ">>> Unpacking ${a} to ${PWD}"
+	unzip -q "${a}"
+	[ $? -gt 1 ] && die "unpacking failed"
+}
+
+src_install() {
+	local arch;
+	use x86 && arch=x86;
+	use amd64 && arch=x86_64;
+
+	insinto "${GAMEDIR}"
+	doins -r \
+		Content \
+		Properties \
+		mono \
+		"${MY_PN}.bmp" \
+		NePlusUltra.exe \
+		fr it es de \
+		*.dll *.config
+
+	insinto "${GAMEDIR}/$(get_libdir)"
+	doins "$(get_libdir)/libSDL2_mixer-2.0.so.0"
+#	doins "$(get_libdir)/libtheoraplay.so"
+
+	exeinto "${GAMEDIR}"
+	doexe "NePlusUltra.bin.${arch}"
+
+	games_make_wrapper "${PN}" "./NePlusUltra.bin.${arch}" "${GAMEDIR}" "${GAMEDIR}/$(get_libdir)"
+	doicon "${FILESDIR}/${PN}.png"
+	make_desktop_entry "${PN}" "${MY_PN}" "${PN}"
+
+	prepgamesdirs
+}

diff --git a/games-arcade/capsized/files/capsized.png b/games-arcade/capsized/files/capsized.png
new file mode 100644
index 0000000..3ba1cf9
Binary files /dev/null and b/games-arcade/capsized/files/capsized.png differ

diff --git a/games-arcade/capsized/metadata.xml b/games-arcade/capsized/metadata.xml
new file mode 100644
index 0000000..e1dbbcd
--- /dev/null
+++ b/games-arcade/capsized/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>azamat.hackimov@×××××.com</email>
+<name>Azamat H. Hackimov</name>
+</maintainer>
+<longdescription lang="en">
+A platformer where you play as an animated cube of meat
+</longdescription>
+<longdescription lang="ru">
+Платформер, в котором вы управляете мясным пацаном
+</longdescription>
+</pkgmetadata>
+