Merge updates from master

This commit is contained in:
Repository mirror & CI
2026-03-12 06:00:49 +00:00
8 changed files with 106 additions and 47 deletions
-1
View File
@@ -7,7 +7,6 @@
</maintainer>
<use>
<flag name="doc">Install doxygen developer documentation.</flag>
<flag name="editor">Install the Solarus Quest Editor.</flag>
</use>
<upstream>
<remote-id type="gitlab">solarus-games/solarus</remote-id>
@@ -5,7 +5,7 @@ EAPI=8
LUA_COMPAT=( lua5-1 luajit )
inherit cmake lua-single virtualx
inherit cmake lua-single optfeature virtualx
DESCRIPTION="An open-source Zelda-like 2D game engine"
HOMEPAGE="https://www.solarus-games.org/"
@@ -21,7 +21,7 @@ fi
LICENSE="GPL-3+"
SLOT="0"
IUSE="doc +editor"
IUSE="doc"
REQUIRED_USE="${LUA_REQUIRED_USE}"
@@ -35,7 +35,6 @@ RDEPEND="
media-libs/openal
media-libs/sdl2-image[png]
>=media-libs/sdl2-ttf-2.0.12
editor? ( >=dev-qt/qlementine-1.4.0 )
"
DEPEND="
@@ -50,10 +49,6 @@ if ! [[ ${PV} == 9999 ]]; then
S="${WORKDIR}/solarus-v${PV}"
fi
PATCHES=(
"${FILESDIR}/solarus-2.0.3-system-qlementine.patch"
)
src_configure() {
local mycmakeargs=( -DSOLARUS_USE_LUAJIT="$(usex lua_single_target_luajit)" )
cmake_src_configure
@@ -64,13 +59,6 @@ src_compile() {
if use doc ; then
cd doc && doxygen || die
fi
if use editor ; then
mycmakeargs+=(
-DSOLARUS_USE_SYSTEM_QLEMENTINE=ON
-DSOLARUS_USE_LOCAL_QLEMENTINE=OFF
)
cd editor && cmake_src_compile
fi
}
src_test() {
@@ -82,5 +70,8 @@ src_test() {
src_install() {
cmake_src_install
use doc && dodoc -r doc/${PV%.*}/html/*
use editor && cmake_src_install
}
pkg_postinst() {
optfeature "the Solarus Quest Editor" games-misc/solarus-quest-editor
}
+6 -11
View File
@@ -5,7 +5,7 @@ EAPI=8
LUA_COMPAT=( lua5-1 luajit )
inherit cmake lua-single virtualx
inherit cmake lua-single optfeature virtualx
DESCRIPTION="An open-source Zelda-like 2D game engine"
HOMEPAGE="https://www.solarus-games.org/"
@@ -21,7 +21,7 @@ fi
LICENSE="GPL-3+"
SLOT="0"
IUSE="doc +editor"
IUSE="doc"
REQUIRED_USE="${LUA_REQUIRED_USE}"
@@ -35,7 +35,6 @@ RDEPEND="
media-libs/openal
media-libs/sdl2-image[png]
>=media-libs/sdl2-ttf-2.0.12
editor? ( >=dev-qt/qlementine-1.4.0 )
"
DEPEND="
@@ -60,13 +59,6 @@ src_compile() {
if use doc ; then
cd doc && doxygen || die
fi
if use editor ; then
mycmakeargs+=(
-DSOLARUS_USE_SYSTEM_QLEMENTINE=ON
-DSOLARUS_USE_LOCAL_QLEMENTINE=OFF
)
cd editor && cmake_src_compile
fi
}
src_test() {
@@ -78,5 +70,8 @@ src_test() {
src_install() {
cmake_src_install
use doc && dodoc -r doc/${PV%.*}/html/*
use editor && cmake_src_install
}
pkg_postinst() {
optfeature "the Solarus Quest Editor" games-misc/solarus-quest-editor
}
+1
View File
@@ -1 +1,2 @@
DIST solarus-quest-editor-v1.6.5.tar.gz 58066380 BLAKE2B faf6d5a0512e7a3d462326461d400d272534fd7b671318b4fefdf4f4eac05860228542b6e0738cdb2c6a4faf43e5de404f5815ac44ad877340caf015e0673749 SHA512 1c38ce284ebc87289e137fa9703a9fa093b38bc74bc1f89b3e1e53caacac57ffa35e598e8705171c3e5204342d58eacacf28550b4b8834c5ba7a8b5eec052393
DIST solarus-v2.0.3.tar.bz2 70803222 BLAKE2B 9181d117989ba0cbe55b3247bc15ca5c4697a3e1f347fe10df9e233957eec2c076aef1d695e5fd1e8bea53c0711bf3f84099b88ce93226ecc430b06efb295662 SHA512 e761c37fd1cf668f73158f2676e101d2182c6dbd0009d119bd2d453d917bcb8d6255c8054219585a3b8393e3721eaeab997aa832d3aaa3a65e47c394aee486cc
@@ -0,0 +1,68 @@
# Copyright 1999-2026 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="Quest editor for Solarus game engine"
HOMEPAGE="https://www.solarus-games.org/"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://gitlab.com/solarus-games/solarus.git"
EGIT_BRANCH="dev"
inherit git-r3
else
SRC_URI="https://gitlab.com/solarus-games/solarus/-/archive/v${PV}/solarus-v${PV}.tar.bz2"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3+"
SLOT="0"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RDEPEND="
${LUA_DEPS}
dev-games/physfs
dev-qt/qtbase[gui,widgets]
media-libs/libmodplug
>=media-libs/libsdl2-2.0.1[X,joystick,video]
media-libs/libvorbis
media-libs/openal
media-libs/sdl2-image[png]
>=dev-qt/qlementine-1.4.0
~games-engines/solarus-${PV}
"
DEPEND="
${RDEPEND}
"
if ! [[ ${PV} == 9999 ]]; then
S="${WORKDIR}/solarus-v${PV}"
fi
PATCHES=(
"${FILESDIR}/solarus-2.0.3-system-qlementine.patch"
)
CMAKE_USE_DIR=${S}/editor
src_configure() {
local mycmakeargs=(
-DSOLARUS_USE_SYSTEM_QLEMENTINE=ON
-DSOLARUS_USE_LOCAL_QLEMENTINE=OFF
)
cmake_src_configure
}
src_compile() {
cmake_src_compile
}
src_install() {
cmake_src_install
}
@@ -1,4 +1,4 @@
# Copyright 2022 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,17 +7,16 @@ LUA_COMPAT=( lua5-1 luajit )
inherit cmake lua-single
DESCRIPTION="A graphical user interface to create and modify quests for the Solarus engine"
HOMEPAGE="https://www.solarus-games.org"
DESCRIPTION="Quest editor for Solarus game engine"
HOMEPAGE="https://www.solarus-games.org/"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://gitlab.com/solarus-games/solarus-quest-editor.git"
EGIT_REPO_URI="https://gitlab.com/solarus-games/solarus.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"
SRC_URI="https://gitlab.com/solarus-games/solarus/-/archive/v${PV}/solarus-v${PV}.tar.bz2"
KEYWORDS="~amd64"
S="${WORKDIR}/solarus-quest-editor-v${PV}"
fi
LICENSE="GPL-3+"
@@ -25,31 +24,41 @@ 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
dev-qt/qtbase[gui,widgets]
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
>=dev-qt/qlementine-1.4.0
~games-engines/solarus-${PV}
"
DEPEND="
${RDEPEND}
~games-engines/solarus-${PV}
"
PATCHES=(
"${FILESDIR}/${P}-fix-segfault.patch"
)
if ! [[ ${PV} == 9999 ]]; then
S="${WORKDIR}/solarus-v${PV}"
fi
CMAKE_USE_DIR=${S}/editor
src_configure() {
local mycmakeargs=( -DSOLARUS_USE_LUAJIT="$(usex lua_single_target_luajit)" )
local mycmakeargs=(
-DSOLARUS_USE_SYSTEM_QLEMENTINE=ON
-DSOLARUS_USE_LOCAL_QLEMENTINE=OFF
)
cmake_src_configure
}
src_compile() {
cmake_src_compile
}
src_install() {
cmake_src_install
}
-4
View File
@@ -1,10 +1,6 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Matt Jolly <kangie@gentoo.org> (2026-03-12)
# Dependency is not keyworded for x86
games-engines/solarus editor
# Mike Gilbert <floppym@gentoo.org> (2025-12-15)
# arch-specific platform values
sys-boot/grub -grub_platforms_pc