commit: e60696753454baef1f57aade2d3dd339a6ec6799 parent 85a856c5d85ee2e57794cccbb7cca41ec15538d9 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Sun, 27 Jun 2021 11:59:38 +0200 games-engines/solarus: Version bump, 1.6.5Diffstat:
M | games-engines/solarus/Manifest | 2 | +- |
D | games-engines/solarus/solarus-1.5.3.ebuild | 57 | --------------------------------------------------------- |
A | games-engines/solarus/solarus-1.6.5.ebuild | 66 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3 files changed, 67 insertions(+), 58 deletions(-)
diff --git a/games-engines/solarus/Manifest b/games-engines/solarus/Manifest @@ -1 +1 @@ -DIST solarus-1.5.3-src.tar.gz 2727433 BLAKE2B e99d6d926ec5e242683fbe00fadf78f80a17e63453afb74de81a7186508eec81a13420ad87f1774e12fe608a925c7c1d839ee47ce738b661498a4557ea78725a SHA512 d957508d08c4f58930e2cae3dde28d73564c1134de16cb94248b49dcb83f6cefd7f276ea00e3eae497a17a5d34059e5044327e0230c6b4f7234ced2a308a8454 +DIST solarus-v1.6.5.tar.gz 15010899 BLAKE2B 96a67c7210c70d23d3fa08e24ee2c4cfbeb6e95dce7236ab860695bf4fc57aaa5d54b02e25ad2f10dfc498cc836bf83753d99cbeca1ff7bf496f7d589accbbf5 SHA512 3fc7473f1b7dd80cbcb0a7a639701f8b12bd40ee918a7853805bd54f877e752b4c31c26828e62248ca4594b3aed41a8c61a16be3b14b293f08d9ba938a723e91 diff --git a/games-engines/solarus/solarus-1.5.3.ebuild b/games-engines/solarus/solarus-1.5.3.ebuild @@ -1,57 +0,0 @@ -# Copyright 1999-2018 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="https://www.solarus-games.org/" -SRC_URI="https://www.solarus-games.org/downloads/${PN}/${P}-src.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc luajit qt5" - -RDEPEND=" - dev-games/physfs - media-libs/libmodplug - media-libs/libsdl2[X,joystick,video] - media-libs/libvorbis - media-libs/openal - media-libs/sdl2-image[png] - media-libs/sdl2-ttf - media-libs/glm - luajit? ( dev-lang/luajit:2 ) - !luajit? ( dev-lang/lua:0 ) - qt5? ( dev-qt/qtgui:5 ) -" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" - -src_prepare() { - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DSOLARUS_USE_LUAJIT="$(usex luajit)" - -DSOLARUS_GUI="$(usex qt5)" - ) - 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.6.5.ebuild b/games-engines/solarus/solarus-1.6.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-1 luajit ) + +inherit cmake lua-single virtualx + +DESCRIPTION="An open-source Zelda-like 2D game engine" +HOMEPAGE="https://www.solarus-games.org/" +SRC_URI="https://gitlab.com/solarus-games/solarus/-/archive/v${PV}/solarus-v${PV}.tar.gz" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc qt5 test" +RESTRICT="!test? ( test )" + +RDEPEND=" + ${LUA_DEPS} + dev-games/physfs + media-libs/glm + media-libs/libmodplug + media-libs/libsdl2[X,joystick,video] + media-libs/libvorbis + media-libs/openal + media-libs/opengl + media-libs/sdl2-image[png] + media-libs/sdl2-ttf + qt5? ( dev-qt/qtgui:5 ) +" +DEPEND=" + ${RDEPEND} + doc? ( app-doc/doxygen ) +" + +src_prepare() { + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DSOLARUS_USE_LUAJIT="$(usex lua_single_target_luajit)" + -DSOLARUS_GUI="$(usex qt5)" + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + if use doc ; then + cd doc || die + doxygen || die + fi +} + +src_test() { + virtx cmake_src_test +} + +src_install() { + cmake_src_install + use doc && dodoc -r doc/${PV%.*}/html/* +}