Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/wesnoth/
Date: Wed, 27 Oct 2021 13:28:08
Message-Id: 1635341139.33c9ee82b146a03aeb5d1a14addc6a28ef8fa2cc.ionen@gentoo
1 commit: 33c9ee82b146a03aeb5d1a14addc6a28ef8fa2cc
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 27 11:44:50 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 27 13:25:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33c9ee82
7
8 games-strategy/wesnoth: add missing dep on boost[bzip2,context]
9
10 [context] wrt bug #820470 is newly needed for server. However, it
11 still failed due to the coroutine removal seds. It's /possible/
12 to skip these with non-server but feels messy. Remove them and
13 unconditionally depend on [context] as upstream is expecting and
14 possibly avoid future issues.
15
16 May be older, but lacking [bzip2] also happened to cause failure.
17
18 Side-adjusted /run rmdir to avoid a QA warning. Likely other small
19 issues, did not do a thorough revision.
20
21 Closes: https://bugs.gentoo.org/820470
22 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
23
24 .../wesnoth/{wesnoth-1.16.0.ebuild => wesnoth-1.16.0-r1.ebuild} | 6 ++----
25 1 file changed, 2 insertions(+), 4 deletions(-)
26
27 diff --git a/games-strategy/wesnoth/wesnoth-1.16.0.ebuild b/games-strategy/wesnoth/wesnoth-1.16.0-r1.ebuild
28 similarity index 92%
29 rename from games-strategy/wesnoth/wesnoth-1.16.0.ebuild
30 rename to games-strategy/wesnoth/wesnoth-1.16.0-r1.ebuild
31 index c9a69554f39..0d53e174d56 100644
32 --- a/games-strategy/wesnoth/wesnoth-1.16.0.ebuild
33 +++ b/games-strategy/wesnoth/wesnoth-1.16.0-r1.ebuild
34 @@ -21,7 +21,7 @@ IUSE="dbus dedicated doc nls server"
35 RDEPEND="
36 acct-group/wesnoth
37 acct-user/wesnoth
38 - >=dev-libs/boost-1.50:=[nls,threads(+),icu]
39 + dev-libs/boost:=[bzip2,context,icu,nls,threads(+)]
40 >=media-libs/libsdl2-2.0.4:0[joystick,video,X]
41 !dedicated? (
42 dev-libs/glib:2
43 @@ -46,8 +46,6 @@ BDEPEND="
44 src_prepare() {
45 cmake_src_prepare
46
47 - sed 's@ coroutine@@' -i CMakeLists.txt || die
48 - sed '/Boost::coroutine/d' -i src/CMakeLists.txt || die
49 if ! use doc ; then
50 sed -i \
51 -e '/manual/d' \
52 @@ -100,7 +98,7 @@ src_install() {
53 local DOCS=( README.md changelog.md )
54 cmake_src_install
55 if use dedicated || use server; then
56 - rmdir "${ED}/run/wesnothd" || die
57 + rmdir "${ED}"/run{/wesnothd,} || die
58 newinitd "${FILESDIR}"/wesnothd.rc-r1 wesnothd
59 fi
60 }