diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2015-08-21 07:20:38 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2015-08-21 07:20:38 +0300 |
commit | 4864c54f0019d01fb3ad584055f7e12c3d0e9181 (patch) | |
tree | 3539096572cb0b248ff43f24e96119e614320301 /games-arcade | |
parent | f66e2e84772f1e68b35d00118595091113a26ae6 (diff) |
fixed supertux ebuild from rion overlay
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/supertux/supertux-scm.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/games-arcade/supertux/supertux-scm.ebuild b/games-arcade/supertux/supertux-scm.ebuild new file mode 100644 index 0000000..50d79f9 --- /dev/null +++ b/games-arcade/supertux/supertux-scm.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +CMAKE_IN_SOURCE_BUILD=1 + +inherit git-r3 cmake-utils eutils games + +DESCRIPTION="Classic 2D jump'n run sidescroller game in a style similar to the original Super Mario Bros." +HOMEPAGE="http://supertux.github.io/index.html" +SRC_URI="" + +EGIT_REPO_URI="https://github.com/SuperTux/supertux.git" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="" +IUSE="opengl curl debug" + +RDEPEND="media-libs/libsdl2[joystick] + media-libs/sdl2-image[png,jpeg] + media-libs/libvorbis + dev-games/physfs + media-libs/openal + media-libs/glew + x11-libs/libXt + dev-games/physfs + opengl? ( virtual/opengl ) + curl? ( net-misc/curl )" +DEPEND="${RDEPEND}" + +DOCS="TODO WHATSNEW.txt data/credits.txt" + +src_unpack() { + git-r3_src_unpack +} + +src_configure() { + local mycmakeargs="-DWERROR=OFF + -DINSTALL_SUBDIR_BIN=games/bin + -DINSTALL_SUBDIR_DOC=share/doc/${P} + $(cmake-utils_use_enable opengl OPENGL) + $(cmake-utils_use_enable debug SQDBG) + $(cmake-utils_use debug DEBUG)" + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + prepgamesdirs +} |