]> git.draconx.ca Git - gentoo-draconx.git/commitdiff
Add games-puzzle/osmos from gamerlay.
authorNick Bowler <nbowler@draconx.ca>
Thu, 16 Feb 2012 03:17:07 +0000 (22:17 -0500)
committerNick Bowler <nbowler@draconx.ca>
Fri, 2 Mar 2012 02:17:28 +0000 (21:17 -0500)
games-puzzle/osmos/Manifest [new file with mode: 0644]
games-puzzle/osmos/osmos-1.6.1.ebuild [new file with mode: 0644]

diff --git a/games-puzzle/osmos/Manifest b/games-puzzle/osmos/Manifest
new file mode 100644 (file)
index 0000000..74a6070
--- /dev/null
@@ -0,0 +1,3 @@
+DIST Osmos_1.6.1.tar.gz 20489943 RMD160 f79b757f472e314001afeb1974e7802b499f71da SHA1 6ee3eff1731a3c871b9d867cef326cdbf34716f0 SHA256 f8a9bf55dc22ee32feeec5633058c28d1811a3054f6ebed3f9f3251c5179d202
+EBUILD osmos-1.6.1.ebuild 1189 RMD160 093b9b9f724a5fa2198729b9cba045d1c000d87a SHA1 c60cb06c2e1448fb8099e572ed7899eec06130ea SHA256 c2cb9c2b20192e8055e08317c9c09133ea0bb788741dd8edaf61031fe9d1cae1
+MISC metadata.xml 359 RMD160 1dec4920fd228daa6c767eb7f577368a3ad746b2 SHA1 c84c9c93f9c3132e936fe6c47fad4d3df79183ee SHA256 914fa8ef8315717cae88b3a25eb68853c382d3af6c65aa433e92e2c4ed28cf27
diff --git a/games-puzzle/osmos/osmos-1.6.1.ebuild b/games-puzzle/osmos/osmos-1.6.1.ebuild
new file mode 100644 (file)
index 0000000..6615555
--- /dev/null
@@ -0,0 +1,61 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit eutils games
+
+MY_PN="Osmos"
+MY_P="${MY_PN}_${PV}"
+
+DESCRIPTION="Play as a single-celled organism absorbing others"
+HOMEPAGE="http://www.hemispheregames.com/osmos/"
+SRC_URI="${MY_P}.tar.gz"
+
+LICENSE="OSMOS"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="fetch strip"
+PROPERTIES="interactive"
+
+RDEPEND="virtual/opengl
+       virtual/glu
+       x11-libs/libX11
+       media-libs/freetype:2
+       sys-libs/glibc
+       media-libs/openal
+       media-libs/libvorbis"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_PN}
+
+GAMES_CHECK_LICENSE="yes"
+
+pkg_nofetch() {
+       einfo "Please download ${MY_P}.tar.gz and place it into ${DISTDIR}"
+}
+
+src_install() {
+       local dir="${GAMES_PREFIX_OPT}/${PN}"
+
+       exeinto "${dir}"
+       doexe ${MY_PN}
+       if use amd64 ; then
+               doexe ${MY_PN}.bin64 || die "doexe"
+       fi
+       if use x86 ; then
+               doexe ${MY_PN}.bin32 || die "doexe"
+       fi
+       dohtml readme.html
+       insinto "${dir}"
+       doins -r Fonts/ Sounds/ Textures/ Osmos-* *.cfg || die "doins failed"
+
+       newicon Icons/256x256.png ${PN}.png
+
+       games_make_wrapper ${PN} ./${MY_PN} "${dir}"
+       make_desktop_entry ${PN} "Osmos"
+
+       prepgamesdirs
+}