mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
games-strategy/wesnoth: drop 1.16.9, 1.17.19
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
DIST wesnoth-1.16.10.tar.gz 518628374 BLAKE2B 7aaed481607bc58e9d0f22e4c4a36f24f19b4fc522ce3c1eb6366e70e3bd901a10f055d2add9dc1c73519368fd4a31cd6b326e42b1be0023eeda370076db0742 SHA512 0473ec4e4b7a33a37c2ff52b4e0c3dccec2e58a087517566967409dda03952127bf560b09cfccc7243f506201d98980aafdf289b7f1e5345a7e3b4316a908240
|
||||
DIST wesnoth-1.16.9.tar.gz 518511920 BLAKE2B bc9bfa9b514e72ce732a4256f765976f5be806d12dd962b2b396ffa8646acaa84c1bb1f4b20368886579782f8236c0d71f296bb5bd2451d4b0d8f6ce46bc3a18 SHA512 313aaad95c66757a952c00f1e5a515ce61bcf7564d6555802bc2619714d038a9a5607f3395e3e8afe5f216205e5b9b07b651789a749b4de37b30f8b8a47cb47f
|
||||
DIST wesnoth-1.17.19.tar.bz2 424402790 BLAKE2B bfb594b2c6421f8c553fda4db7ee9df57f7a5c9ed5589354c5360abe8e7d155720c9b904e8c480ade106308e4e0202ee209bb2550455a45b2dd4dc4a32428c14 SHA512 4c43d462a512525640448069c14bb0690ba3bddba793568810c1f3a3af6b26caa922d5e893b6ec5579f23ed244e4cce6604fbc9aa162809050422fe0e44364e4
|
||||
DIST wesnoth-1.17.20.tar.bz2 424613262 BLAKE2B acf8b6a9213b1fea9370c76cc7e63001fa34777357ab791db8380ca684195e830385939d0e31fbb058e5c84ebce74f084d9884bdf27d1ecb662e28dbcb477dab SHA512 b7eaaf624e84b28eca7d702a791fbe7c6b9e833d3e4f9d61ee79c70737ec396b81b2cefedae0ef272ec5384d71c28a4b083bf837591f6ce2c345d79f43b1e87e
|
||||
DIST wesnoth-1.18.0.tar.bz2 460686063 BLAKE2B 9dd898a6b430999873ae001dad47b2bcadcbbfc4672bf4489533c0268a4bf982a4e4451f79bf62bb1ac66d4ba2f06b62484b2b1b1fccb2e434c4ceef95a2c2bc SHA512 7c7cd1021d9af2e790f3973ae258d7e401b665102cfcdb9e7fb400471d8488b7fa3f35a17a32c53b646d707dcc0508fef379ae6ce2dc79f1d675a7b2ec0e50c2
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
# Copyright 1999-2023 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]
|
||||
>=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
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.16.8-gcc-13.patch
|
||||
)
|
||||
|
||||
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_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
|
||||
}
|
||||
@@ -1,102 +0,0 @@
|
||||
# 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.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,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_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
|
||||
}
|
||||
Reference in New Issue
Block a user