diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-11 14:19:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-11 14:19:56 +0100 |
commit | 34d4f34516ab568ad4ea24fc16ee0ad9ec8ad079 (patch) | |
tree | 3339f6fc30715c2fbe1d20281f6ddc53eda3f9b4 /games-strategy | |
parent | 32eff0cac517b699efc32b86520bac482961a57f (diff) |
gentoo auto-resync : 11:08:2022 - 14:19:56
Diffstat (limited to 'games-strategy')
20 files changed, 1 insertions, 990 deletions
diff --git a/games-strategy/0ad/0ad-0.0.25b_alpha.ebuild b/games-strategy/0ad/0ad-0.0.25b_alpha.ebuild deleted file mode 100644 index d7b282a68f35..000000000000 --- a/games-strategy/0ad/0ad-0.0.25b_alpha.ebuild +++ /dev/null @@ -1,262 +0,0 @@ -# Copyright 2014-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -WX_GTK_VER="3.0-gtk3" -PYTHON_COMPAT=( python3_{7..9} ) -inherit desktop toolchain-funcs multiprocessing python-any-r1 wxwidgets xdg - -DESCRIPTION="A free, real-time strategy game" -HOMEPAGE="https://play0ad.com/" -LICENSE="BitstreamVera CC-BY-SA-3.0 GPL-2 LGPL-2.1 LPPL-1.3c MIT ZLIB" -# Upstream signs releases (and only them) with app-crypt/minisign. -# The (public) key can be found on https://play0ad.com/download/source. -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/0ad/0ad" - S="${WORKDIR}/${P}" -elif [[ ${PV} == *_pre* ]]; then - ZEROAD_GIT_REVISION="c7d07d3979f969b969211a5e5748fa775f6768a7" - SRC_URI="https://github.com/0ad/0ad/archive/${ZEROAD_GIT_REVISION}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${ZEROAD_GIT_REVISION}" -else - # Trailing whitespace for IUSE append below - IUSE="verify-sig " - MINISIGN_KEY="RWT0hFWv57I2RFoJwLVjxEr44JOq/RkEx1oT0IA3PPPICnSF7HFKW1CT" - MY_P="0ad-${PV/_/-}" - SRC_URI=" - http://releases.wildfiregames.com/${MY_P}-unix-build.tar.xz - https://releases.wildfiregames.com/${MY_P}-unix-data.tar.xz - verify-sig? ( - http://releases.wildfiregames.com/${MY_P}-unix-build.tar.xz.minisig - http://releases.wildfiregames.com/${MY_P}-unix-data.tar.xz.minisig - ) - " - S="${WORKDIR}/${MY_P}" -fi -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE+="editor +lobby nvtt pch test" - -RESTRICT="test" -CHECKREQS_DISK_BUILD="9000M" # 8769732 KiB (8.3 GiB) for alpha 25 -CHECKREQS_DISK_USR="3500M" # 3545972 KiB (3.3 GiB) - -# Premake adds '-s' to some LDFLAGS. Simply sed'ing it out leads to -# build and/or startup issues. -QA_PRESTRIPPED="/usr/lib64/0ad/libCollada.so /usr/bin/0ad" - -# virtual/rust is for bundled SpiderMonkey. -# Build-time Python dependency is for SM, too. -BDEPEND=" - ${PYTHON_DEPS} - >=dev-util/premake-5.0.0_alpha12:5 - virtual/pkgconfig - virtual/rust - test? ( dev-lang/perl ) -" -# Upstream uses minisign which is not supported by verify-sign, bug #783066. -# Signatures are only provided for releases. -if [[ ( ${PV} != *9999 ) && ( ${PV} != *_p* ) ]]; then - BDEPEND+=" app-crypt/minisign" -fi - -# Removed dependency on nvtt as we use the bundled one. -# bug #768930 -DEPEND=" - dev-libs/boost:= - dev-libs/icu:= - dev-libs/libfmt:0= - dev-libs/libsodium - dev-libs/libxml2 - media-libs/libpng:0 - media-libs/libsdl2[X,opengl,video] - media-libs/libvorbis - media-libs/openal - net-libs/enet:1.3 - net-libs/miniupnpc:= - net-misc/curl - sys-libs/zlib - virtual/opengl - x11-libs/libX11 - editor? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] ) - lobby? ( net-libs/gloox ) -" -RDEPEND=" - ${DEPEND} - !games-strategy/0ad-data -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.0.24b_alpha-respect-tc.patch - "${FILESDIR}"/${PN}-0.0.25b_alpha-fix-setuptools.patch -) - -pkg_setup() { - use editor && setup-wxwidgets - - python-any-r1_pkg_setup -} - -src_unpack() { - if [[ ( ${PV} != *9999 ) && ( ${PV} != *_p* ) ]]; then - if use verify-sig; then - elog "Verifying both signatures using app-crypt/minisign." - minisign -V \ - -P "${MINISIGN_KEY}" \ - -x "${DISTDIR}/${MY_P}-unix-build.tar.xz.minisig" \ - -m "${DISTDIR}/${MY_P}-unix-build.tar.xz" \ - || die "Failed to verify engine distfile using minisign!" - minisign -V \ - -P "${MINISIGN_KEY}" \ - -x "${DISTDIR}/${MY_P}-unix-data.tar.xz.minisig" \ - -m "${DISTDIR}/${MY_P}-unix-data.tar.xz" \ - || die "Failed to verify data distfile using minisign!" - fi - # Unpack manually until an eclass supports minisign and unpacks - # if signatures match. - default - else - # Unpack distfiles without checking as this is no official release. - default - fi -} - -src_prepare() { - default - - # SpiderMonkey's configure no longer recognises --build for - # the build tuple - sed -i -e "/--build/d" libraries/source/spidermonkey/build.sh || die - - # Originally from 0ad-data - rm binaries/data/tools/fontbuilder/fonts/*.txt || die -} - -src_configure() { - # 0AD uses premake:5 to generate the Makefiles, so let's - # 1. configure the configure args, - # 2. export some toolchain args, - # 3. configure premake args, - # 4. run premake5. - local myconf=( - --minimal-flags - $(usex nvtt "" "--without-nvtt") - $(usex pch "" "--without-pch") - $(usex test "" "--without-tests") - $(usex editor "--atlas" "") - $(usex lobby "" "--without-lobby") - --bindir="/usr/bin" - --libdir="/usr/$(get_libdir)"/${PN} - --datadir="/usr/share/${PN}" - ) - - tc-export AR CC CXX RANLIB - - local mypremakeargs=( - --outpath="../workspace/gcc" - --os=linux - --verbose - ) - - cd "${S}/build/premake" || die "Could not enter premake directory" - - /usr/bin/premake5 "${mypremakeargs[@]}" "${myconf[@]}" gmake2 \ - || die "Premake failed" -} - -src_compile() { - # Build 3rd party fcollada - einfo "Building bundled fcollada" - emake -C libraries/source/fcollada/src - - # Build bundled NVTT - # nvtt is abandoned upstream and 0ad has forked it and added fixes. - # Use their copy. bug #768930 - if use nvtt ; then - cd libraries/source/nvtt || die - elog "Building bundled NVTT (bug #768930)" - JOBS="-j$(makeopts_jobs)" ./build.sh || die "Failed to build bundled NVTT" - cd "${S}" || die - fi - - # Build bundled SpiderMonkey - # We really can't use the system SpiderMonkey right now. - # Breakages occur even on minor bumps in upstream SM, - # e.g. bug #768840. - cd libraries/source/spidermonkey || die - elog "Building bundled SpiderMonkey (bug #768840)" - XARGS="${EPREFIX}/usr/bin/xargs" \ - JOBS="-j$(makeopts_jobs)" \ - ./build.sh \ - || die "Failed to build bundled SpiderMonkey" - - cd "${S}" || die - - # Build 0ad itself! - elog "Building 0ad" - JOBS="-j$(makeopts_jobs)" emake -C build/workspace/gcc verbose=1 - - # Build assets - # (We only do this if we're using a snapshot/non-release) - # See bug #771147 (comment 3) and the old 0ad-data ebuild - # Warning: fragile! - if [[ ${PV} == 9999 || ${PV} == *_pre* ]]; then - # source/lib/sysdep/os/linux/ldbg.cpp:debug_SetThreadName() tries to open /proc/self/task/${TID}/comm for writing. - addpredict /proc/self/task - - # Based on source/tools/dist/build-archives.sh used by source/tools/dist/build.sh. - local archivebuild_input archivebuild_output mod_name - for archivebuild_input in binaries/data/mods/[A-Za-z0-9]*; do - mod_name="${archivebuild_input##*/}" - archivebuild_output="archives/${mod_name}" - - mkdir -p "${archivebuild_output}" || die - - einfo pyrogenesis -archivebuild="${archivebuild_input}" -archivebuild-output="${archivebuild_output}/${mod_name}.zip" - LD_LIBRARY_PATH="binaries/system" binaries/system/pyrogenesis \ - -archivebuild="${archivebuild_input}" \ - -archivebuild-output="${archivebuild_output}/${mod_name}.zip" \ - || die "Failed to build assets" - - if [[ -f "${archivebuild_input}/mod.json" ]]; then - cp "${archivebuild_input}/mod.json" "${archivebuild_output}" || die - fi - - rm -r "${archivebuild_input}" || die - mv "${archivebuild_output}" "${archivebuild_input}" || die - done - - # Based on source/tools/dist/build-unix-win32.sh used by source/tools/dist/build.sh. - rm binaries/data/config/dev.cfg || die - rm -r binaries/data/mods/_test.* || die - fi -} - -src_test() { - cd binaries/system || die - ./test -libdir "${S}/binaries/system" || die "Failed tests" -} - -src_install() { - newbin binaries/system/pyrogenesis 0ad - use editor && newbin binaries/system/ActorEditor 0ad-ActorEditor - - # Merged from 0ad-data - # bug #771147 (comment 3) - insinto /usr/share/${PN} - doins -r binaries/data/{l10n,config,mods,tools} - - # Install bundled SpiderMonkey and nvtt - # bug #771147 (comment 1) - exeinto /usr/$(get_libdir)/${PN} - doexe binaries/system/{libCollada,libmozjs78-ps-release}.so - - use nvtt && doexe binaries/system/{libnvtt,libnvcore,libnvimage,libnvmath}.so - use editor && doexe binaries/system/libAtlasUI.so - - dodoc binaries/system/readme.txt - doicon -s 128 build/resources/${PN}.png - make_desktop_entry ${PN} -} diff --git a/games-strategy/0ad/Manifest b/games-strategy/0ad/Manifest index c8da73fd7e3f..39de708357ff 100644 --- a/games-strategy/0ad/Manifest +++ b/games-strategy/0ad/Manifest @@ -7,5 +7,4 @@ DIST 0ad-0.0.25b-alpha-unix-build.tar.xz.minisig 327 BLAKE2B 547a7a1c8a83167fa40 DIST 0ad-0.0.25b-alpha-unix-data.tar.xz 1249684600 BLAKE2B d77546ba9d21b512f106645c07fa92ecc343e0a01d9a70a83f2a2b3ade912e72d095982f7d4c4cd64e18fb71a67a01c419763744dd4cad1e8c081e5f77ec17c9 SHA512 d6bbe484acb7fbd507d303f5c75f8a2ccbaf8fe9dd30ff408b082f170bfd96eb9235db1b710c15656ef465b44fa5597679a694515e0c153a35fe24c0915f29f1 DIST 0ad-0.0.25b-alpha-unix-data.tar.xz.minisig 326 BLAKE2B 41975d4c4369780bd36edef448ab928c91ece0d60ddad04fbccd1da0ed5068b56c86fd57708c6158277c5db9faadc768f5e455d97fe5ae3c30a7522005c374e6 SHA512 ad3ef78b785db9eb37d547a86d2bf274e0b6635118a9c512d013adc45e4a0f071b86f0fb5bf696631596e0713b2de153b0ad245cbba86beb3ea153036178b07e EBUILD 0ad-0.0.25b_alpha-r1.ebuild 7941 BLAKE2B 045929660f56562edfb71e24d33b9b9c5c44ee87868c73a778838a94577885fd03a983f9c6ead899353fac1ee1761a85e6e88b0b6443cb30b60d777080014d58 SHA512 63c0ce51960713200ee54203c62b245f648cdf5687657c87c087a7e6b53579e843a358ebc9443a1e781d55eaddd14271d035999bf3f8c16de89eae2a89b6922d -EBUILD 0ad-0.0.25b_alpha.ebuild 7822 BLAKE2B ccdbd4df870acb3cfb41e004156979fac8b0f73f3de307e529131884b1a7514e23a0ffe90e2ab42d2cb9c67fa0778d7400fd88e171cdd66d1efc0ce7227e108c SHA512 8ecbde1520772d00f224c7fc9e3846f23164b886a5e4cf95c70eb793dca633ed1b485cdfebe301f0bf6d31d3c93f3d43c798033b7b19e9f90f0a03383fac9f62 MISC metadata.xml 667 BLAKE2B 3460d1e769fd9bab7f44c1387b9ccb6acb8b6030e5e307311aca479a0857a3719c22352e3b496dff2569536675e449f98aeccc62999283d2ebd3b3feefe444ee SHA512 65134f211aa3509589f9d333c0b2ceb7cb2dcfe394d3eb84323f5cafb43d8ec6d65738a38552d3c955eab5e7fcb5b71da575df5a1e21e0cbd49dcc4b89fc0f39 diff --git a/games-strategy/Manifest.gz b/games-strategy/Manifest.gz Binary files differindex adaa90c0a6fe..1e47eb0a76a9 100644 --- a/games-strategy/Manifest.gz +++ b/games-strategy/Manifest.gz diff --git a/games-strategy/augustus/Manifest b/games-strategy/augustus/Manifest index e1fe5a941c33..8f9785b45256 100644 --- a/games-strategy/augustus/Manifest +++ b/games-strategy/augustus/Manifest @@ -1,10 +1,6 @@ AUX README.gentoo 426 BLAKE2B 803713ea8fe3bd1f20b3a5951cb23135ddb511b916d75ac30c907ef01246a6c365a5f8a50d1a35b1a9e9ca58129828862d2d0b9fc13db5a7e1d3d04071e63957 SHA512 da220fdc16a824044507ea0b69c6e3b165f49e45dc669ab77c79256c271932104293b6e884cd984d7229242113a9431fe77e9ae4e1fd4afc01d68b37399939ae AUX augustus-3.0.1-desktop_rename.patch 241 BLAKE2B 8adea277b37e544442cbf38f18387f90d0bf9a3366c5323e2e9bbefda49f517871c173a22dbe937fbf4a1244275c3195f2d008b542c54a778550967726025e7c SHA512 e283524f8e5dafea3bfb890c19be221f586ec6fc70943914eed3d542208c33a4cccf53f06a14fbc8db21be2fdeba6f97b38cea8592a343d11574e094f82cde2e -AUX augustus-3.0.1-musl-fix-execinfo.patch 567 BLAKE2B 1cd8b9875fc6a0d94411f8838a1a26cfd54efaee1c677e84a549bd1f0add349f62a55815aef6ea79f726ee097f07cff249841d2140ac4dcdfed9c5e95e9327d3 SHA512 ee9e9d6c0bab40f5a934ee9de0c8591ed76a0f3654fb5a52987d8591395b5f69d96486327aa2d8cebce73e41a3c44252a7a8eb36529ebdd90fb05bb92142f7a7 -AUX augustus-3.0.1-uncapped.patch 464 BLAKE2B 074faedf03b64b3e34c15a9412f3d22f3ec93fa638f9d90e910e2b5c203fe3e608ba29de499cedc22fdad6b19194befa5617bb6aa0e1db230873af554f5082f5 SHA512 725df61a3a21433617a672d62a97ab3f64e3bafbc6e619af8a8959de00b3144ec42c8dff747e846affe3ce74eec4dfdf6cd3613c5c07459df51945598585cf76 AUX augustus-3.1.0-musl-fix-execinfo.patch 457 BLAKE2B f21aeb73e345dfc8e1bac9e9aab3416d9e79a14809f77745ff078461ac279651e94cea94e616c7bf1792a8439175f8722bb7c8a726456ce6f619b30f34bf1575 SHA512 ae070af822663f3e407894ac5ab2d29868733bf53031c2470eeac1abeed17cab1bbad31b9bf2c515f1d05ed47b7f76d7f512522beb3791c24f4fc2a68bd1140d -DIST augustus-3.0.1.tar.gz 47539500 BLAKE2B 43e808959f176e4024866074c227814e2be75175cbbca60fbc430a7617941766b8a00ae6f56c08239c5ed8cd60d637109e963eba859c78d60f7b37d54079e7c4 SHA512 4929763a4436863525c4d3f93570090ce066ea2abfe56766d991b7ebc03b34fc53fc8c6dcbb7f5c96e2e10d233bb5966581d148db7d7ea2eac5c1435cc4327bd DIST augustus-3.1.0.tar.gz 97754907 BLAKE2B 2f30458538a3395b15da1ff1da68e6be4618e51e5e6b0ab89d5215292ff8d67beb5467152caa698bd408bd4c890183ac7109c02a4bbb1e72dc0e94d3c33f6cc3 SHA512 b1831cbaa4d3bac5991aca8fdc1299a4536147d780e328d0e09bb68f71c155eccfd0b087aa9a412868aee6853fd327922481251b8c510a131148d9b31c424536 -EBUILD augustus-3.0.1.ebuild 1231 BLAKE2B e5ff737136dea2ea47d00031d599814de9c1d7dbb63eeef8867e39007691e726e8e8014ae4950268940a4a95b7adf52c2b1bcbce32e7d7996e4b0c13cb63ac48 SHA512 a86f47872d3c8d978416a877f98d6bd76ae226263b34018e615aeb5b8cbdf4e5d4425edfdeb3b979a8240752288b083db2ae506070ed03a3259242a9c0e97097 EBUILD augustus-3.1.0.ebuild 1111 BLAKE2B 4b440051436255d0cdc7c71c181cfe5064ff779490127d0c2b7d7b2a43d43ed3228b3923f9043d4dcf570ba345bff896f9a459f2cd345420c11b4030f0b72648 SHA512 78f30fb446b0dfd67269ec11b486705feb36c649222e57b562a29540c85a517e9984feca34780d654e74f5d8b69cdf5b529ffa3517a5cc9231fcd89a57b08f76 -MISC metadata.xml 808 BLAKE2B f1092bef61291ecde82d897b232b8a80448aa6a69ff3f43b9e2346252075a81d1b14c3d1815640434dc0357f71a7f314a81ded5fbe33b00f7f2ffb3b7130af00 SHA512 e50e01c64d03e0df6004892b049d8e3c30069f53742ecde6cb46bc8d76cba53a1d45ce4982d48499ba45e7557075d9db62685b5de05240409c723ea9b6f2fdcd +MISC metadata.xml 737 BLAKE2B 545266b97a0560acf961ea48ec983f14fee0aac60df5223413febe504221ee0028023d8705661ab698a3ad2b60435ca17ed2566126ec5d94e221c45051ddee1e SHA512 f74d9bf34238074add2a02e9442ca968ae5fe83831e71576f17d94a027f748151f4525e0744c0b74fdd2dcfe5a4741c989520f8e44b772e233ceb98eaa7a2d44 diff --git a/games-strategy/augustus/augustus-3.0.1.ebuild b/games-strategy/augustus/augustus-3.0.1.ebuild deleted file mode 100644 index e9e88193f601..000000000000 --- a/games-strategy/augustus/augustus-3.0.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit xdg cmake readme.gentoo-r1 - -DESCRIPTION="Feature-enhanced open source re-implementation of Caesar III" -HOMEPAGE="https://github.com/Keriew/augustus" -SRC_URI="https://github.com/Keriew/augustus/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64" -IUSE="uncapped" - -DEPEND=" - dev-libs/expat - media-libs/libpng:0= - media-libs/libsdl2[joystick,video,sound] - media-libs/sdl2-mixer -" -RDEPEND=" - ${DEPEND} -" - -PATCHES=( - "${FILESDIR}/${PN}-3.0.1-desktop_rename.patch" - "${FILESDIR}/${PN}-3.0.1-musl-fix-execinfo.patch" -) - -src_prepare() { - use uncapped && eapply "${FILESDIR}"/${PN}-3.0.1-uncapped.patch - cmake_src_prepare -} - -src_install() { - cmake_src_install - dodir /usr/libexec - mv "${ED}/usr/bin/augustus" "${ED}/usr/libexec/augustus-game" || - die "Failed to rename executable (required to set default resources location)." - newbin - augustus-game <<-EOF - #!/usr/bin/env sh - exec "${EPREFIX}/usr/libexec/augustus-game" "\${1:-\${HOME}/.local/share/julius/app}" - EOF - readme.gentoo_create_doc -} - -pkg_postinst() { - xdg_pkg_postinst - readme.gentoo_print_elog -} diff --git a/games-strategy/augustus/files/augustus-3.0.1-musl-fix-execinfo.patch b/games-strategy/augustus/files/augustus-3.0.1-musl-fix-execinfo.patch deleted file mode 100644 index e79e87702429..000000000000 --- a/games-strategy/augustus/files/augustus-3.0.1-musl-fix-execinfo.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/core/backtrace.c b/src/core/backtrace.c -index 374fcdd..daf5c71 100644 ---- a/src/core/backtrace.c -+++ b/src/core/backtrace.c -@@ -2,7 +2,7 @@ - - #include "core/log.h" - --#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && !defined(__vita__) && !defined(__SWITCH__) && !defined(__ANDROID__) && !defined(__HAIKU__) -+#if defined(__GNUC__) && defined(__GLIBC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && !defined(__vita__) && !defined(__SWITCH__) && !defined(__ANDROID__) && !defined(__HAIKU__) - - #include <execinfo.h> - diff --git a/games-strategy/augustus/files/augustus-3.0.1-uncapped.patch b/games-strategy/augustus/files/augustus-3.0.1-uncapped.patch deleted file mode 100644 index 6bd4f93c1a14..000000000000 --- a/games-strategy/augustus/files/augustus-3.0.1-uncapped.patch +++ /dev/null @@ -1,16 +0,0 @@ -From 1d3a24d74bbea85198c2c5d739a16dcc139af18b Mon Sep 17 00:00:00 2001 -From: Horea Christian <chr@chymera.eu> -Date: Sat, 26 Dec 2020 12:59:15 -0500 -Subject: [PATCH] Unlimited number of Grand Temples. - ---- a/src/building/monument.h -+++ b/src/building/monument.h -@@ -6,7 +6,7 @@ - - #define MONUMENT_FINISHED -1 - #define MONUMENT_START 1 --#define MAX_GRAND_TEMPLES_PER_CITY 2 -+#define MAX_GRAND_TEMPLES_PER_CITY 99 - #define MARS_OFFERING_FREQUENCY 16 - - typedef enum { diff --git a/games-strategy/augustus/metadata.xml b/games-strategy/augustus/metadata.xml index 15f72dff5e6d..70c52d57757d 100644 --- a/games-strategy/augustus/metadata.xml +++ b/games-strategy/augustus/metadata.xml @@ -18,7 +18,4 @@ <upstream> <remote-id type="github">Keriew/augustus</remote-id> </upstream> - <use> - <flag name="uncapped">Uncap grand temple count</flag> - </use> </pkgmetadata> diff --git a/games-strategy/naev/Manifest b/games-strategy/naev/Manifest index 8c7aa71a34ff..e2d610ecd914 100644 --- a/games-strategy/naev/Manifest +++ b/games-strategy/naev/Manifest @@ -1,5 +1,3 @@ -DIST naev-0.9.3-source.tar.xz 394876456 BLAKE2B 9648ee9a93a02ec5ace552b25033cae16c38a48a869763bc381050f2724445fd5cf08708053ad4c939cdc99a27244126819e9416bc61d8d6148078eeea26e50e SHA512 150091f10ce05cbd5b2c4c434abe83124db56618b80f727994c135d1331c594406c9e8f03596feddb5739061c866e19b115fd0a86a19ea306cc811bb3dd944aa DIST naev-0.9.4-source.tar.xz 395461576 BLAKE2B cbfdc443ecb8cb27694769d054f7162c3d1d2bcd8dc28045696d6891abfb46e4a3518ce265c97b55a96b8d000c9900e4bc49ae7b45a16db75f9de48ea0cb702b SHA512 e8efb115d8d623ea92d348854d98ee22e8863aaf6555efa058d6160210f000186ae39f054f5b4f0fa8d92949de83defa35d4acd8216398157a1a42886745ddab -EBUILD naev-0.9.3.ebuild 2006 BLAKE2B b54a89f7b9f47fe532363e7a258b8bdbf179ff3d46b017c74f5c2ccaa30a32fd5f36c680301fa6c7893ef12a4b079a8e52df691e60b73870d51c90d4c3ca21a1 SHA512 a9261d531725de4b85eeff746b50c9a8f18ab694befcfd2b6ea332afc15b1c8fb928565f223a793f7a702263ebdc06f2a93f378d0760b72c80fbf757108a702c EBUILD naev-0.9.4.ebuild 1950 BLAKE2B cc24efda16ce0d3ba48f903d4c8a990f3a662497e924bc5021acfb19b4de39d39bbd79ddc16132e8a6b46999557a8adef4498a0fe84b4ecd8420fb52ba9a6edd SHA512 77c899faad759a40d431433eeb38a657b6bc16df4aa6efcec904e77b0306277ef73de1776640b4c70ff25a717b32f22736aad0f2e58dff9a292e125541c34a2a MISC metadata.xml 328 BLAKE2B 2c831943c7eee723e5c707906bcec96e97abd71e5d6fc3256010cca9626aebe95ecd7dca316a9567fe41186f0a656a434d774f83f088f414a95b3aba425c23b9 SHA512 426ac4b34b6cb45db05f5a7768a15947f67f5e90cda1bafa817320988aeb96ade18d774b2aa5e92d12c1fd1fd7a4964ac1bbdacbca6655325ccccc6a9405dfa4 diff --git a/games-strategy/naev/naev-0.9.3.ebuild b/games-strategy/naev/naev-0.9.3.ebuild deleted file mode 100644 index d13f7615980f..000000000000 --- a/games-strategy/naev/naev-0.9.3.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-1 luajit ) -PYTHON_COMPAT=( python3_{8..10} ) -inherit lua-single meson python-any-r1 virtualx xdg - -DESCRIPTION="2D space trading and combat game, in a similar vein to Escape Velocity" -HOMEPAGE="https://naev.org/" -SRC_URI="https://github.com/naev/naev/releases/download/v${PV}/${P}-source.tar.xz" -S="${WORKDIR}/${PN}-0.9.2" # 0.9.3 tarball uses wrong directory - -LICENSE=" - GPL-3+ BSD BSD-2 CC-BY-2.0 CC-BY-3.0 CC-BY-4.0 CC-BY-SA-2.0 - CC-BY-SA-3.0 CC-BY-SA-4.0 CC0-1.0 MIT public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" -REQUIRED_USE="${LUA_REQUIRED_USE}" - -RDEPEND=" - ${LUA_DEPS} - dev-games/physfs - dev-libs/libunibreak:= - dev-libs/libxml2 - media-libs/freetype:2 - media-libs/libsdl2[joystick,opengl,video] - media-libs/libvorbis - media-libs/openal - media-libs/sdl2-image[png,webp] - sci-libs/cholmod - sci-libs/cxsparse - sci-libs/openblas - sci-libs/suitesparse - sci-mathematics/glpk:= - virtual/libintl - virtual/opengl" -DEPEND=" - ${RDEPEND} - test? ( - dev-games/physfs[zip] - media-libs/libsdl2[X] - media-libs/mesa[llvm] - )" -BDEPEND=" - $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') - sys-devel/gettext - doc? ( - app-doc/doxygen[dot] - dev-lua/ldoc - )" - -python_check_deps() { - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" -} - -pkg_setup() { - lua-single_pkg_setup - python-any-r1_pkg_setup -} - -src_prepare() { - default - - sed -i "s/'lua51'/'lua'/" meson.build || die -} - -src_configure() { - local emesonargs=( - $(meson_feature doc docs_c) - $(meson_feature doc docs_lua) - $(meson_feature lua_single_target_luajit luajit) - ) - - meson_src_configure -} - -src_test() { - virtx meson_src_test -} - -src_install() { - local DOCS=( CHANGELOG Readme.md ) - meson_src_install - - if use doc; then - dodir /usr/share/doc/${PF}/html - mv "${ED}"/usr/{doc/naev/{c,lua},share/doc/${PF}/html} || die - rm -r "${ED}"/usr/doc || die - fi - rm -r "${ED}"/usr/share/doc/naev || die -} diff --git a/games-strategy/s25rttr/Manifest b/games-strategy/s25rttr/Manifest index 051e588e34f0..e7c389bbe278 100644 --- a/games-strategy/s25rttr/Manifest +++ b/games-strategy/s25rttr/Manifest @@ -1,9 +1,4 @@ -AUX s25rttr-0.9.0_pre20200723-boost-1.77-missing-include.patch 548 BLAKE2B 0cd4b3cf3fb5b016c3ca01e21ff245042237efb47aa08e8f57fb0b861c7c325b97d0c699de39f2218343f7de3bb7cfc9eee4610a9d4c1d5c8430c77d35a7c649 SHA512 220642d300abd18efb2f69c7b41825341d0985f6d493f03311b557f0e5a81db5284bf4c0868ad8bb09edfa84100cb59309bea1baba94e0abf6b0d4b553336215 AUX s25rttr-0.9.0_pre20200723-cmake_lua_version.patch 296 BLAKE2B cabdc87d6184e59f0896762f3d3434a137fed4fd1c2dae84d30dbee5d4903e68ba01c30b92d0d5290dec9b371807c317b462213a421cadd172b78b08407f66aa SHA512 074ac3e70fec0da6bd4a9602052989a8b6c26b5cfef669d6330d9177547bbeeeef2a4e6b9d83a9e9cbdf4ec33df7dcce50a862e3c9e533049ad8452df6073816 -AUX s25rttr-0.9.1-cxx-std.patch 1059 BLAKE2B 84e43db33095f8d043c76c381d7477988ababf24959acfe34032c327b1bbd51661e461fc9a5be04aa933d3c40667819eed507326ae8a903069c1903f0366acd0 SHA512 4bdd87fdbcd37c5ee96e3878fd5c690e7186697f947bff8101f36049f6ae1622f2d82944475101c280d3a983150880dcc606d91803d628d8a94e6d8a3e748918 -AUX s25rttr-0.9.1-libsamplerate.patch 1536 BLAKE2B 55fbc0c0b439d98635ca74384033dfe44649605436fec2d61bb0e24e71173572aeeff11de0eb6592e27569f6ff0840867b627cbf6362c418286be39e4e538416 SHA512 9825546d5182a0b57c352fa46b786c8725f828b94ff5504506b79a22d8bce78edc0cf3c4fa7b0c5987a6875d912e27f81be5e5282cad987ac3a730e125db1846 -DIST s25client_src_v0.9.1.tar.gz 31042856 BLAKE2B 296e61467f5ba64f2a833e3f6627844db3757604d9b239d18f3a2b42afc7f46df09ff3b9e8d8a26865e5220f8996b6e78fd4d5fe6252510bbdf8fc238de40bfc SHA512 b7478f76e0246c52a219d9ef5293d56fe682dc87bcd1269d1647417d86c5174632bf05f1fe09e91a9bf9d6738f58e1cac51abdc54df47c00d228687767e19510 DIST s25client_src_v0.9.5.tar.gz 30305585 BLAKE2B 77857743b5a1693ed373cb048c40fed150a4bf3d59f1314ffbb268f3e03ba8db2f44c20962c390f3a8c5b5b443ee0465d5c7bf726998ddf0334a861304211db8 SHA512 4926653075c7ba01e1e4ca516c52ad1694b46557c40c418e2a1f18d0a8fac9d4b73c20adc5403365ad6ba643823ed23dff5296717b3e057c42b17f1c20feb802 -EBUILD s25rttr-0.9.1.ebuild 2796 BLAKE2B e4a57a16fecf7afc6e7e9b95813525e7a3f6c7ab9b8802a82a75bc91c25d848341d61c0fa40930a0c8e1af73ad4d7ab518c1b547055b271f60891ab89ee352bf SHA512 afb89fcca9ecb5bc89750df151caf5965be0f4d717bb36991a6c21b258d6db182fab9e311f8480cdfb5230e693e23de4058692f24e89d69d16a9c55d3386f104 EBUILD s25rttr-0.9.5.ebuild 2643 BLAKE2B 9f0353e995f6d3399081eef6aced76dd16cba52cfe7dd14cdaff1add6abd91720ec884daa4f04a0f3b20c8f94ca8752e01aaca2f4994f3f4c24b77a4ae39aa75 SHA512 c4667ed0d1e2a1f8c08914569d235ca8d971411de864db98bd235005f811dd4df90920d2b90a1f1de4ed7cf925c609c2fa856a911d3e8cea3ae7844d40b2c33f MISC metadata.xml 348 BLAKE2B bc23c51bcd3458b4f39a6b42dd73f35060319cdae4563a4288ef2ae9dc9e2a85e8bc4b357dff37d70f20abf5d79a4a5c20fb1a8c2ab4c994dd3290ea18d49c34 SHA512 c145a48fb294eb11195885f0cd97095c7258d3286bf1cd926b5d40682aea1767c52a5a163283345fe12416659a9c7500de58993379b0ba3c743f18e172696c6f diff --git a/games-strategy/s25rttr/files/s25rttr-0.9.0_pre20200723-boost-1.77-missing-include.patch b/games-strategy/s25rttr/files/s25rttr-0.9.0_pre20200723-boost-1.77-missing-include.patch deleted file mode 100644 index 9a69797ea27a..000000000000 --- a/games-strategy/s25rttr/files/s25rttr-0.9.0_pre20200723-boost-1.77-missing-include.patch +++ /dev/null @@ -1,17 +0,0 @@ -https://github.com/Return-To-The-Roots/s25client/pull/1431 - -From: Sam James <sam@gentoo.org> -Date: Thu, 19 Aug 2021 02:41:42 +0100 -Subject: [PATCH] Fix build with Boost 1.77 (missing <algorithm> include) - -Closes: https://bugs.gentoo.org/808767 ---- a/libs/s25main/convertSounds.cpp -+++ b/libs/s25main/convertSounds.cpp -@@ -20,6 +20,7 @@ - #include <libsiedler2/ArchivItem_Sound_Wave.h> - #include <libsiedler2/loadMapping.h> - #include <s25util/StringConversion.h> -+#include <algorithm> - #include <cmath> - #include <samplerate.hpp> - #include <sstream> diff --git a/games-strategy/s25rttr/files/s25rttr-0.9.1-cxx-std.patch b/games-strategy/s25rttr/files/s25rttr-0.9.1-cxx-std.patch deleted file mode 100644 index cb5ecdf28220..000000000000 --- a/games-strategy/s25rttr/files/s25rttr-0.9.1-cxx-std.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 5db419d044149ab3760c1588b44536febab5d657 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot <chewi@gentoo.org> -Date: Sat, 11 Sep 2021 08:41:57 +0100 -Subject: [PATCH] Set C++ standard (to C++14) using CMake - -Not adding the -std flag broke builds with GCC 11 until the code was -fixed up recently. This should prevent this sort of thing from -happening in future. It also ensures that the compiler is actually new -enough. ---- - CMakeLists.txt | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8ab991c97..b55c545a2 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -22,6 +22,9 @@ if(DEFINED CMAKE_TOOLCHAIN_FILE) - message(STATUS "Used Toolchain definition file '${CMAKE_TOOLCHAIN_FILE}'") - endif() - -+set(CMAKE_CXX_STANDARD 14) -+set(CXX_STANDARD_REQUIRED ON) -+ - list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules" "${CMAKE_SOURCE_DIR}/external/libutil/cmake") - if(CMAKE_VERSION VERSION_LESS 3.14) - list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/external/libutil/cmake/cmake_3.14") --- -2.32.0 - diff --git a/games-strategy/s25rttr/files/s25rttr-0.9.1-libsamplerate.patch b/games-strategy/s25rttr/files/s25rttr-0.9.1-libsamplerate.patch deleted file mode 100644 index 41d6d90e5fd8..000000000000 --- a/games-strategy/s25rttr/files/s25rttr-0.9.1-libsamplerate.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 16cb06c99f78a21b1be2bc681c1f1d85a6caddca Mon Sep 17 00:00:00 2001 -From: James Le Cuirot <chewi@gentoo.org> -Date: Fri, 10 Sep 2021 22:59:51 +0100 -Subject: [PATCH] Fix bad channel count handling with libsamplerate 0.2.0 - -Since libsndfile/libsamplerate@26d92c369394bcd0b0cea488890edce1a0d757d5, -initialising libsamplerate with 0 channels or less causes a SIGABRT. We -therefore need to handle this in the C++ wrapper classes. ---- - libs/libsamplerate/include/samplerate.hpp | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/libs/libsamplerate/include/samplerate.hpp b/libs/libsamplerate/include/samplerate.hpp -index d0af34317..23e243d91 100644 ---- a/libs/libsamplerate/include/samplerate.hpp -+++ b/libs/libsamplerate/include/samplerate.hpp -@@ -152,6 +152,8 @@ class State : public detail::StateBase - { - static SRC_STATE* createOrThrow(Converter converter, int channels) - { -+ if (channels <= 0) -+ throw std::runtime_error("Channel count must be >= 1."); - int error; - auto* state = src_new(static_cast<int>(converter), channels, &error); - if(!state) -@@ -174,6 +176,8 @@ class StateCallback : public detail::StateBase - { - static SRC_STATE* createOrThrow(Converter converter, int channels, src_callback_t func, void* data) - { -+ if (channels <= 0) -+ throw std::runtime_error("Channel count must be >= 1."); - int error; - auto* state = src_callback_new(func, static_cast<int>(converter), channels, &error, data); - if(!state) --- -2.32.0 - diff --git a/games-strategy/s25rttr/s25rttr-0.9.1.ebuild b/games-strategy/s25rttr/s25rttr-0.9.1.ebuild deleted file mode 100644 index 1cf08d68bd4e..000000000000 --- a/games-strategy/s25rttr/s25rttr-0.9.1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-3 ) - -inherit desktop flag-o-matic lua-single toolchain-funcs xdg cmake - -MY_PN="s25client" -DESCRIPTION="Open source remake of The Settlers II: Gold Edition (needs original data files)" -HOMEPAGE="https://www.siedler25.org/" -SRC_URI="https://github.com/Return-To-The-Roots/${MY_PN}/releases/download/v${PV}/${MY_PN}_src_v${PV}.tar.gz" -LICENSE="GPL-2+ GPL-3 Boost-1.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${LUA_REQUIRED_USE}" - -RDEPEND="${LUA_DEPS} - app-arch/bzip2 - >=dev-libs/boost-1.73:0=[nls] - >=media-libs/libsamplerate-0.1.9 - >=media-libs/libsdl2-2.0.10-r2[opengl,sound,video] - media-libs/libsndfile - media-libs/sdl2-mixer[vorbis,wav] - net-libs/miniupnpc - virtual/opengl -" - -DEPEND=" - ${RDEPEND} - test? ( >=sys-devel/clang-5 ) -" - -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.9.0_pre20200723-boost-1.77-missing-include.patch - "${FILESDIR}"/${PN}-0.9.0_pre20200723-cmake_lua_version.patch - "${FILESDIR}"/${PN}-0.9.1-libsamplerate.patch - "${FILESDIR}"/${PN}-0.9.1-cxx-std.patch -) - -S="${WORKDIR}/${MY_PN}_v${PV}" - -# Build type is checked but blank is valid. -CMAKE_BUILD_TYPE= - -src_prepare() { - cmake_src_prepare - rm -v external/{kaguya,libutil}/cmake/FindLua.cmake || die -} - -src_configure() { - if [[ -f revision.txt ]]; then - local RTTR_REVISION="$(< revision.txt)" - elif [[ -n ${COMMIT} ]]; then - local RTTR_REVISION="${COMMIT}" - else - die "Could not determine RTTR_REVISION." - fi - - local mycmakeargs=( - -DBUILD_TESTING=$(usex test) - -DCCACHE_PROGRAM=OFF - -DCMAKE_DISABLE_FIND_PACKAGE_ClangFormat=ON - -DCMAKE_SKIP_RPATH=ON - -DLUA_VERSION=$(lua_get_version) - -DRTTR_BUILD_UPDATER=OFF - -DRTTR_ENABLE_OPTIMIZATIONS=OFF - -DRTTR_ENABLE_SANITIZERS=$(usex test) - -DRTTR_ENABLE_WERROR=OFF - -DRTTR_INCLUDE_DEVTOOLS=OFF - -DRTTR_LIBDIR="$(get_libdir)" - -DRTTR_REVISION="${RTTR_REVISION}" - -DRTTR_USE_SYSTEM_LIBS=ON - -DRTTR_VERSION="${PV##*_pre}" # Tests expect a date for snapshots. - ) - - if use test && tc-is-gcc; then - # Work around libasan and libsandbox both wanting to be first. - append-ldflags -static-libasan - fi - - cmake_src_configure -} - -src_test() { - SDL_AUDIODRIVER=dummy \ - SDL_VIDEODRIVER=dummy \ - USER=$(whoami) \ - cmake_src_test -} - -src_install() { - cmake_src_install - - doicon -s 64 tools/release/debian/s25rttr.png - make_desktop_entry "${MY_PN}" "Return to the Roots" -} - -pkg_postinst() { - xdg_pkg_postinst - - if ! has_version -r games-strategy/settlers-2-gold-data; then - elog "Install games-strategy/settlers-2-gold-data or manually copy the DATA" - elog "and GFX directories from original data files into" - elog "${EPREFIX}/usr/share/${PN}/S2." - fi -} diff --git a/games-strategy/warzone2100/Manifest b/games-strategy/warzone2100/Manifest index 97b40a92560a..22faebce4be2 100644 --- a/games-strategy/warzone2100/Manifest +++ b/games-strategy/warzone2100/Manifest @@ -1,9 +1,5 @@ AUX warzone2100-4.1.3-no-compress-manpages.patch 2317 BLAKE2B 00d67b7df0898b1a6343b38ffb7e1655d3f16a94bffe94894f3cff5e25f1e7f426046beda9983eea963bac5fb2a7e49aca473b8b78d141ac00baa250710093c1 SHA512 48b8c3f651bf7d504da88a6351799cc9cd19bf84191f52e9ca5b0c5c60b52a81587c8a03fde5e3d8d19e7770dc7b17dd60b59d8441b47221a7cda5a8008f9558 -DIST warzone2100-4.2.2.tar.xz 338585896 BLAKE2B e90ff6f5843a1750971a2cb7e77aac1e7c03ebeae90ea112d1eb735ea4a9cfee35de860e52f81824cde69543af6172ee630b6451ea39c141c188e4469f9200b9 SHA512 ea02207a27a01114daaf0819a98a63a5189570844dd69f50f493a1caafab7c05d85fb0d5c8a8b1b061ee3a050081e9786a1c090f4490134e93e8bbfa1903bd1b -DIST warzone2100-4.2.4.tar.xz 338685080 BLAKE2B d83fc41d7bb7ff062ca6d3ce924c5e50560737b309db5a31e9fa81ed4dd5c079cf53aed472d1686daaa2e758583e79c3310575191e95d0b01d0f692786ff015f SHA512 26f470c137d9f53b759d182058080a07b7a505aa900fc0e6ff8349783564e0e298216f162032ff43c15f1e5811a8192e161498f87d8cc624a1a653a4044fcfb7 DIST warzone2100-4.2.6.tar.xz 338691628 BLAKE2B 234d78feb1fceb0eff23c2c1b8d85a5fd9e5ef8912b324ae159ffdb43be728d6e4aa78bdf01561e60c64826083936bc36c2dfd1cee443aed06a52eaa047e8517 SHA512 5cddeff5b66d9e710b0c4d6d2863100106a901c17815220b7a97633a3980be41eaa192921d39bffff60f547fb5f5358fa1e63a54f41b5083203916314bb3d2a1 DIST warzone2100-videos-2.2.wz 571937134 BLAKE2B 60b70a71bd920e2d72ded5d519b17db2f3db4b0289edadeb58059a21aba7038b95219dc44cb807754461d1a9bdca60f0d7698be68622b8bd64a55efa949622d3 SHA512 ca1a1af51296afdaca137114821508c5783f077090e665eae0f6df895855f57c43f84434706309e819417f5f35d1c649bd14e96dc9fbbb1252d30a4f9a223cf6 -EBUILD warzone2100-4.2.2.ebuild 2678 BLAKE2B 4c3db36d5f39189d1e43fbedeb894546bc133fc9d772f6fed8bb5bb7d1b39d84db2d6f66ac337a2c80cd24eef2d7fbd8cb230f1d2f6814d8f26ca658b13fa0ef SHA512 9459049e8aff4cb3a481699fbc1ebc2ba92d780cfe4984e9ddfdda8f03de5a465fb91d1da5b1a4d84d957a2fba23decdb4c7ab917e52b1f8e8367a97f46393d7 -EBUILD warzone2100-4.2.4.ebuild 2678 BLAKE2B eb14053d289202f6c2678b70f56ab28c44608cfc035fcb290dad7aaa003cb35978811c31181e2395f9f3205aa79ce820a744a861e6aef1381cb1eec4cad541d3 SHA512 6ef716767cc4665be642a00281f76c51bbcd7baa18265f8f1f3648da5bc0af4c7207f65fda367f7faff231e5ba566509b11bb303b56a0134972da48124a07302 EBUILD warzone2100-4.2.6.ebuild 2678 BLAKE2B abbd712501c57c331e199ff6d75ecfba88660576549f181e21e8e769f0525d2096b9781434031a10f1a8990313ccad49a609258ba8099836e4d8499726c396a7 SHA512 f30803098c061db711c06b007cb384d31c9a4888044815308ea74cbaf748cba05db41b3b90ba7a400b32a82155379ceb1f5bddfeda628f160aa19b7a4c5377f2 MISC metadata.xml 812 BLAKE2B b2b9ab08275974118342f645f9c6fee90fb2f8904a3c6708666d71d57ec71ab86e9f905669cc3fe9424cec8329d434c979e9ae87324f0b47ed313b28c66d6070 SHA512 0af92d46baaf497a9f5aa57e45f0860e94c36f008386c1f483a49d8df50719ef11532a8473b4068a5cc63286d7af72b71e4de2e883b178c278b7aecf27f8389d diff --git a/games-strategy/warzone2100/warzone2100-4.2.2.ebuild b/games-strategy/warzone2100/warzone2100-4.2.2.ebuild deleted file mode 100644 index 929af63b820a..000000000000 --- a/games-strategy/warzone2100/warzone2100-4.2.2.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PLOCALES="af_ZA bg_BG ca_ES cs da de el en_GB eo es et_EE fa_IR fi fr fy ga he_IL hr hu id_ID id it ko la lt nb nl pl pt_BR pt ro ru sk sl tr tt_RU uk_UA zh_CN zh_TW" -inherit cmake plocale xdg - -MY_PV=$(ver_cut 1-2) -VIDEOS_PV=2.2 -VIDEOS_P=${PN}-videos-${VIDEOS_PV}.wz -DESCRIPTION="3D real-time strategy game" -HOMEPAGE="https://wz2100.net/" -SRC_URI="mirror://sourceforge/warzone2100/releases/${PV}/${PN}_src.tar.xz -> ${P}.tar.xz - videos? ( mirror://sourceforge/warzone2100/warzone2100/Videos/${VIDEOS_PV}/high-quality-en/sequences.wz -> ${VIDEOS_P} )" -S="${WORKDIR}/${PN}" - -LICENSE="GPL-2+ CC-BY-SA-3.0 public-domain vulkan? ( GPL-3 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -# Upstream requested debug support -IUSE="debug discord nls videos vulkan" - -CDEPEND=" - >=dev-games/physfs-2[zip] - dev-db/sqlite:3 - >=dev-libs/libsodium-1.0.14:= - media-libs/freetype:2 - media-libs/harfbuzz:= - media-libs/libogg - media-libs/libpng:= - media-libs/libsdl2[opengl,video,X] - media-libs/libtheora - media-libs/libvorbis - media-libs/openal - net-libs/miniupnpc:= - net-misc/curl - sys-libs/zlib - nls? ( virtual/libintl ) - vulkan? ( media-libs/libsdl2:=[vulkan] ) -" -DEPEND=" - ${CDEPEND} - dev-libs/fribidi - media-libs/fontconfig -" -RDEPEND=" - ${CDEPEND} - media-fonts/dejavu -" -BDEPEND=" - app-arch/zip - app-text/asciidoc - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -HTML_DOCS=( doc/quickstartguide.html doc/docbook-xsl.css doc/ScriptingManual.htm ) -DOCS=( README.md doc/images doc/Scripting.md doc/js-globals.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-4.1.3-no-compress-manpages.patch -) - -src_unpack() { - unpack ${P}.tar.xz -} - -src_prepare() { - sed -i -e 's/#top_builddir/top_builddir/' po/Makevars || die - - # Delete translations we're not using - cleanup_po() { - local locale=${1} - einfo "Cleaning up disabled locale: ${locale}" - rm po/${locale}.po || die - } - - plocale_for_each_disabled_locale cleanup_po - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DWZ_DISTRIBUTOR="Gentoo Linux" - -DWZ_ENABLE_WARNINGS_AS_ERRORS=OFF - -DWZ_ENABLE_BACKEND_VULKAN=$(usex vulkan) - -DBUILD_SHARED_LIBS=OFF - -DENABLE_NLS=$(usex nls) - -DENABLE_DISCORD=$(usex discord) - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - asciidoc -b html5 doc/quickstartguide.asciidoc || die -} - -src_install() { - cmake_src_install - - rm "${ED}"/usr/bin/.portable || die - - # We cover licencing within the ebuild itself - rm "${ED}"/usr/share/doc/${PF}/COPYING* \ - "${ED}"/usr/share/doc/${PF}/copyright || die - - if use videos ; then - insinto /usr/share/${PN} - newins "${DISTDIR}"/${VIDEOS_P} sequences.wz - fi -} diff --git a/games-strategy/warzone2100/warzone2100-4.2.4.ebuild b/games-strategy/warzone2100/warzone2100-4.2.4.ebuild deleted file mode 100644 index e58fc5f270f8..000000000000 --- a/games-strategy/warzone2100/warzone2100-4.2.4.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PLOCALES="af_ZA bg_BG ca_ES cs da de el en_GB eo es et_EE fa_IR fi fr fy ga he_IL hr hu id_ID id it ko la lt nb nl pl pt_BR pt ro ru sk sl tr tt_RU uk_UA zh_CN zh_TW" -inherit cmake plocale xdg - -MY_PV=$(ver_cut 1-2) -VIDEOS_PV=2.2 -VIDEOS_P=${PN}-videos-${VIDEOS_PV}.wz -DESCRIPTION="3D real-time strategy game" -HOMEPAGE="https://wz2100.net/" -SRC_URI="mirror://sourceforge/warzone2100/releases/${PV}/${PN}_src.tar.xz -> ${P}.tar.xz - videos? ( mirror://sourceforge/warzone2100/warzone2100/Videos/${VIDEOS_PV}/high-quality-en/sequences.wz -> ${VIDEOS_P} )" -S="${WORKDIR}/${PN}" - -LICENSE="GPL-2+ CC-BY-SA-3.0 public-domain vulkan? ( GPL-3 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -# Upstream requested debug support -IUSE="debug discord nls videos vulkan" - -CDEPEND=" - >=dev-games/physfs-2[zip] - dev-db/sqlite:3 - >=dev-libs/libsodium-1.0.14:= - media-libs/freetype:2 - media-libs/harfbuzz:= - media-libs/libogg - media-libs/libpng:= - media-libs/libsdl2[opengl,video,X] - media-libs/libtheora - media-libs/libvorbis - media-libs/openal - net-libs/miniupnpc:= - net-misc/curl - sys-libs/zlib - nls? ( virtual/libintl ) - vulkan? ( media-libs/libsdl2:=[vulkan] ) -" -DEPEND=" - ${CDEPEND} - dev-libs/fribidi - media-libs/fontconfig -" -RDEPEND=" - ${CDEPEND} - media-fonts/dejavu -" -BDEPEND=" - app-arch/zip - app-text/asciidoc - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -HTML_DOCS=( doc/quickstartguide.html doc/docbook-xsl.css doc/ScriptingManual.htm ) -DOCS=( README.md doc/images doc/Scripting.md doc/js-globals.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-4.1.3-no-compress-manpages.patch -) - -src_unpack() { - unpack ${P}.tar.xz -} - -src_prepare() { - sed -i -e 's/#top_builddir/top_builddir/' po/Makevars || die - - # Delete translations we're not using - cleanup_po() { - local locale=${1} - einfo "Cleaning up disabled locale: ${locale}" - rm po/${locale}.po || die - } - - plocale_for_each_disabled_locale cleanup_po - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DWZ_DISTRIBUTOR="Gentoo Linux" - -DWZ_ENABLE_WARNINGS_AS_ERRORS=OFF - -DWZ_ENABLE_BACKEND_VULKAN=$(usex vulkan) - -DBUILD_SHARED_LIBS=OFF - -DENABLE_NLS=$(usex nls) - -DENABLE_DISCORD=$(usex discord) - ) - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - asciidoc -b html5 doc/quickstartguide.asciidoc || die -} - -src_install() { - cmake_src_install - - rm "${ED}"/usr/bin/.portable || die - - # We cover licencing within the ebuild itself - rm "${ED}"/usr/share/doc/${PF}/COPYING* \ - "${ED}"/usr/share/doc/${PF}/copyright || die - - if use videos ; then - insinto /usr/share/${PN} - newins "${DISTDIR}"/${VIDEOS_P} sequences.wz - fi -} diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest index 02b4436de502..4b853be9461d 100644 --- a/games-strategy/wesnoth/Manifest +++ b/games-strategy/wesnoth/Manifest @@ -1,8 +1,6 @@ AUX wesnothd.rc-r1 511 BLAKE2B 57e8b21313e5cb677dcdac3b046caf5b1e5f690f357373c48779afa9ea969de855e8ea4849298963891d0c2b029cc1897d97d0069b5087a1496db9061a468d7f SHA512 609c3c2eb2846735610904bcc913a0db9c8daeedde77da8911ea7e85deec805ba103519785cea1c767444c46df5985c6c630ceed550085ab5527e51ff01d65ab -DIST wesnoth-1.16.2.tar.gz 517313669 BLAKE2B b1b9a2795a7a298edd1d952547db518a31f217f983aaf39cdde7a14773f2538485c980205e9242d4a1c8f933011a09a7e858de128c7d17c16c552e34b2a59bf3 SHA512 19cb4c64d9cce780ffbb54e357bf88c3cf2eedc835fab7162bd9caa62485a60ab2a1ba68ab0c4b98dc05bab4fb22889f4a8237b9542baa5478fbda08034d9f66 DIST wesnoth-1.16.3.tar.gz 518049863 BLAKE2B e862de2e6f71a1dfe11b0cb6343ea1da78c0eb035893d7bd16ca86586b689b21f39b5266ba86476829c1c9005f7abc37058c2f0ac8ea1ae2970d609880e0da20 SHA512 7f37a1a16ed51ffa935a457553b1a3890398b928bb5893720b746080b37a121a86e21ae402bdddfe30572adccf71a985bf1e3223a0eb443bf7a696ee213d9bf0 DIST wesnoth-1.17.5.tar.bz2 418959651 BLAKE2B 3b6e015192a4050e5d16b25b0e67f91894eeae772125e4bbbefa81082b17fc9c479cf0f4c68d3b74afc5e656c8680319d336d1c14f421f875a64df9b6adbd830 SHA512 7033673f058f3114fcaf9e9b0f5f457c4ed2243fdf04cf80775815d2661bead73d7323c00f4aa678ff82f3d2c23000d81aca97c58f33635060341368ef8c4377 -EBUILD wesnoth-1.16.2.ebuild 2241 BLAKE2B 3b85bf93462df6be33d01f54c2105f884b3c73a68de91f464cf3295420ab449d3bc4089a7c88354612242dd96f226c10f72b0cd6344e2c2510ee3932898a54bb SHA512 037e7760f3b474fa8a674b25b78f7503c8b484b2f4c2f30b0ccdbf2eeaa885972eb9d011a5253d801738931cc12c3edf10fb4b2e2c8c538c9d2d9391cdd9f755 EBUILD wesnoth-1.16.3.ebuild 2241 BLAKE2B 3b85bf93462df6be33d01f54c2105f884b3c73a68de91f464cf3295420ab449d3bc4089a7c88354612242dd96f226c10f72b0cd6344e2c2510ee3932898a54bb SHA512 037e7760f3b474fa8a674b25b78f7503c8b484b2f4c2f30b0ccdbf2eeaa885972eb9d011a5253d801738931cc12c3edf10fb4b2e2c8c538c9d2d9391cdd9f755 EBUILD wesnoth-1.17.5.ebuild 2214 BLAKE2B da4ccb1c6eab6c3c7c4ae7c863aa4a920b43672acd58fbb2067058f3cd875fec58ea0da4369612bb03667ac62ca835bd344aa62504cd460a5f394da5f9725491 SHA512 bbd9c354e5f7d5fc2b1eb3d40a5aa21f31ea750417b0ee5531104d1acba7a88c004070d4cb5e89c3918bd46c459cf9a34c890d5872daa5ecd92314dcfe28c85f MISC metadata.xml 418 BLAKE2B 636dfbbd604111ba7c6241fbbc8ba8bd9a4f1f6e30811c9f3788a3624deadf751ad62dca9e24a74f19709900c32530fd3b12363ba288a94d2d94eb9c7e15b6f1 SHA512 298467b69ae7455c096e186061df02c45dd42aa33241ea12bd672a551589dd62a7cf5d2e383a6e94a6ee1332bc29b24f80e4597cbb0771e64b40d3bee5249102 diff --git a/games-strategy/wesnoth/wesnoth-1.16.2.ebuild b/games-strategy/wesnoth/wesnoth-1.16.2.ebuild deleted file mode 100644 index 17cdd9a055f7..000000000000 --- a/games-strategy/wesnoth/wesnoth-1.16.2.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic xdg - -DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game" -HOMEPAGE="http://www.wesnoth.org - https://github.com/wesnoth/wesnoth" -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -# uneven minor versions are development versions -if [[ $(( $(ver_cut 2) % 2 )) == 0 ]] ; then - KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -fi -IUSE="dbus dedicated doc nls server" - -RDEPEND=" - acct-group/wesnoth - acct-user/wesnoth - dev-libs/boost:=[bzip2,context,icu,nls,threads(+)] - >=media-libs/libsdl2-2.0.4:0[joystick,video,X] - !dedicated? ( - dev-libs/glib:2 - dev-libs/openssl:0= - >=media-libs/fontconfig-2.4.1 - >=media-libs/sdl2-image-2.0.0[jpeg,png] - >=media-libs/sdl2-mixer-2.0.0[vorbis] - media-libs/libvorbis - >=x11-libs/pango-1.22.0 - >=x11-libs/cairo-1.10.0 - sys-libs/readline:0= - dbus? ( sys-apps/dbus ) - )" -DEPEND="${RDEPEND} - x11-libs/libX11 -" -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig -" - -src_prepare() { - cmake_src_prepare - - if ! use doc ; then - sed -i \ - -e '/manual/d' \ - doc/CMakeLists.txt || die - fi - - # respect LINGUAS (bug #483316) - if [[ ${LINGUAS+set} ]] ; then - local lang langs=() - for lang in $(cat po/LINGUAS) ; do - has ${lang} ${LINGUAS} && langs+=( ${lang} ) - done - echo "${langs[@]}" > po/LINGUAS || die - fi -} - -src_configure() { - filter-flags -ftracer -fomit-frame-pointer - - if use dedicated || use server ; then - mycmakeargs=( - -DENABLE_CAMPAIGN_SERVER="ON" - -DENABLE_SERVER="ON" - -DSERVER_UID="${PN}" - -DSERVER_GID="${PN}" - -DFIFO_DIR="/run/wesnothd" - ) - else - mycmakeargs=( - -DENABLE_CAMPAIGN_SERVER="OFF" - -DENABLE_SERVER="OFF" - ) - fi - mycmakeargs+=( - -Wno-dev - -DENABLE_GAME="$(usex !dedicated)" - -DENABLE_DESKTOP_ENTRY="$(usex !dedicated)" - -DENABLE_NLS="$(usex nls)" - -DENABLE_NOTIFICATIONS="$(usex dbus)" - -DENABLE_STRICT_COMPILATION="OFF" - ) - cmake_src_configure -} - -src_install() { - local DOCS=( README.md changelog.md ) - cmake_src_install - if use dedicated || use server ; then - rmdir "${ED}"/run{/wesnothd,} || die - newinitd "${FILESDIR}"/wesnothd.rc-r1 wesnothd - fi -} |