diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-05-05 16:40:22 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-05-05 19:43:46 -0400 |
commit | 8338ad99feb3263b45d1ac7342126e3a06a5695b (patch) | |
tree | bf27a1979dde21235217a81c40e4b6a5a311f3df /games-strategy | |
parent | games-strategy/endless-sky: add 0.10.6 (diff) | |
download | gentoo-8338ad99feb3263b45d1ac7342126e3a06a5695b.tar.gz gentoo-8338ad99feb3263b45d1ac7342126e3a06a5695b.tar.bz2 gentoo-8338ad99feb3263b45d1ac7342126e3a06a5695b.zip |
games-strategy/freeorion: drop 0.4.10.2-r1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/freeorion/Manifest | 1 | ||||
-rw-r--r-- | games-strategy/freeorion/freeorion-0.4.10.2-r1.ebuild | 121 |
2 files changed, 0 insertions, 122 deletions
diff --git a/games-strategy/freeorion/Manifest b/games-strategy/freeorion/Manifest index c8383bc84536..b33c45109c5f 100644 --- a/games-strategy/freeorion/Manifest +++ b/games-strategy/freeorion/Manifest @@ -1,2 +1 @@ -DIST FreeOrion_v0.4.10.2_2021-08-01.f663dad_Source.tar.gz 124836633 BLAKE2B 42224b84a7aef99e998cb025b5095365a65670a3a0a543ef323f444f1904557713dc995de6f7ccaf9a45e34f62b4c65d4977caa0f6ac7605a9978268bdef0ba1 SHA512 a0f327f5fec82cf15495828f60b59b59834efaa041919fe9f68e4428e89b729503b7e666214ea39e5c9afdfbb9efd343c5cbcb8dfc982d6f56b3a06fd898f428 DIST FreeOrion_v0.5_Source.tar.gz 152861207 BLAKE2B 5263f9c2461db35b5283122889d0779f175af095e90eb782d21b6870193669b0307c2df95ebde78b3f762d2d0e1e1d8ec5f537bd44bf6810b9fbf76c58322172 SHA512 ec1247584d317ca0d0394d62754fd35b1d1212323e96e644c9efae422437daf63aac12c2798274993c9c29887fe73a51bfe11e9b53370dc261a0683efe312f19 diff --git a/games-strategy/freeorion/freeorion-0.4.10.2-r1.ebuild b/games-strategy/freeorion/freeorion-0.4.10.2-r1.ebuild deleted file mode 100644 index 0d5f61e91177..000000000000 --- a/games-strategy/freeorion/freeorion-0.4.10.2-r1.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -inherit check-reqs cmake multiprocessing python-single-r1 xdg - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/freeorion/freeorion.git" -else - FREEORION_BUILD_ID="2021-08-01.f663dad" - SRC_URI="https://github.com/freeorion/freeorion/releases/download/v${PV}/FreeOrion_v${PV}_${FREEORION_BUILD_ID}_Source.tar.gz" - S="${WORKDIR}/src-tarball" - KEYWORDS="~amd64" -fi - -DESCRIPTION="Free turn-based space empire and galactic conquest game" -HOMEPAGE="https://www.freeorion.org/" - -LICENSE="GPL-2+ CC-BY-SA-3.0 LGPL-2.1+" -SLOT="0" -IUSE="dedicated doc test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -DEPEND=" - ${PYTHON_DEPS} - $(python_gen_cond_dep 'dev-libs/boost:=[${PYTHON_USEDEP},nls,python]') - sys-libs/zlib:= - !dedicated? ( - media-libs/freetype - media-libs/glew:= - media-libs/libglvnd[X] - media-libs/libogg - media-libs/libpng:= - media-libs/libsdl2[opengl,video] - media-libs/libvorbis - media-libs/openal - )" -RDEPEND=" - ${DEPEND} - !dedicated? ( - media-fonts/dejavu - media-fonts/roboto - )" -BDEPEND=" - ${PYTHON_DEPS} - doc? ( - app-text/doxygen - media-gfx/graphviz - ) - test? ( - $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') - )" - -freeorion_check-reqs() { - # cc1plus processes may suddenly use ~1.5GB all at once early on (2+GB - # if debug symbols) then far less for the rest, check minimal jobs*1.5 - local CHECKREQS_MEMORY=$(($(makeopts_jobs)*1500))M - check-reqs_${EBUILD_PHASE_FUNC} -} - -pkg_pretend() { - freeorion_check-reqs -} - -pkg_setup() { - freeorion_check-reqs - python-single-r1_pkg_setup -} - -src_prepare() { - cmake_src_prepare - - sed -i 's/-O3//' CMakeLists.txt || die -} - -src_configure() { - local mycmakeargs=( - -DBUILD_HEADLESS=$(usex dedicated) - -DBUILD_TESTING=$(usex test) - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile all $(usev doc) -} - -src_test() { - # freeoriond randomly(?) segfaults on exit, cause unknown but - # seems fixed by some refactoring in -9999 (excluding for now) - cmake_src_test -E 'SmokeTest(Game|Hostless)' - - local EPYTEST_DESELECT=( - # broken with 3.11 but is not known to cause issues, just skip for now - default/python/tests/AI/test_savegame_manager.py::test_setstate_call - ) - - epytest -o cache_dir="${T}"/pytest_cache default/python/tests -} - -src_install() { - local DOCS=( ChangeLog.md README.md ) - cmake_src_install - - use doc && dodoc -r "${BUILD_DIR}"/doc/cpp-apidoc/html - - if use dedicated; then - rm -r "${ED}"/usr/share/freeorion/default/data/fonts || die - else - local font - for font in roboto/Roboto-{Bold,Regular}.ttf dejavu/DejaVuSans{-Bold,}.ttf; do - dosym -r /usr/share/{fonts/${font%/*},${PN}/default/data/fonts}/${font##*/} - done - rm "${ED}"/usr/share/${PN}/default/data/fonts/LICENSE.{Roboto,DejaVu} || die - fi -} |