diff options
Diffstat (limited to 'games-engines/solarus')
-rw-r--r-- | games-engines/solarus/Manifest | 6 | ||||
-rw-r--r-- | games-engines/solarus/metadata.xml | 15 | ||||
-rw-r--r-- | games-engines/solarus/solarus-1.3.1-r1.ebuild | 54 | ||||
-rw-r--r-- | games-engines/solarus/solarus-1.3.1.ebuild | 55 |
4 files changed, 130 insertions, 0 deletions
diff --git a/games-engines/solarus/Manifest b/games-engines/solarus/Manifest new file mode 100644 index 000000000000..a49ee7828fb2 --- /dev/null +++ b/games-engines/solarus/Manifest @@ -0,0 +1,6 @@ +DIST solarus-1.3.1-src.tar.gz 2450599 SHA256 bfdbd909b817722985393869b1e8c18f18081fd0c68b4c3189c50ef0bbc8f55c SHA512 f52a46add1432a98931db8d26496371b5ff843151c8ac0fdaf1e774be37399d9be6c401f263a65aa08b96f3eebda367b4ccb07ef6cb9740b3112b01e4763556b WHIRLPOOL 67b92a03d2d0a69376f63b9aae3367b97d7d34d40ce3e14d835c34333dc0ec9600bb6ff39f19f31b2861f0b3f790bdb2234bbd7df4b04cca443bb2695a7bcdf6 +EBUILD solarus-1.3.1-r1.ebuild 1076 SHA256 895b94c1a4504f4a94a443e154192d124760f4943814d3aecbd5339e26ea2fe3 SHA512 45b0cfcab36c51aa8fb86a53c3b8472006526a29f1a990adfda71ddbd410c71f93ba87d179b23429fbf8d70fe61a0cf1d39b0a4134b2141dfea843e5a405f4d0 WHIRLPOOL 0eb888dc4e59a02ac60e16742ff17181976b85fcf03b969442e6fb88d8c25ec908ab09532f8da5eb6a56333cab75435b0274b2cb8601ceb4d35a389643a4c77c +EBUILD solarus-1.3.1.ebuild 1110 SHA256 379a9af9e23d5272a0d9fc0cec836e4947473418a481984e3ea0bcc6a4390242 SHA512 161b3fb9ae9186665b3482aeeaccad4a910831b9c26c0826daf64dc033ff780554bd8075f0017308e56bd8b94e0721af3606789961460afce2741a94a81cc945 WHIRLPOOL 137fcf52ab502646bc1bd981c966e6f9413308df4e33197c2303d6dd6e675f4fcc78c9a1d9c913e786a1ef99702dd8ce567054d2af5d0f4468c557deb3691992 +MISC ChangeLog 3079 SHA256 8418205f9c0b5d634246fa847bd716797dfa1bb601c6b1576184b8797b1636e6 SHA512 92075714e9df00fabb23359f73c7dc54b8e74b7477df30114f04dd99df1f3844a68e5e7c67c6ee70351eedd3d3bcc33cea58262e99059c81b8e20dc8816ffe60 WHIRLPOOL b233e19af41fa2a774b3d7357b8d28d98ec990ca35c837f5b264c6dfbe34c1854333d538080518e160bace2dee1c0a7bddef90e27b1411adc01fe605ad117c7a +MISC ChangeLog-2015 2054 SHA256 1ce0d0e7abde0a868701e9d56f586fbeca6eeccc08799c17d6b0611f20828585 SHA512 cefabe7072f98a60b7cfc1684e8395f4968173210dbbb707e5473be8ddb2c8b51738c15dfc4b17aa68d2606fadd4daa8e8c7581276b8832279f92cb8bafc57f5 WHIRLPOOL 07201f2281eddb9bbd2e2de5c7a2429868e1aef154c5b10bcc6d1bedef6a73c5acc14c035297ccd28085184e36e787fbf1a377927c1e6ed0b3635ce43b96bf64 +MISC metadata.xml 482 SHA256 17b023512e377851fc0b31cc04195f7678e096dded5c020404935fba286bbdfc SHA512 866a4a87112af7e39006cab843ce872095c662c141c1f5bfdd40c7f47144d4fe73c97f7d47e28a3cbac74e6a64c4534da10938c13a22e32ef338fd41bd927a1a WHIRLPOOL 2869cdc697e1b6a2d8a8656702f5ae6b28c3a385fe9b8c2087a27a20daefe6c3742008858cd1101d678802ef428600c2d4a8ef0f07e2659e98096d731d28d03d diff --git a/games-engines/solarus/metadata.xml b/games-engines/solarus/metadata.xml new file mode 100644 index 000000000000..e8c3d77749ef --- /dev/null +++ b/games-engines/solarus/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <use> + <flag name="doc">Install doxygen developer documentation.</flag> + <flag name="luajit">Use LuaJIT instead of default Lua.</flag> + </use> + <upstream> + <remote-id type="github">christopho/solarus</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-engines/solarus/solarus-1.3.1-r1.ebuild b/games-engines/solarus/solarus-1.3.1-r1.ebuild new file mode 100644 index 000000000000..31ce4cefa293 --- /dev/null +++ b/games-engines/solarus/solarus-1.3.1-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="An open-source Zelda-like 2D game engine" +HOMEPAGE="http://www.solarus-games.org/" +SRC_URI="http://www.zelda-solarus.com/downloads/${PN}/${P}-src.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc luajit" + +RDEPEND=" + dev-games/physfs + media-libs/libmodplug + >=media-libs/libsdl2-2.0.1[X,joystick,video] + media-libs/libvorbis + media-libs/openal + media-libs/sdl2-image[png] + >=media-libs/sdl2-ttf-2.0.12 + luajit? ( dev-lang/luajit:2 ) + !luajit? ( dev-lang/lua:0 )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_prepare() { + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DSOLARUS_INSTALL_DESTINATION="/usr/bin" + -DSOLARUS_USE_LUAJIT="$(usex luajit)" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc ; then + cd doc || die + doxygen || die + fi +} + +src_install() { + cmake-utils_src_install + doman solarus.6 + use doc && dodoc -r doc/${PV%.*}/html/* +} diff --git a/games-engines/solarus/solarus-1.3.1.ebuild b/games-engines/solarus/solarus-1.3.1.ebuild new file mode 100644 index 000000000000..7bb433c00421 --- /dev/null +++ b/games-engines/solarus/solarus-1.3.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils games + +DESCRIPTION="An open-source Zelda-like 2D game engine" +HOMEPAGE="http://www.solarus-games.org/" +SRC_URI="http://www.zelda-solarus.com/downloads/${PN}/${P}-src.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc luajit" + +RDEPEND=" + dev-games/physfs + media-libs/libmodplug + >=media-libs/libsdl2-2.0.1[X,joystick,video] + media-libs/libvorbis + media-libs/openal + media-libs/sdl2-image[png] + >=media-libs/sdl2-ttf-2.0.12 + luajit? ( dev-lang/luajit:2 ) + !luajit? ( dev-lang/lua:0 )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_prepare() { + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DSOLARUS_INSTALL_DESTINATION="${GAMES_BINDIR}" + $(cmake-utils_use luajit SOLARUS_USE_LUAJIT) + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc ; then + cd doc || die + doxygen || die + fi +} + +src_install() { + cmake-utils_src_install + doman solarus.6 + use doc && dohtml -r doc/${PV%.*}/html/* + prepgamesdirs +} |