mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
games-strategy/widelands: add 1.3
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
39c9a41537
commit
87a661353e
@ -1 +1,2 @@
|
|||||||
DIST widelands-1.2.1.tar.gz 457853247 BLAKE2B 8af9febc4379f52f2343bff244e7ec3c42e63792e2a93f61446df81a101201d1471d20c8c1b73d6267f5066d3861bfc802227b2abd4b0fc172b447d0b598ddfd SHA512 9a7449096dab8ff07ac12354f4fb659fcbe419381d289e869c134c5b804c8817f9fbffb854283ab0b5bca541e9649f7f0e7658fd2765bc2a8a8f705dc24f01d8
|
DIST widelands-1.2.1.tar.gz 457853247 BLAKE2B 8af9febc4379f52f2343bff244e7ec3c42e63792e2a93f61446df81a101201d1471d20c8c1b73d6267f5066d3861bfc802227b2abd4b0fc172b447d0b598ddfd SHA512 9a7449096dab8ff07ac12354f4fb659fcbe419381d289e869c134c5b804c8817f9fbffb854283ab0b5bca541e9649f7f0e7658fd2765bc2a8a8f705dc24f01d8
|
||||||
|
DIST widelands-1.3.tar.gz 468148267 BLAKE2B 2b8e2e725ff1dc9e355490ca6909f71683669883400c318e82ef2d464463f8810217bdf47cb047dda05c8f970fd04569e48304aba9afe8a203bdd45a01edcf16 SHA512 f782ff33187574a98f6045bb71cc547126f4acd8e83795ea2c8e9962bef6ed723588e2741d35c11e4682d8d7eaecf5855b03c8bbbc91a4be5c3845140eb0cb66
|
||||||
|
|||||||
59
games-strategy/widelands/widelands-1.3.ebuild
Normal file
59
games-strategy/widelands/widelands-1.3.ebuild
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{11..14} )
|
||||||
|
inherit cmake python-any-r1 xdg
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/widelands/widelands.git"
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/widelands/widelands/archive/refs/tags/v${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Game similar to Settlers 2"
|
||||||
|
HOMEPAGE="https://www.widelands.org/"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ || ( Apache-2.0 GPL-3 ) BitstreamVera BSD CC-BY-SA-3.0 MIT OFL-1.1"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/icu:=
|
||||||
|
media-libs/glew:0=
|
||||||
|
media-libs/libglvnd
|
||||||
|
media-libs/libpng:=
|
||||||
|
media-libs/libsdl2[opengl,sound,video]
|
||||||
|
media-libs/sdl2-image[jpeg,png]
|
||||||
|
media-libs/sdl2-mixer[vorbis]
|
||||||
|
media-libs/sdl2-ttf
|
||||||
|
virtual/libintl
|
||||||
|
virtual/minizip:=
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
dev-cpp/asio
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DCCACHE_PROGRAM=no
|
||||||
|
-DGTK_UPDATE_ICON_CACHE=no
|
||||||
|
-DOPTION_BUILD_TESTS=$(usex test)
|
||||||
|
-DWL_INSTALL_BASEDIR="${EPREFIX}"/usr/share/doc/${PF}
|
||||||
|
-DWL_INSTALL_BINDIR="${EPREFIX}"/usr/bin
|
||||||
|
-DWL_INSTALL_DATADIR="${EPREFIX}"/usr/share/${PN}
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user