diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-13 01:41:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-13 01:41:21 +0100 |
commit | b89a664f266dab3b9b5ddac2cb874f8869142370 (patch) | |
tree | 21d127b0b99c1505ba548bc05975b9fcecda871e /games-misc/solarus-quest-editor/solarus-quest-editor-1.6.5.ebuild | |
parent | 7e662ec84fc13cef513542e4030f47017d030187 (diff) |
gentoo auto-resync : 13:10:2022 - 01:41:21
Diffstat (limited to 'games-misc/solarus-quest-editor/solarus-quest-editor-1.6.5.ebuild')
-rw-r--r-- | games-misc/solarus-quest-editor/solarus-quest-editor-1.6.5.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/games-misc/solarus-quest-editor/solarus-quest-editor-1.6.5.ebuild b/games-misc/solarus-quest-editor/solarus-quest-editor-1.6.5.ebuild new file mode 100644 index 000000000000..8a1fcd50dab2 --- /dev/null +++ b/games-misc/solarus-quest-editor/solarus-quest-editor-1.6.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-1 luajit ) + +inherit cmake lua-single + +DESCRIPTION="This is the package for people who want to create Solarus quests. It expands the player's package with game-making tools." +HOMEPAGE="https://www.solarus-games.org" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.com/solarus-games/solarus-quest-editor.git" + EGIT_BRANCH="dev" + inherit git-r3 +else + SRC_URI="https://gitlab.com/solarus-games/solarus-quest-editor/-/archive/v${PV}/solarus-quest-editor-v${PV}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/solarus-quest-editor-v${PV}" +fi + +LICENSE="GPL-3+" +SLOT="0" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +# Upstream (and their CMake) claim that all of these are required deps +RDEPEND=" + ${LUA_DEPS} + dev-games/physfs + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + 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 +" + +DEPEND=" + ${RDEPEND} + ~games-engines/solarus-${PV} +" + +PATCHES=( + "${FILESDIR}/${P}-fix-segfault.patch" +) + +src_configure() { + local mycmakeargs=( -DSOLARUS_USE_LUAJIT="$(usex lua_single_target_luajit)" ) + cmake_src_configure +} |