Сравнение solarus-1.6.5 с solarus-2.0.3-r1
| /usr/portage/games-engines/solarus/solarus-2.0.3-r1.ebuild 2026-03-28 11:46:07.766147050 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 7 | 7 | |
| 8 | 8 |
inherit cmake lua-single optfeature virtualx |
| 9 | 9 | |
| 10 |
DESCRIPTION="An open-source Zelda-like 2D game engine" |
|
| 10 |
DESCRIPTION="Open-source Zelda-like 2D game engine" |
|
| 11 | 11 |
HOMEPAGE="https://www.solarus-games.org/" |
| 12 | 12 | |
| 13 | 13 |
if [[ ${PV} == 9999 ]]; then
|
| ... | ... | |
| 15 | 15 |
EGIT_BRANCH="dev" |
| 16 | 16 |
inherit git-r3 |
| 17 | 17 |
else |
| 18 |
SRC_URI="https://gitlab.com/solarus-games/solarus/-/archive/v${PV}/solarus-v${PV}.tar.gz"
|
|
| 18 |
SRC_URI="https://gitlab.com/solarus-games/solarus/-/archive/v${PV}/solarus-v${PV}.tar.bz2"
|
|
| 19 |
S="${WORKDIR}/solarus-v${PV}"
|
|
| 19 | 20 |
KEYWORDS="~amd64 ~x86" |
| 20 | 21 |
fi |
| 21 | 22 | |
| ... | ... | |
| 28 | 29 |
RDEPEND=" |
| 29 | 30 |
${LUA_DEPS}
|
| 30 | 31 |
dev-games/physfs |
| 31 |
dev-qt/qtcore:5 |
|
| 32 |
dev-qt/qtgui:5 |
|
| 33 |
dev-qt/qtwidgets:5 |
|
| 32 |
dev-qt/qtbase[gui,widgets] |
|
| 34 | 33 |
media-libs/libmodplug |
| 35 | 34 |
>=media-libs/libsdl2-2.0.1[X,joystick,video] |
| 36 | 35 |
media-libs/libvorbis |
| ... | ... | |
| 38 | 37 |
media-libs/sdl2-image[png] |
| 39 | 38 |
>=media-libs/sdl2-ttf-2.0.12 |
| 40 | 39 |
" |
| 41 | ||
| 42 |
DEPEND=" |
|
| 43 |
${RDEPEND}
|
|
| 40 |
DEPEND="${RDEPEND}
|
|
| 41 |
media-libs/glm |
|
| 44 | 42 |
" |
| 45 | ||
| 46 | 43 |
BDEPEND=" |
| 47 | 44 |
doc? ( app-text/doxygen ) |
| 48 | 45 |
" |
| 49 | 46 | |
| 50 |
if ! [[ ${PV} == 9999 ]]; then
|
|
| 51 |
S="${WORKDIR}/solarus-v${PV}"
|
|
| 52 |
fi |
|
| 53 | ||
| 54 | 47 |
src_configure() {
|
| 55 | 48 |
local mycmakeargs=( -DSOLARUS_USE_LUAJIT="$(usex lua_single_target_luajit)" ) |
| 56 | 49 |
cmake_src_configure |
| ... | ... | |
| 75 | 68 |
} |
| 76 | 69 | |
| 77 | 70 |
pkg_postinst() {
|
| 78 |
optfeature "the Solarus Quest Editor" games-misc/solarus-quest-editor |
|
| 71 |
optfeature "the Solarus Quest Editor" games-misc/solarus-quest-editor |
|
| 79 | 72 |
} |