diff options
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/Manifest.gz | bin | 8081 -> 8079 bytes | |||
-rw-r--r-- | games-strategy/megaglest/Manifest | 2 | ||||
-rw-r--r-- | games-strategy/megaglest/megaglest-3.13.0-r1.ebuild | 173 | ||||
-rw-r--r-- | games-strategy/megaglest/megaglest-3.13.0.ebuild | 144 | ||||
-rw-r--r-- | games-strategy/scorched3d/Manifest | 1 | ||||
-rw-r--r-- | games-strategy/scorched3d/scorched3d-44-r2.ebuild | 91 | ||||
-rw-r--r-- | games-strategy/wesnoth/Manifest | 6 | ||||
-rw-r--r-- | games-strategy/wesnoth/wesnoth-1.18.2.ebuild (renamed from games-strategy/wesnoth/wesnoth-1.17.20.ebuild) | 7 | ||||
-rw-r--r-- | games-strategy/wesnoth/wesnoth-1.19.1.ebuild | 107 |
9 files changed, 117 insertions, 414 deletions
diff --git a/games-strategy/Manifest.gz b/games-strategy/Manifest.gz Binary files differindex c2350c91cccd..fa6e538746c4 100644 --- a/games-strategy/Manifest.gz +++ b/games-strategy/Manifest.gz diff --git a/games-strategy/megaglest/Manifest b/games-strategy/megaglest/Manifest index 5a412adec9fe..4fcf11ad626f 100644 --- a/games-strategy/megaglest/Manifest +++ b/games-strategy/megaglest/Manifest @@ -11,7 +11,5 @@ DIST megaglest-3.13.0-789e1cdf.patch 1543 BLAKE2B f75ce901683b6a9f9578ec6987101f DIST megaglest-3.13.0-e09ba53c.patch 3485 BLAKE2B fa0c94b88726f239957b3fb950c6be2be18e564bbf2cfbc809a069961edae0023d69d629cdaab73ca31bb731fbf0dbbd2103a8b84c3f857f423d08addacde706 SHA512 4785ff6c1967aaacd8e674cdd6f3a2ecd038cd1951a2337899f5d9654376c7549360f65ed36bc9f0e108f6fff809486f38a6f641afc694b248c6a47b1b1f1ebb DIST megaglest-3.13.0-fbd0cfb1.patch 1820 BLAKE2B b3a1bf7ca1b51d948b354e4b9cd2d675dadac7b9f072e11032f117479c5199d1f7cfd87146da46a40387bfeaef8433144e37410aa8c92865048744ae31ffd730 SHA512 960fe1be66eb1737e9292c5956c09902e6761ed8de56d864950268e3e8a5184f59b7cf3521629aeb460842f4423699526d5dd71fa0494c7ac2899cab117e7f45 DIST megaglest-source-3.13.0.tar.xz 1979440 BLAKE2B 9df70502e0dddc754897c989222d0bddbebbb781a16f49ffa2dd30ee1dbd3e88249ccd600fbde8dab712a1286e29651bebfc9add0d255b675e9eb0ca5ba60153 SHA512 5ae74efce55d7ec9f38d7701da9c865458e15223b5a3c5ac829e09dc81e63fbea2a235cae99450ea7333044c5166af82a762a29c5793c75711d1200688518b5c -EBUILD megaglest-3.13.0-r1.ebuild 4714 BLAKE2B 9b0138ae3875091cd0c1b2fbb70eb659c81de2febacb4016c7256f8d58f994d60d53f80bfbece0f8a825a3a69faffa7fbcce1e18981f84666bef4c5c23834ac6 SHA512 ae2aadbb0902837f8189c0e5d1df6b1b6e948bb0885fcf18ad33b30da99e0d47bd6865718a79d3bb4dd88eb40ee58c5bc153190a3e9ed3d09aa862cce39f2465 EBUILD megaglest-3.13.0-r2.ebuild 4726 BLAKE2B 9a26abeecbe5788d9c726d2b30f3b7f557c456868a2d41da0e50cc00444c24373509fbd01958f4175610924e8f345e1c7cfff3b3a0fcd203c429460fdee68e5c SHA512 2a1644a038dd69d264aaa0be34f6f4777d3be7efa7d2168d4f32ed3f85189c446aba455d4e7efdb00ffbf8b580c41bac106ce881f782eef15689675e7dac7096 -EBUILD megaglest-3.13.0.ebuild 3681 BLAKE2B 637c56194556b157e5eabf97051e27a3c988a92d52ba028299490ce5038fb9ff46186e2d59fc689931c4582789d5ef5738f79588c901b14c5ad2a211dc6d613d SHA512 36f9bd1b500ee3c5d05b0df26a862a11db2b7602ff87608a6af8b7191fe3b93def37c697879862fbf038900d1327510f8da64d6cb897a0abb2a5e5fcfc3935a6 MISC metadata.xml 1622 BLAKE2B f4d7dddd0d654cefb22fe3acc00d366501a5fa93243bef3336965fffe2f8500f94eed915e5adf7655a8e1f7a28fcbc2fc49d99a2cdf2899173ffe819cdfdfa80 SHA512 5b65d3bf4ccf9619350293d3669e7a001fcb0f4addcb0c50f56c6ccba2239b87507a796a34d5fc5c3b2d144e740057496220aff2d0699a41db5f37ae8eaad2bc diff --git a/games-strategy/megaglest/megaglest-3.13.0-r1.ebuild b/games-strategy/megaglest/megaglest-3.13.0-r1.ebuild deleted file mode 100644 index 26f172483f1e..000000000000 --- a/games-strategy/megaglest/megaglest-3.13.0-r1.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 2010-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Todo: google-breakpad? - -EAPI=8 - -# src_install() currently requires this -CMAKE_MAKEFILE_GENERATOR="emake" - -LUA_COMPAT=( lua5-{1..4} ) - -# Only needed by certain features -VIRTUALX_REQUIRED="manual" - -WX_GTK_VER="3.0-gtk3" -inherit cmake desktop flag-o-matic lua-single readme.gentoo-r1 virtualx wxwidgets xdg-utils - -DESCRIPTION="Cross-platform 3D realtime strategy game" -HOMEPAGE="https://megaglest.org/ https://github.com/MegaGlest/megaglest-source" -SRC_URI="https://github.com/MegaGlest/megaglest-source/releases/download/${PV}/megaglest-source-${PV}.tar.xz - https://github.com/MegaGlest/megaglest-source/commit/789e1cdf.patch -> ${P}-789e1cdf.patch - https://github.com/MegaGlest/megaglest-source/commit/5801b1fa.patch -> ${P}-5801b1fa.patch - https://github.com/MegaGlest/megaglest-source/commit/412b37d0.patch -> ${P}-412b37d0.patch - https://github.com/MegaGlest/megaglest-source/commit/e09ba53c.patch -> ${P}-e09ba53c.patch - https://github.com/MegaGlest/megaglest-source/commit/fbd0cfb1.patch -> ${P}-fbd0cfb1.patch -" - -LICENSE="GPL-3 BitstreamVera" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="debug +editor fribidi cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 +streflop +tools +unicode wxuniversal +model-viewer videos" - -REQUIRED_USE="${LUA_REQUIRED_USE}" - -COMMON_DEPEND=" - ${LUA_DEPS} - dev-libs/libxml2 - dev-libs/xerces-c[icu] - media-libs/fontconfig - media-libs/freetype - media-libs/ftgl - media-libs/glew:= - net-libs/libircclient - media-libs/libpng:0 - media-libs/libsdl2[X,sound,joystick,opengl,video] - media-libs/libvorbis - media-libs/openal - net-libs/gnutls:= - net-libs/miniupnpc:= - net-misc/curl - sys-libs/zlib - virtual/opengl - virtual/glu - virtual/jpeg:0= - x11-libs/libX11 - x11-libs/libXext - editor? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] ) - fribidi? ( dev-libs/fribidi ) - model-viewer? ( x11-libs/wxGTK:${WX_GTK_VER}[X] ) - videos? ( media-video/vlc ) -" -DEPEND="${COMMON_DEPEND}" -RDEPEND=" - ${COMMON_DEPEND} - ~games-strategy/${PN}-data-${PV} -" - -BDEPEND="sys-apps/help2man - virtual/pkgconfig - editor? ( ${VIRTUALX_DEPEND} ) - model-viewer? ( ${VIRTUALX_DEPEND} )" - -PATCHES=( - "${FILESDIR}/${PN}-3.11.1-cmake-lua.patch" - - # From Fedora and Arch - "${FILESDIR}/${P}-underlink.patch" - "${FILESDIR}/${P}-fix-lua-version-ordering.patch" - "${FILESDIR}/${P}-multiple-definitions.patch" - "${FILESDIR}/${P}-GLEW_ERROR_NO_GLX_DISPLAY.patch" - "${FILESDIR}/${P}-help2man.patch" - - # Fix build with wxWidgets 3.2 - "${DISTDIR}/${P}-789e1cdf.patch" - "${DISTDIR}/${P}-5801b1fa.patch" - "${DISTDIR}/${P}-412b37d0.patch" - "${DISTDIR}/${P}-e09ba53c.patch" - "${FILESDIR}/${P}-fbd0cfb1.patch" -) - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS="DO NOT directly edit glest.ini and glestkeys.ini but rather glestuser.ini -and glestuserkeys.ini in ~/.megaglest/ and create your user over-ride -values in these files. - -If you have an older graphics card which only supports OpenGL 1.2, and the -game crashes when you try to play, try starting with 'megaglest --disable-vbo' -Some graphics cards may require setting Max Lights to 1. -" - -src_prepare() { - cmake_src_prepare - - if use editor || use model-viewer ; then - setup-wxwidgets - fi -} - -src_configure() { - # -Werror=odr - # https://bugs.gentoo.org/926143 - # https://github.com/MegaGlest/megaglest-source/issues/275 - filter-lto - - if use cpu_flags_x86_sse3; then - SSE=3 - elif use cpu_flags_x86_sse2; then - SSE=2 - elif use cpu_flags_x86_sse; then - SSE=1 - else - SSE=0 - fi - - local mycmakeargs=( - -DWANT_GIT_STAMP=OFF - -DWANT_USE_FriBiDi="$(usex fribidi)" - -DBUILD_MEGAGLEST_MAP_EDITOR="$(usex editor)" - -DBUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS="$(usex tools)" - -DBUILD_MEGAGLEST_MODEL_VIEWER="$(usex model-viewer)" - -DWANT_USE_VLC="$(usex videos)" - -DFORCE_LUA_VERSION="$(lua_get_version)" - -DFORCE_MAX_SSE_LEVEL="${SSE}" - -DWANT_USE_FTGL=ON - -DWANT_STATIC_LIBS=OFF - -DWANT_USE_STREFLOP="$(usex streflop)" - -DwxWidgets_USE_STATIC=OFF - -DwxWidgets_USE_UNICODE="$(usex unicode)" - -DwxWidgets_USE_UNIVERSAL="$(usex wxuniversal)" - - $(usex debug "-DBUILD_MEGAGLEST_UPNP_DEBUG=ON -DwxWidgets_USE_DEBUG=ON" "") - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile -} - -src_install() { - # rebuilds some targets randomly without fast option - emake -C "${BUILD_DIR}" DESTDIR="${D}" "$@" install/fast - - dodoc docs/{AUTHORS.source_code,CHANGELOG,README}.txt - - use editor && - make_desktop_entry ${PN}_editor "MegaGlest Map Editor" - use model-viewer && - make_desktop_entry ${PN}_g3dviewer "MegaGlest Model Viewer" - - readme.gentoo_create_doc - einstalldocs -} - -pkg_postinst() { - xdg_icon_cache_update - readme.gentoo_print_elog -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/games-strategy/megaglest/megaglest-3.13.0.ebuild b/games-strategy/megaglest/megaglest-3.13.0.ebuild deleted file mode 100644 index 1a07d154d993..000000000000 --- a/games-strategy/megaglest/megaglest-3.13.0.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 2010-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Todo: google-breakpad? - -EAPI=7 - -# src_install() currently requires this -CMAKE_MAKEFILE_GENERATOR="emake" - -LUA_COMPAT=( lua5-{1..2} ) - -# Only needed by certain features -VIRTUALX_REQUIRED="manual" - -WX_GTK_VER="3.0-gtk3" -inherit cmake desktop flag-o-matic lua-single virtualx wxwidgets xdg-utils - -DESCRIPTION="Cross-platform 3D realtime strategy game" -HOMEPAGE="https://megaglest.org/ https://github.com/MegaGlest/megaglest-source" -SRC_URI="https://github.com/MegaGlest/megaglest-source/releases/download/${PV}/megaglest-source-${PV}.tar.xz" - -LICENSE="GPL-3 BitstreamVera" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="debug +editor fribidi cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 +streflop +tools +unicode wxuniversal +model-viewer videos" - -REQUIRED_USE="${LUA_REQUIRED_USE}" - -RDEPEND=" - ${LUA_DEPS} - ~games-strategy/${PN}-data-${PV} - dev-libs/libxml2 - dev-libs/xerces-c[icu] - media-libs/fontconfig - media-libs/freetype - media-libs/ftgl - media-libs/glew:= - net-libs/libircclient - media-libs/libpng:0 - media-libs/libsdl2[X,sound,joystick,opengl,video] - media-libs/libvorbis - media-libs/openal - net-libs/gnutls:= - net-libs/miniupnpc:= - net-misc/curl - sys-libs/zlib - virtual/opengl - virtual/glu - virtual/jpeg:0= - x11-libs/libX11 - x11-libs/libXext - editor? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] ) - fribidi? ( dev-libs/fribidi ) - model-viewer? ( x11-libs/wxGTK:${WX_GTK_VER}[X] ) - videos? ( media-video/vlc ) -" -DEPEND="${RDEPEND}" - -BDEPEND="sys-apps/help2man - virtual/pkgconfig - editor? ( ${VIRTUALX_DEPEND} ) - model-viewer? ( ${VIRTUALX_DEPEND} )" - -PATCHES=( - "${FILESDIR}/${PN}-3.11.1-cmake-lua.patch" -) - -src_prepare() { - cmake_src_prepare - - if use editor || use model-viewer ; then - setup-wxwidgets - fi -} - -src_configure() { - # See https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common - append-cflags -fcommon - - if use cpu_flags_x86_sse3; then - SSE=3 - elif use cpu_flags_x86_sse2; then - SSE=2 - elif use cpu_flags_x86_sse; then - SSE=1 - else - SSE=0 - fi - - local mycmakeargs=( - -DWANT_USE_FriBiDi="$(usex fribidi)" - -DBUILD_MEGAGLEST_MAP_EDITOR="$(usex editor)" - -DBUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS="$(usex tools)" - -DBUILD_MEGAGLEST_MODEL_VIEWER="$(usex model-viewer)" - -DWANT_USE_VLC="$(usex videos)" - -DFORCE_LUA_VERSION="$(lua_get_version)" - -DFORCE_MAX_SSE_LEVEL="${SSE}" - -DWANT_USE_FTGL=ON - -DWANT_STATIC_LIBS=OFF - -DWANT_USE_STREFLOP="$(usex streflop)" - -DwxWidgets_USE_STATIC=OFF - -DwxWidgets_USE_UNICODE="$(usex unicode)" - -DwxWidgets_USE_UNIVERSAL="$(usex wxuniversal)" - - $(usex debug "-DBUILD_MEGAGLEST_UPNP_DEBUG=ON -DwxWidgets_USE_DEBUG=ON" "") - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile -} - -src_install() { - # rebuilds some targets randomly without fast option - emake -C "${BUILD_DIR}" DESTDIR="${D}" "$@" install/fast - - dodoc docs/{AUTHORS.source_code,CHANGELOG,README}.txt - - use editor && - make_desktop_entry ${PN}_editor "MegaGlest Map Editor" - use model-viewer && - make_desktop_entry ${PN}_g3dviewer "MegaGlest Model Viewer" -} - -pkg_postinst() { - einfo - elog 'Note about Configuration:' - elog 'DO NOT directly edit glest.ini and glestkeys.ini but rather glestuser.ini' - elog 'and glestuserkeys.ini in ~/.megaglest/ and create your user over-ride' - elog 'values in these files.' - elog - elog 'If you have an older graphics card which only supports OpenGL 1.2, and the' - elog 'game crashes when you try to play, try starting with "megaglest --disable-vbo"' - elog 'Some graphics cards may require setting Max Lights to 1.' - einfo - - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/games-strategy/scorched3d/Manifest b/games-strategy/scorched3d/Manifest index 0b0f6d817db7..827446d03c75 100644 --- a/games-strategy/scorched3d/Manifest +++ b/games-strategy/scorched3d/Manifest @@ -12,6 +12,5 @@ AUX scorched3d-44-wxgtk.patch 7001 BLAKE2B b120e1cc12343fa5be2e4348930d2656eb2c7 AUX scorched3d-44-wxgtk32.patch 548 BLAKE2B d17ce751427f259c042893604ae6558c829ffda86654452ecbd49c5c6ab38d8fdd95e5b2bebda0a58bb2ccd45575b6c94c238abc2d5771e9d4389a8a7b0de16b SHA512 239fe6451861709c90f8bf292913a91525765893c2d64f2579304b5cc88f9c844968507244e70edf8a3038177caf894849f90404098c9943d9d809576cc6d3c7 DIST Scorched3D-44-src.tar.gz 41689613 BLAKE2B 61f5536ad6e9dedeb0e778f90d73aa918f890632385278d4d788a43f1e199e817d6199f923c264dadbe8084fa53c32968b599c9b08784de0d5752069f9bed818 SHA512 27341d12ef9db5b64c1051a8abe45cef8a957e26c2cd8928f64c071589052d2857fc6f8104772bb67d5d348aef14122a117d9e00d61e4d9f963f3b5bbe5859ca DIST scorched3d.png 4559 BLAKE2B dba1c4021844b71cea7e71132f6a1ff6ecfbd5bcf8978210b56100d005accdcb85eaa619406863dc0582413cd1d4c0c07d7d1924cbcef49d80af7eaaf77c41ff SHA512 3034e7ff643443bbc283c0c566d0ef062c10b9f7d326f005ebbe87e68b795cafff20ce65dd4656057aac7982eee4cff44196e0e38a3b6bbd556c98439e3950d4 -EBUILD scorched3d-44-r2.ebuild 2317 BLAKE2B 422482f3bf955f54d6a0a3d1ae2c011c1bca4825fd1267270dc4954265ab9ea95c283f10e8ce44235a45525d5af59af41785c2c5d9b218c1d9e00a617529b0c4 SHA512 31dfa24eb7f2c33a8a7daa57f7b0bcc477c24cdcb556ea770bb1e163b28fa378b1dcc004728488eca8a3044bc6fd21e585330da2731beb379dac000b3da8b491 EBUILD scorched3d-44-r3.ebuild 2724 BLAKE2B 56929a5a5deba2c33f71cea6ce6c412b95040b29ad0a0b2c78783d6304d4040357542467cb414a06dad1f48f5c34b50e8c44db22ab73d015ad18e40a3578c104 SHA512 350660aae03ab2281571a1f207e92d9f016502347280e5fc0a5ed2593f2b396eea977cc62369003c42f71b1dfa64cc35608e960df01ea5661c30a8d87677438d MISC metadata.xml 334 BLAKE2B dfd62c816fbf4cf4f400052ff02c95147b6f4114c5523a8c5be6cedb667b021b3e61f179e8abbdf5f1be47980592977cefb1d6cf2aab2e13cc0b210e031ba3ee SHA512 19e29955c5d1d53fcf1f03c28200201785a0d7c349a1a71a102d06cc003f8e43e057404382aa0354c9f3c69105dc063a3a56648665031555b35f7426118f4224 diff --git a/games-strategy/scorched3d/scorched3d-44-r2.ebuild b/games-strategy/scorched3d/scorched3d-44-r2.ebuild deleted file mode 100644 index c6cea36cfce0..000000000000 --- a/games-strategy/scorched3d/scorched3d-44-r2.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -WX_GTK_VER="3.0" -inherit autotools desktop edos2unix wxwidgets - -DESCRIPTION="Multi-player tank battle in 3D (OpenGL)" -HOMEPAGE="http://www.scorched3d.co.uk/" -SRC_URI="https://downloads.sourceforge.net/scorched3d/Scorched3D-${PV}-src.tar.gz" -S="${WORKDIR}/scorched" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="dedicated mysql" - -RDEPEND=" - dev-libs/expat - media-fonts/dejavu - media-libs/libpng:0= - media-libs/libsdl[video] - media-libs/sdl-net - sys-libs/zlib - virtual/jpeg:0 - !dedicated? ( - virtual/opengl - virtual/glu - media-libs/glew:0= - media-libs/libogg - media-libs/libvorbis - media-libs/openal - media-libs/freealut - x11-libs/wxGTK:${WX_GTK_VER}[X] - media-libs/freetype:2 - sci-libs/fftw:3.0= - ) - mysql? ( virtual/mysql )" -DEPEND="${RDEPEND}" -BDEPEND="!dedicated? ( virtual/pkgconfig )" - -PATCHES=( - "${FILESDIR}"/${P}-fixups.patch - "${FILESDIR}"/${P}-gcc43.patch - "${FILESDIR}"/${P}-odbc.patch - "${FILESDIR}"/${P}-win32.patch - "${FILESDIR}"/${P}-freetype.patch - "${FILESDIR}"/${P}-jpeg9.patch - "${FILESDIR}"/${P}-wxgtk.patch - "${FILESDIR}"/${P}-fix-c++14.patch -) - -src_prepare() { - edos2unix \ - src/launcher/wxdialogs/SettingsDialog.cpp \ - src/launcher/wxdialogs/DisplayDialog.cpp \ - src/launcher/wxdialogs/Display.cpp \ - src/launcher/wxdialogs/KeyDialog.cpp - default - eautoreconf -} - -src_configure() { - setup-wxwidgets - econf \ - --datadir="${EPREFIX}"/usr/share/${PN} \ - --with-fftw="${EPREFIX}"/usr \ - --with-ogg="${EPREFIX}"/usr \ - --with-vorbis="${EPREFIX}"/usr \ - --with-docdir="${EPREFIX}"/usr/share/doc/${PF} \ - --with-wx-config="${WX_CONFIG}" \ - --without-pgsql \ - $(use_with mysql) \ - $(use_enable dedicated serveronly) -} - -src_install() { - default - - # remove bundled fonts - rm "${ED}"/usr/share/${PN}/data/fonts/* || die - dosym ../../../fonts/dejavu/DejaVuSans.ttf /usr/share/${PN}/data/fonts/dejavusans.ttf - dosym ../../../fonts/dejavu/DejaVuSansCondensed-Bold.ttf /usr/share/${PN}/data/fonts/dejavusconbd.ttf - dosym ../../../fonts/dejavu/DejaVuSansMono-Bold.ttf /usr/share/${PN}/data/fonts/dejavusmobd.ttf - - if ! use dedicated; then - newicon data/images/tank-old.bmp ${PN}.bmp - make_desktop_entry ${PN} "Scorched 3D" /usr/share/pixmaps/${PN}.bmp - fi -} diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest index 50c8c4fe9b3f..0f8ea853a96e 100644 --- a/games-strategy/wesnoth/Manifest +++ b/games-strategy/wesnoth/Manifest @@ -2,9 +2,11 @@ AUX wesnoth-1.16.10-boost-1.83.patch 787 BLAKE2B 943668f101ea223257131c83a1b4441 AUX wesnoth-1.18.0-boost-1.85.patch 348 BLAKE2B 173b502ede81a4dbc276bee963d117a8857a660109cdcd51f9848aa3918b42b5a3e5e5d632708cdc2802b699db3afb7237de231e44dfc8a2ff43e8297ac154ca SHA512 7895598c6c143954230fba9fb5d0d9d97457286767ecde6e83ef94b32c83befc56b55aedc201917ebc5515d31b88369d435dc93fc857798a3767bfa728a5eeef AUX wesnothd.rc-r1 511 BLAKE2B 57e8b21313e5cb677dcdac3b046caf5b1e5f690f357373c48779afa9ea969de855e8ea4849298963891d0c2b029cc1897d97d0069b5087a1496db9061a468d7f SHA512 609c3c2eb2846735610904bcc913a0db9c8daeedde77da8911ea7e85deec805ba103519785cea1c767444c46df5985c6c630ceed550085ab5527e51ff01d65ab DIST wesnoth-1.16.10.tar.gz 518628374 BLAKE2B 7aaed481607bc58e9d0f22e4c4a36f24f19b4fc522ce3c1eb6366e70e3bd901a10f055d2add9dc1c73519368fd4a31cd6b326e42b1be0023eeda370076db0742 SHA512 0473ec4e4b7a33a37c2ff52b4e0c3dccec2e58a087517566967409dda03952127bf560b09cfccc7243f506201d98980aafdf289b7f1e5345a7e3b4316a908240 -DIST wesnoth-1.17.20.tar.bz2 424613262 BLAKE2B acf8b6a9213b1fea9370c76cc7e63001fa34777357ab791db8380ca684195e830385939d0e31fbb058e5c84ebce74f084d9884bdf27d1ecb662e28dbcb477dab SHA512 b7eaaf624e84b28eca7d702a791fbe7c6b9e833d3e4f9d61ee79c70737ec396b81b2cefedae0ef272ec5384d71c28a4b083bf837591f6ce2c345d79f43b1e87e DIST wesnoth-1.18.0.tar.bz2 460686063 BLAKE2B 9dd898a6b430999873ae001dad47b2bcadcbbfc4672bf4489533c0268a4bf982a4e4451f79bf62bb1ac66d4ba2f06b62484b2b1b1fccb2e434c4ceef95a2c2bc SHA512 7c7cd1021d9af2e790f3973ae258d7e401b665102cfcdb9e7fb400471d8488b7fa3f35a17a32c53b646d707dcc0508fef379ae6ce2dc79f1d675a7b2ec0e50c2 +DIST wesnoth-1.18.2.tar.bz2 461290798 BLAKE2B 6ff9538eca7f65e7413d9b220b07b5f76ad14b7853cb2b33195098f01544a6e3ba2603f927c55c2f5a42a4b3c148655483610beab985332737c4e0cf54be15df SHA512 de4d8ceaf29a93c174e9f832825542885bb90c4f481b6b248cc875cb0b1054435df3c2080c7693842b5e857af091e9219fa10b702d4fe63757f3d28871b63d4c +DIST wesnoth-1.19.1.tar.bz2 461918324 BLAKE2B 8fa97526831e14957449a0b33909b7d155be00659d9543efbea34bd7935fb05b4e99a419dcc2e9c426a2e0fb4fb1d40c2972236d0da5a1661970eb80103f04fc SHA512 73ab7d474b01ac753224f0c694a86679a28160e340a07d87b8f96398df2c39c39df95098b750516e7e69851843e68954b5939ae68dc3a232ec2e9cad256d1113 EBUILD wesnoth-1.16.10.ebuild 2322 BLAKE2B cd96d39da2b17ee4ab3d244e9716c53067220a24ff0323c57ef48b83ecefb67cc32288a6f53eeab8f3e0782f6074f45d4caec308807d3bbf58dc9cf288064567 SHA512 ea2be082e8ce3df3de5af279d07d344448830bc30ad69338729e8d899842fd3f122bbac2e1dc8f793ca336977627cbc4a06d44a9fd8119b0a41b4f41230f0f5c -EBUILD wesnoth-1.17.20.ebuild 2246 BLAKE2B 4970ac0ecc9362777b095bd18349bb55cb7e3957fe5bef4f4dfd1a9dea135c73ef9957ccf9d6ca5952ec7571d13f5d9d8893d336ead7d9b4d7edbd3b542061b3 SHA512 b7e968364900812c2fd2cbe39111b58c743ee9b9819f6bf0fc6036321c001ecf7fea7d383f0e32ac2ade771e25a5d1dfd33ae0d615ae88164af7be0dd8473db3 EBUILD wesnoth-1.18.0.ebuild 2405 BLAKE2B 3968383067bdc4f69a9a8ce14dbc83df5c8d7cc6fef8699169e422a86e83608008b6c1e33a8b6665971e9f2b3c8d42eb0f630ad09273b10c3df51d261e45e0ad SHA512 ca1f77d4de4ae9200c6df8af85e1dba5f8a49d35fafe05136ed2df43bf192730d2eabdc184d12758f17c9904838a697d7ae9df31d4c6ca5c3bf1a7b40f4f7bf8 +EBUILD wesnoth-1.18.2.ebuild 2346 BLAKE2B 2b28275cd43c0392a6c763ea60885dfc42ac4841afa64ed5b8cad12994dc6d863e4b4c079f721ad32b2c0ea82a7bfa4dc2aa2b76c808888d72ef4545bcbf7d0f SHA512 4da20189773ed38a24a516bc19b00444b9804319eb3e5687c621d09bd9e1889f66f37f522e19bf1941a8e722e03c36ec65b67a5d53eb4611c9983f368f5f39e7 +EBUILD wesnoth-1.19.1.ebuild 2346 BLAKE2B 7e6e442c416c5c0b3e700f5eb89fafa037d1cf71ed7ae3d5e2f56d2f30f3f569164c19e88283479769c897f44458e6dd42d65105afcd4bbdb2221994d3d44e79 SHA512 6ac04ec964bd9585734b0d23a0991abe6d73a874e552af08d9cdf5a5dbe046bcbf6673cdad628b4071dcef7f7bdd3618d1df2dac4f913fe11884000aa14ca0e7 MISC metadata.xml 475 BLAKE2B fe3a0b92f39b2158ec38fe2d7528463bb243cc44df562f7ad450227b35bab1d59a1638fe1d702cd70358a0137851e08be1878d590afbcc28dd19176b2a7df7fd SHA512 6293671db448eef2a211ae8dbb88624a42ac46712331db441a55d44566e7843f820047dde7936d725fea6d24a8196223e30712ffbd3864e63614f7f849cda6b4 diff --git a/games-strategy/wesnoth/wesnoth-1.17.20.ebuild b/games-strategy/wesnoth/wesnoth-1.18.2.ebuild index eb3ae4211e88..4b40f0539945 100644 --- a/games-strategy/wesnoth/wesnoth-1.17.20.ebuild +++ b/games-strategy/wesnoth/wesnoth-1.18.2.ebuild @@ -22,7 +22,7 @@ RDEPEND=" acct-group/wesnoth acct-user/wesnoth dev-libs/boost:=[bzip2,context,icu,nls] - >=media-libs/libsdl2-2.0.4:0[joystick,video,X] + >=media-libs/libsdl2-2.0.10:0[joystick,video,X] !dedicated? ( dev-libs/glib:2 dev-libs/openssl:0= @@ -92,6 +92,11 @@ src_configure() { cmake_src_configure } +src_test() { + # Allow SDL_Mixer test to pass, bug #931551 + SDL_AUDIODRIVER=dummy cmake_src_test +} + src_install() { local DOCS=( README.md changelog.md ) cmake_src_install diff --git a/games-strategy/wesnoth/wesnoth-1.19.1.ebuild b/games-strategy/wesnoth/wesnoth-1.19.1.ebuild new file mode 100644 index 000000000000..19a65877e088 --- /dev/null +++ b/games-strategy/wesnoth/wesnoth-1.19.1.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2024 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://downloads.sourceforge.net/${PN}/${P}.tar.bz2" + +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] + >=media-libs/libsdl2-2.0.18: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,webp] + >=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 + + local mycmakeargs=() + + 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_test() { + # Allow SDL_Mixer test to pass, bug #931551 + SDL_AUDIODRIVER=dummy cmake_src_test +} + +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 +} |