diff --git a/games-arcade/supertux/supertux-9999.ebuild b/games-arcade/supertux/supertux-0.3.3.ebuild copy from games-arcade/supertux/supertux-9999.ebuild copy to games-arcade/supertux/supertux-0.3.3.ebuild --- a/games-arcade/supertux/supertux-9999.ebuild +++ b/games-arcade/supertux/supertux-0.3.3.ebuild @@ -4,21 +4,21 @@ EAPI=2 -inherit cmake-utils eutils games subversion +inherit cmake-utils eutils games -DESCRIPTION="A game similar to Super Mario Bros." -HOMEPAGE="http://super-tux.sourceforge.net" -SRC_URI="ftp://ohnopub.net/mirror/supertux-r6591-crazy-system-findlocale-notinygettext.patch" - -ESVN_REPO_URI="http://supertux.lethargik.org/svn/supertux/trunk/supertux" -ESVN_PROJECT="${PN}" +DESCRIPTION="A platform game where Tux goes off in search of Penny... and isn't yet able to find her" +HOMEPAGE="http://supertux.lethargik.org/" +SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2 + http://${PN}.googlecode.com/files/${P}.tar.bz2 + ftp://ohnopub.net/mirror/${PN}-r6591-crazy-system-findlocale-notinygettext.patch" LICENSE="GPL-2" SLOT="1" -KEYWORDS="" +KEYWORDS="~amd64" IUSE="opengl curl debug" RDEPEND="dev-games/physfs + dev-lang/squirrel dev-libs/findlocale dev-libs/tinygettext media-libs/libsdl[joystick] @@ -29,17 +29,14 @@ RDEPEND="dev-games/physfs virtual/opengl ) curl? ( net-misc/curl )" -# supertux's CMakeLists.txt needs the svnversion command # boost templates are used DEPEND="${RDEPEND} - dev-libs/boost - dev-util/cmake" + dev-libs/boost" src_prepare() { - epatch "${FILESDIR}/supertux-9999-tinygettext-external.patch" - epatch "${DISTDIR}/supertux-r6591-crazy-system-findlocale-notinygettext.patch" + epatch "${FILESDIR}"/${PN}-0.3.3-externals.patch - rm -rf externals/{findlocale,tinygettext} || die + rm -rf externals/{findlocale,tinygettext,squirrel} || die } src_configure() { @@ -47,6 +44,7 @@ src_configure() { -DINSTALL_SUBDIR_SHARE=share/games/supertux2 -DINSTALL_SUBDIR_BIN=games/bin -DINSTALL_SUBDIR_DOC=share/doc/${P} + -DEXTERNAL_LIBSQUIRREL=YES $(cmake-utils_use_enable opengl OPENGL) $(cmake-utils_use_enable debug SQDBG) $(cmake-utils_use debug DEBUG) )