summaryrefslogtreecommitdiff
path: root/games-strategy/wesnoth
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-06 08:06:16 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-06 08:06:16 +0100
commit4187bba080530c5ca1c7dae9c233e88f3fc8f535 (patch)
treeb6f535e053876097ced1b6bda14a4da890c730d4 /games-strategy/wesnoth
parent2a8d2f71d1d9963368e0ef3d641d75979a689d12 (diff)
gentoo auto-resync : 06:07:2024 - 08:06:15
Diffstat (limited to 'games-strategy/wesnoth')
-rw-r--r--games-strategy/wesnoth/Manifest6
-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.ebuild107
3 files changed, 117 insertions, 3 deletions
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
+}