summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-15 00:00:37 +0000
committerMike Frysinger <vapier@gentoo.org>2009-02-15 00:00:37 +0000
commitaa994286b97c383f141ba0aa7492c9528df764d9 (patch)
treeda4d631e18d660c7935ac50446c85123fb8b24f7 /games-puzzle/world-of-goo-demo
parentfixing src_prepare. Thanks to Arfrever (diff)
downloadhistorical-aa994286b97c383f141ba0aa7492c9528df764d9.tar.gz
historical-aa994286b97c383f141ba0aa7492c9528df764d9.tar.bz2
historical-aa994286b97c383f141ba0aa7492c9528df764d9.zip
Initial ebuild #258960 by Vladimir Berezhnoy.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'games-puzzle/world-of-goo-demo')
-rw-r--r--games-puzzle/world-of-goo-demo/ChangeLog10
-rw-r--r--games-puzzle/world-of-goo-demo/Manifest14
-rw-r--r--games-puzzle/world-of-goo-demo/metadata.xml5
-rw-r--r--games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild54
4 files changed, 83 insertions, 0 deletions
diff --git a/games-puzzle/world-of-goo-demo/ChangeLog b/games-puzzle/world-of-goo-demo/ChangeLog
new file mode 100644
index 000000000000..075c0d33fde3
--- /dev/null
+++ b/games-puzzle/world-of-goo-demo/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-puzzle/world-of-goo-demo
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/world-of-goo-demo/ChangeLog,v 1.1 2009/02/15 00:00:37 vapier Exp $
+
+*world-of-goo-demo-1.40 (15 Feb 2009)
+
+ 15 Feb 2009; Mike Frysinger <vapier@gentoo.org> +metadata.xml,
+ +world-of-goo-demo-1.40.ebuild:
+ Initial ebuild #258960 by Vladimir Berezhnoy.
+
diff --git a/games-puzzle/world-of-goo-demo/Manifest b/games-puzzle/world-of-goo-demo/Manifest
new file mode 100644
index 000000000000..a816a5f1ed2b
--- /dev/null
+++ b/games-puzzle/world-of-goo-demo/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST WorldOfGooDemo.1.40.tar.gz 32405210 RMD160 05b12a67884b0141cabc2c88a2706ac65ccdb836 SHA1 7a03f2e567400edebcf8634fef3e489d942fd872 SHA256 140d191278d95bcb2059527c811443e3da74c6c3b2cd357c3a6ad0b1a9381920
+EBUILD world-of-goo-demo-1.40.ebuild 1384 RMD160 f178fab634b4f0ad28d958569833d58ed3afc44f SHA1 cf540d2f37b8dab7717f6d477c625ce66f6c693a SHA256 072475707a3b24bf2fb726a64cc7f21bd92afec1610e76225e0fed4edb067f0e
+MISC ChangeLog 420 RMD160 96cdeb246734d311f3bf4e2a240af0d1289085c1 SHA1 8ec6dfc70a8327ce767fe7c9dd091efca0932da3 SHA256 eb341668324bb99943cbf3e4f25cf6c6c1faba6330ffbe9a2a731cd0b69de8f4
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkmXWysACgkQn/5bYzqsSmHPvQCgm64UDkRkf2GxR79e5ZzsmX6H
+lt8AoIY+eiBXwRz8GjpDAyiOZngtfLvS
+=/awB
+-----END PGP SIGNATURE-----
diff --git a/games-puzzle/world-of-goo-demo/metadata.xml b/games-puzzle/world-of-goo-demo/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-puzzle/world-of-goo-demo/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild b/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild
new file mode 100644
index 000000000000..6baaded46ba1
--- /dev/null
+++ b/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild,v 1.1 2009/02/15 00:00:37 vapier Exp $
+
+inherit games
+
+MY_PN="WorldOfGooDemo"
+DESCRIPTION="World of Goo is a puzzle game with a strong emphasis on physics"
+HOMEPAGE="http://2dboy.com/"
+SRC_URI="${MY_PN}.${PV}.tar.gz"
+
+LICENSE="2dboy-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="fetch strip"
+
+# the package includes SDL/ogg/vorbis already
+RDEPEND="sys-libs/glibc
+ virtual/opengl
+ virtual/glu
+ >=sys-devel/gcc-3.4
+ amd64? (
+ app-emulation/emul-linux-x86-baselibs
+ app-emulation/emul-linux-x86-xlibs
+ )"
+DEPEND=""
+
+S=${WORKDIR}/${MY_PN}
+
+QA_EXECSTACK="opt/WorldOfGooDemo/WorldOfGoo.bin"
+
+pkg_nofetch() {
+ elog "To download the demo, visit http://worldofgoo.com/dl2.php?lk=demo"
+ elog "and download ${A} and place it in ${DISTDIR}"
+}
+
+src_install() {
+ local d="/opt/${MY_PN}"
+ insinto ${d}
+ doins -r */ ${MY_PN%Demo}* || die
+
+ dodoc readme.html linux-issues.txt
+ newicon icon.png ${MY_PN}.png
+ make_desktop_entry ${MY_PN} "World Of Goo (Demo)" ${MY_PN}.png
+
+ dosym ${d}/${MY_PN%Demo} "${GAMES_BINDIR}"/${MY_PN}
+ pushd "${D}"${d} >/dev/null
+ chmod a+rx ${MY_PN%Demo}* libs/lib* || die
+ games_make_wrapper ${MY_PN} ${d}/${MY_PN%Demo}
+ popd >/dev/null
+
+ prepgamesdirs ${d}
+}