summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/world-of-goo')
-rw-r--r--games-puzzle/world-of-goo/ChangeLog7
-rw-r--r--games-puzzle/world-of-goo/world-of-goo-1.41.ebuild57
2 files changed, 63 insertions, 1 deletions
diff --git a/games-puzzle/world-of-goo/ChangeLog b/games-puzzle/world-of-goo/ChangeLog
index d39ccb0bf2ec..7dfd7e908488 100644
--- a/games-puzzle/world-of-goo/ChangeLog
+++ b/games-puzzle/world-of-goo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-puzzle/world-of-goo
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/world-of-goo/ChangeLog,v 1.1 2009/02/15 00:15:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/world-of-goo/ChangeLog,v 1.2 2009/07/06 10:32:57 nyhm Exp $
+
+*world-of-goo-1.41 (06 Jul 2009)
+
+ 06 Jul 2009; Tristan Heaven <nyhm@gentoo.org> +world-of-goo-1.41.ebuild:
+ Version bump, bug #275957
*world-of-goo-1.40 (15 Feb 2009)
diff --git a/games-puzzle/world-of-goo/world-of-goo-1.41.ebuild b/games-puzzle/world-of-goo/world-of-goo-1.41.ebuild
new file mode 100644
index 000000000000..ef96bd9f165f
--- /dev/null
+++ b/games-puzzle/world-of-goo/world-of-goo-1.41.ebuild
@@ -0,0 +1,57 @@
+# 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/world-of-goo-1.41.ebuild,v 1.1 2009/07/06 10:32:57 nyhm Exp $
+
+inherit eutils games
+
+DESCRIPTION="World of Goo is a puzzle game with a strong emphasis on physics"
+HOMEPAGE="http://2dboy.com/"
+
+if [[ ${PN} == *-demo ]] ; then
+ MY_PN="WorldOfGooDemo"
+ SRC_URI="${MY_PN}.${PV}.tar.gz"
+else
+ MY_PN="WorldOfGoo"
+ SRC_URI="${MY_PN}Setup.${PV}.tar.gz"
+fi
+
+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"
+DEPEND=""
+
+S=${WORKDIR}/${MY_PN}
+
+QA_EXECSTACK="opt/${MY_PN}/WorldOfGoo.bin32
+ opt/${MY_PN}/WorldOfGoo.bin64"
+
+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=${GAMES_PREFIX_OPT}/${MY_PN}
+
+ insinto "${d}"
+ doins -r */ ${MY_PN%Demo}* || die
+
+ games_make_wrapper ${MY_PN} "${d}"/${MY_PN%Demo}
+ dodoc readme.html linux-issues.txt
+ newicon icons/scalable.svg ${MY_PN}.svg
+ make_desktop_entry ${MY_PN} "World Of Goo" ${MY_PN}
+
+ pushd "${D}${d}" >/dev/null
+ chmod a+rx ${MY_PN%Demo}* libs*/lib* || die
+ popd >/dev/null
+
+ prepgamesdirs
+}