diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-07 00:00:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-07 00:00:56 +0100 |
commit | 7bcfea9c5e79a425a62a66bba477b9d3c0d7fdd0 (patch) | |
tree | 02bad8e4f1f060d4858a1a2ec3fc9404f0b7a197 /games-strategy | |
parent | 43c2a85d4e20318dd3d35872e348707900870067 (diff) |
gentoo auto-resync : 07:05:2024 - 00:00:56
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/Manifest.gz | bin | 8087 -> 8088 bytes | |||
-rw-r--r-- | games-strategy/endless-sky/Manifest | 2 | ||||
-rw-r--r-- | games-strategy/endless-sky/endless-sky-0.10.6.ebuild | 87 | ||||
-rw-r--r-- | games-strategy/freeorion/Manifest | 5 | ||||
-rw-r--r-- | games-strategy/freeorion/freeorion-0.4.10.2-r1.ebuild | 121 | ||||
-rw-r--r-- | games-strategy/freeorion/freeorion-0.5.0.1.ebuild (renamed from games-strategy/freeorion/freeorion-9999.ebuild) | 44 |
6 files changed, 111 insertions, 148 deletions
diff --git a/games-strategy/Manifest.gz b/games-strategy/Manifest.gz Binary files differindex 58d5b69db074..e42ae11880af 100644 --- a/games-strategy/Manifest.gz +++ b/games-strategy/Manifest.gz diff --git a/games-strategy/endless-sky/Manifest b/games-strategy/endless-sky/Manifest index c3aa4201da08..70e93775b331 100644 --- a/games-strategy/endless-sky/Manifest +++ b/games-strategy/endless-sky/Manifest @@ -3,6 +3,8 @@ AUX endless-sky-0.9.14-no-games-path.patch 1919 BLAKE2B 7650a1e3a355a0e9a591f191 AUX endless-sky-0.9.16.1-gcc13.patch 1318 BLAKE2B 31a147234d4f071e566603fa3c29d43b421ebd762c8170a243e051f69a002ed86d2c81d581789bdbba516e7954edbb3745d1e21acbc8f0b8490e9d3a8643b27e SHA512 be5a394a939456e1a82aec5146248e9ce4ae532e9df94765f9f83222ea1235b2d27d39247605d0969ea2414e0f55fb2011dd737859fcf6c7bb2c3a16f3729c4b AUX endless-sky-0.9.16.1-respect-cflags.patch 389 BLAKE2B 1dc481b771fc9ab5af455c623aae6941d3b81b7b74ad031e7702dfc6a3832713ea040130a81ddee1c1e129758d85a0e25eff74bca4fba66b7cd940a9373bccf9 SHA512 a309b981791ea81538d8ee47aef4b590cf01af024280e73f883ce8145621a533daa404b87c04f7545bc8922be9dec77c8c4c0142dc2b3e490cd5e252d0087cf0 AUX endless-sky-0.9.16.1-test-libs.patch 448 BLAKE2B 41c7617f7087140cee0540e432540098f47d6c2037b02da2a594899b8140db32c40676611a081f56767f48707daf9e5eaebf48eb81ec0ee03d57cb2afa1d0d1c SHA512 fe4a698de27a48439e7a205ce36b0eed29e8f5264422717c412be5726dedf236ac20668a20e850d2cb14782b5a1351d20582dc065b502bef978ab89416658ae0 +DIST endless-sky-0.10.6.tar.gz 256438340 BLAKE2B 39699f458b691dd8aa0586ebbb5b537b8b999ea0084abc561803e21e97986dd6ef28582545fc79cc5cd3ef5d4c587b96860fd7b94294acf2fee31224543ac4ff SHA512 815f64db07997cc8732b12887f55d363f0ef7e44a158dc83fc0b6c4c12c69dab3bf7e1b14c7e93fe920974d8c28b8043f39808227219f09adfe618a00389a530 DIST endless-sky-0.9.16.1.tar.gz 184582283 BLAKE2B 3c35df96b54546811713b123bf43993df6ba5271988decd7408722263c2edd904c84888db61c2d22554b3f60edebd25db7913e7784f309ff936d37c815bc6650 SHA512 83e0a47160506b1e3608f67534e2dbcf51515d809016efc379448d14331229ffe26360f82cc60c565c84b10c605aec846efc19bcd4af10ee116e5ef8fc804d56 +EBUILD endless-sky-0.10.6.ebuild 2077 BLAKE2B fda16b09d2f8bb729b2bf6ee4cbe332cf9ad5478e35b2c8c3925dc9614ccf13ad179df42d0dda1281996e139cd8ef66fadcc8ebd0a511c3c67a301948c2df97b SHA512 429c3d421ce9432e73dc9d6015a1bde8ef28d2053ec5e466ba439aa05f113437e0adbc57359ef31e000cd60eb2459f8facc60a8547fe3dc85a672752c64c446a EBUILD endless-sky-0.9.16.1.ebuild 1762 BLAKE2B ba2bf3543486736cd070abbb4b7a7369f3f079eba63ebc0220e0a9bc72d7e8cad0514d8c4ca19ebf0b5b2dad0b875464c40440c46af4e48de8e0549e8f0a3123 SHA512 199578d6d8e32c3006456a54987ed4e0cc7c6d97a26cf5ca0694273d62f4e5e1ea9c45d518eda253e6e059968d39d0bbbe4a982cf65d867c0aef8a3349ac5401 MISC metadata.xml 732 BLAKE2B 05e221e5b8bc45baf62a5361a1fa11affd5bfce04bb1ed4127251c151771df72c873e9c2deab4aa9b4800fa3314fa768c635e61bf941e3eb74241ee5f2a8aabf SHA512 2aefeccd986719aab4be77af1bf4458b36a873918c04905f9b432a591a44dfdd001faf29ab16ced565c069e846bfe5a96e2c12ffa1e4d62a7b202cf7fc356949 diff --git a/games-strategy/endless-sky/endless-sky-0.10.6.ebuild b/games-strategy/endless-sky/endless-sky-0.10.6.ebuild new file mode 100644 index 000000000000..d1f1437b24c2 --- /dev/null +++ b/games-strategy/endless-sky/endless-sky-0.10.6.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake prefix xdg + +DESCRIPTION="Space exploration, trading & combat in the tradition of Terminal Velocity" +HOMEPAGE="https://endless-sky.github.io/" +SRC_URI=" + https://github.com/endless-sky/endless-sky/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE=" + GPL-3+ + CC-BY-2.0 CC-BY-3.0 CC-BY-4.0 + CC-BY-SA-3.0 CC-BY-SA-4.0 + CC0-1.0 public-domain +" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gles2-only test" +RESTRICT="!test? ( test )" + +RDEPEND=" + media-libs/libglvnd + media-libs/libjpeg-turbo:= + media-libs/libmad + media-libs/libpng:= + media-libs/libsdl2[video] + media-libs/openal + sys-apps/util-linux + gles2-only? ( media-libs/libsdl2[gles2] ) + !gles2-only? ( + media-libs/glew:0= + media-libs/libsdl2[opengl] + ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + cmake_src_prepare + + # no /usr/*games/ on Gentoo, adjust docdir, install even if != Release, + # and GLEW is unused if USE=gles2-only (using sed for less rebasing) + sed -e '/install(/s: games: bin:' \ + -e '/install(/s: share/games: share:' \ + -e "/install(/s: share/doc/endless-sky: share/doc/${PF}:" \ + -e '/install(/s: CONFIGURATIONS Release::' \ + -e 's:GLEW REQUIRED:GLEW:' \ + -i CMakeLists.txt || die + sed -i '/PATH/s:share/games:share:' source/Files.cpp || die + + hprefixify -w /PATH/ source/Files.cpp +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + -DES_GLES=$(usex gles2-only) + -DES_USE_SYSTEM_LIBRARIES=yes + -DES_USE_VCPKG=no + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + gzip -d -- "${ED}"/usr/share/man/man6/${PN}.6.gz || die + rm -- "${ED}"/usr/share/doc/${PF}/{copyright,license.txt} || die +} + +pkg_postinst() { + xdg_pkg_postinst + + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "Endless Sky provides high-res sprites for high-dpi screens." + elog "If you want to use them, download:" + elog + elog " https://github.com/endless-sky/endless-sky-high-dpi/releases" + elog + elog "and extract it to ~/.local/share/endless-sky/plugins/" + fi +} diff --git a/games-strategy/freeorion/Manifest b/games-strategy/freeorion/Manifest index 9adcccaadb50..056197ad9ed3 100644 --- a/games-strategy/freeorion/Manifest +++ b/games-strategy/freeorion/Manifest @@ -1,7 +1,6 @@ AUX freeorion-0.5-ccache.patch 532 BLAKE2B 81decfa1898b2a3617d75a28ac27f337a9c70d6bbfa8c0b9bf32500804a42884d2c638e6969521041291eb47f006caed00703622d0a586b351da9a09e62ab56b SHA512 2fd42e72867a9dfd7e4d4daa5c7767c68a5fed70f9fe5333145fe0606f102ed89045d6e6d9c7e2976e7264545ff8c94d7f2ca20374520c752f721a0bacd9f4dc -DIST FreeOrion_v0.4.10.2_2021-08-01.f663dad_Source.tar.gz 124836633 BLAKE2B 42224b84a7aef99e998cb025b5095365a65670a3a0a543ef323f444f1904557713dc995de6f7ccaf9a45e34f62b4c65d4977caa0f6ac7605a9978268bdef0ba1 SHA512 a0f327f5fec82cf15495828f60b59b59834efaa041919fe9f68e4428e89b729503b7e666214ea39e5c9afdfbb9efd343c5cbcb8dfc982d6f56b3a06fd898f428 +DIST FreeOrion_v0.5.0.1_Source.tar.gz 152861158 BLAKE2B 6924d4916fcd3ac93e7498b5247957a6fb62b8523aa49114e9e11ef5e3b89374966551bc14192fa7928951728ce814fb86d89365beb97aa7c2bc84408bfcadd2 SHA512 dc267231329f0615f12887f22139d57a2611f378e17e8b0f26c00efdb77e73ef737ff875350f805d34a07ca4ce0595758e4f61168878477ebbd92d0149bcdc22 DIST FreeOrion_v0.5_Source.tar.gz 152861207 BLAKE2B 5263f9c2461db35b5283122889d0779f175af095e90eb782d21b6870193669b0307c2df95ebde78b3f762d2d0e1e1d8ec5f537bd44bf6810b9fbf76c58322172 SHA512 ec1247584d317ca0d0394d62754fd35b1d1212323e96e644c9efae422437daf63aac12c2798274993c9c29887fe73a51bfe11e9b53370dc261a0683efe312f19 -EBUILD freeorion-0.4.10.2-r1.ebuild 2895 BLAKE2B 849e43937132ee9608f0900320b5dcbf174cd75c38e88345065a16f19ca577e1861e1b71ebc011e5585f71daef2d05852d61a9c2242e9a0fe2fe8b0c6380fb0d SHA512 e2b6af475b1070b553450af6dd85059d2e69625c92d1ed1f4fc4125e0ec5deec9f322cf2e9e9704064f96a3d54c212c9e63b2c20a2f8ecd6d87f26d8d5a3de60 +EBUILD freeorion-0.5.0.1.ebuild 2780 BLAKE2B 1c87cd78d7c23c77532c15c3d6d490b21aeb5302617ce72e5854090413919eac2113b44f56a67a1ebd7f7877cd58897ad587a7048fdfcec9a832171ba483c4d5 SHA512 762b6a6d168e63dd59575c7c2f156c745bacf53f24ca4ebed013a7209b275ed76a4a3f58d91dbf1c463725d56397ab2f1155615b5c3f0ab2821710c8e43921c1 EBUILD freeorion-0.5.ebuild 2830 BLAKE2B e8d6e5aaff4bdd23f55b18d2d805c7c312d00320b34f1cac30830cbf01a924dd5685fddb79afbd91fcaec943cca2e0663dd167b409bb8c66a26f2d840538b3fe SHA512 9e9b14526affa169ec74cbcf63abe4e5c624f3ad27f9b2e0902d936c3f7392876e04cdfb3ae6c22ff65228ce4bdec465c86b3204e8ae773a539dded8b0d73dd2 -EBUILD freeorion-9999.ebuild 2830 BLAKE2B e8d6e5aaff4bdd23f55b18d2d805c7c312d00320b34f1cac30830cbf01a924dd5685fddb79afbd91fcaec943cca2e0663dd167b409bb8c66a26f2d840538b3fe SHA512 9e9b14526affa169ec74cbcf63abe4e5c624f3ad27f9b2e0902d936c3f7392876e04cdfb3ae6c22ff65228ce4bdec465c86b3204e8ae773a539dded8b0d73dd2 MISC metadata.xml 757 BLAKE2B 64e1e5a856369650c9d41b75f7af091c5fde43ab2992911cc81d5e4ba12d13fea5e4e82ae960e75208979aea38eeeb07d4bfebdb1eb45c035796ed854090cbe6 SHA512 5e631e52b5dbabbb6ce1cde6e416c4ed228dbf4a1ddda7899e5565c9abd5b7080894866aef375ff66cef3facd06faadcaea2ccefd8fb34d6bb461bfd32879d6e 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 -} diff --git a/games-strategy/freeorion/freeorion-9999.ebuild b/games-strategy/freeorion/freeorion-0.5.0.1.ebuild index 7bf2bf981654..29b1188c6e9f 100644 --- a/games-strategy/freeorion/freeorion-9999.ebuild +++ b/games-strategy/freeorion/freeorion-0.5.0.1.ebuild @@ -3,23 +3,17 @@ 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 - SRC_URI="https://github.com/freeorion/freeorion/releases/download/v${PV}/FreeOrion_v${PV}_Source.tar.gz" - S="${WORKDIR}/src-tarball" - KEYWORDS="~amd64" -fi +PYTHON_COMPAT=( python3_{10..12} ) +inherit check-reqs cmake flag-o-matic multiprocessing python-single-r1 xdg DESCRIPTION="Free turn-based space empire and galactic conquest game" HOMEPAGE="https://www.freeorion.org/" +SRC_URI="https://github.com/freeorion/freeorion/releases/download/v${PV}/FreeOrion_v${PV}_Source.tar.gz" +S=${WORKDIR}/src-tarball LICENSE="GPL-2+ CC-BY-SA-3.0 LGPL-2.1+" SLOT="0" +KEYWORDS="~amd64" IUSE="+client doc test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )" @@ -30,33 +24,30 @@ DEPEND=" sys-libs/zlib:= client? ( media-libs/freetype - media-libs/glew:= + media-libs/glew:0= media-libs/libglvnd media-libs/libogg media-libs/libpng:= media-libs/libsdl2[opengl,video] media-libs/libvorbis media-libs/openal - )" + ) +" RDEPEND=" ${DEPEND} client? ( 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}]') - )" - -PATCHES=( - "${FILESDIR}/freeorion-0.5-ccache.patch" -) + 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 @@ -78,12 +69,17 @@ src_prepare() { cmake_src_prepare sed -i 's/-O3//' CMakeLists.txt || die + + cmake_comment_add_subdirectory check #904124 } src_configure() { + filter-lto # -Werror=odr issues + local mycmakeargs=( + -DCCACHE_PROGRAM=no -DBUILD_CLIENT_GG=$(usex client) - -DBUILD_CLIENT_GODOT=no # TODO, perhaps with system godot (experimental) + -DBUILD_CLIENT_GODOT=no # TODO? perhaps with system godot (experimental) -DBUILD_TESTING=$(usex test) ) @@ -116,8 +112,8 @@ src_install() { 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 + rm -- "${ED}"/usr/share/${PN}/default/data/fonts/LICENSE.{Roboto,DejaVu} || die else - rm -r "${ED}"/usr/share/freeorion/default/data/fonts || die + rm -r -- "${ED}"/usr/share/freeorion/default/data/fonts || die fi } |