Changeset - 527151ba4d59
[Not reviewed]
default
3 1 1
Nathan Brink (binki) - 16 years ago 2009-04-20 18:51:57
ohnobinki@ohnopublishing.net
preliminary supertux live ebuild
4 files changed with 33 insertions and 50 deletions:
0 comments (0 inline, 0 general)
games-arcade/supertux/Manifest
Show inline comments
 
AUX supertux-0.1.3-gcc41.patch 459 RMD160 561fc1e8c69d0dde9124634304893e908485f014 SHA1 08531abf264730a53d3a6f73ecb75bb79d3e475a SHA256 b4b6c6bc888dccece3db323abeb182091e686c96dd959fce545030a887c88ff9
 
AUX supertux-0.1.3-ndebug.patch 689 RMD160 00e43b5af0be063ea4d052113c5798725e6a2122 SHA1 5c015600ab09db3228d4c6a9b2fa4261731d2e91 SHA256 544c24a2496ed0988e4be121eb1b8de173e24e5b15edadb8d76160c5c4cea45e
 
DIST supertux-0.1.3.tar.bz2 6715265 RMD160 54568fa1e99865d18cb042be81a97fd43f56766c SHA1 ad783011fbf15a8a56ca8680769a8c2a15abc515 SHA256 0092588351776626955339caaa62d12ce5954bb80c5f6952f60a122f53c2ad97
 
EBUILD supertux-0.1.3.ebuild 1026 RMD160 17d1178fe1c75cb9c046d6c7393f1048fa350b9b SHA1 cb2f93393b897e52d6aa7bf51edfd93f1a55a84b SHA256 98d94a1dc7ba8b41947e559554be363236e6ede5b3f406291d517fb0475c69e6
 
EBUILD supertux-9999.ebuild 1229 RMD160 0095ad1d8da22884fc41eaa9cbbb4fddf4a1cca9 SHA1 0b678122fcfc083045ba1f66515d81a3833a07c5 SHA256 031748b9ce9d3c3bbda4235199e7304a4459f8b1e2e96251a0f66ea894449aa0
 
MISC ChangeLog 4232 RMD160 ce6c073a860e5c99e0b3edd0af182a7d05f5d7fc SHA1 9c3490031a8b0a085774f5491c96c18f3f4f31df SHA256 86e2a8867229328fc8c25b83bf9a3a66a3bc30e1c54b968160099228f501db7b
 
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
games-arcade/supertux/files/supertux-0.1.3-gcc41.patch
Show inline comments
 
deleted file
games-arcade/supertux/files/supertux-0.1.3-ndebug.patch
Show inline comments
 
deleted file
games-arcade/supertux/supertux-9999.ebuild
Show inline comments
 
file renamed from games-arcade/supertux/supertux-0.1.3.ebuild to games-arcade/supertux/supertux-9999.ebuild
 
@@ -3,37 +3,51 @@
 
# $Header: /var/cvsroot/gentoo-x86/games-arcade/supertux/supertux-0.1.3.ebuild,v 1.14 2009/02/23 01:02:56 mr_bones_ Exp $
 

	
 
EAPI=2
 
inherit eutils games
 
inherit subversion cmake-utils eutils games
 

	
 
DESCRIPTION="A game similar to Super Mario Bros."
 
HOMEPAGE="http://super-tux.sourceforge.net"
 
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
 
SRC_URI=""
 

	
 
ESVN_REPO_URI="http://supertux.lethargik.org/svn/supertux/trunk/supertux"
 
ESVN_PROJECT="${PN}"
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="amd64 ppc ~ppc64 sparc x86 ~x86-fbsd"
 
IUSE="opengl"
 
KEYWORDS=""
 
IUSE="debug opengl curl"
 

	
 
DEPEND="media-libs/libsdl[joystick]
 
RDEPEND="media-libs/libsdl[joystick]
 
	media-libs/sdl-image[png,jpeg]
 
	media-libs/sdl-mixer[mikmod,vorbis]
 
	x11-libs/libXt"
 
	media-libs/libvorbis
 
	dev-games/physfs
 
	media-libs/openal
 
	x11-libs/libXt
 
	opengl? ( virtual/opengl )
 
	curl? ( net-misc/curl )"
 
DEPEND="${RDEPEND}
 
	dev-util/cmake
 
	dev-util/subversion"
 

	
 
PATCHES=( "${FILESDIR}"/${P}-gcc41.patch "${FILESDIR}"/${P}-ndebug.patch )
 
src_unpack() {
 
	subversion_src_unpack
 
}
 

	
 
src_configure() {
 
	egamesconf \
 
		--disable-dependency-tracking \
 
		--disable-debug \
 
		$(use_enable opengl) \
 
		|| die
 
	local mycmakeargs="$(cmake-utils_use_enable opengl OPENGL)
 
			 -DWERROR=OFF
 
			 $(cmake-utils_use_enable debug SQDBG)
 
			 $(cmake-utils_use debug DEBUG)"
 

	
 
	cmake-utils_src_configure
 
}
 

	
 
src_compile() {
 
	cmake-utils_src_compile
 
}
 

	
 
src_install() {
 
	emake DESTDIR="${D}" \
 
		desktopdir=/usr/share/applications \
 
		icondir=/usr/share/pixmaps \
 
		install || die "emake install failed"
 
	dodoc AUTHORS ChangeLog LEVELDESIGN README TODO
 
	cmake-utils_src_install
 
	dodoc AUTHORS ChangeLog LEVELDESIGN README TODO WHATSNEW.txt data/credits.txt
 
	prepgamesdirs
 
}
0 comments (0 inline, 0 general)