Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/wesnoth/
Date: Thu, 17 Sep 2020 07:36:42
Message-Id: 1600328194.5a80371ffa1f4f625342406fce6ffaac0ba274a7.polynomial-c@gentoo
1 commit: 5a80371ffa1f4f625342406fce6ffaac0ba274a7
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 17 07:36:26 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 17 07:36:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a80371f
7
8 games-strategy/wesnoth: Removed old
9
10 Package-Manager: Portage-3.0.7, Repoman-3.0.1
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 games-strategy/wesnoth/Manifest | 1 -
14 games-strategy/wesnoth/wesnoth-1.14.11.ebuild | 111 --------------------------
15 2 files changed, 112 deletions(-)
16
17 diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest
18 index 7a0a7786d91..88463ebb505 100644
19 --- a/games-strategy/wesnoth/Manifest
20 +++ b/games-strategy/wesnoth/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST wesnoth-1.14.11.tar.gz 500178610 BLAKE2B 27af594bc86845eedb8cd8e45c814c3583e35bd94942947f91b6fa888018ae203dbd100e01ab26b5cd59712895151049105ff446d8ad3a8b2d86133d913a92cc SHA512 3c878f679e51d3657dd4d76205bdeadd6a1a95d0771cd7ab0e29f33f36e32f1963e4a96f4529dbc4b860183b3cb5a4219e86108e0e26194b8a32d3d08a5fd469
23 DIST wesnoth-1.14.13.tar.gz 502959933 BLAKE2B 48f2e4340e9ae015c2e45f75f419ddfbb95a436a4ffbebbe417fdcf322e162ed0ad799680757adb88e19cba717cc48ec0e3d83c4c170e3502fea7be73a39a0c7 SHA512 ee1b7a93e2ae49698ec185cf6385cd93a49116315ebdec474bd5d5b73ab6af59db92ee5621fab68581edd81c74d8584237d5068fd30362054377d84a3dcb5ea0
24 DIST wesnoth-1.14.14.tar.gz 502931191 BLAKE2B 25bbead74d74bbce9c47b5ac9339fd5b4d996cb9f80137f0b1d9a600c71c82b732ed66937419a4dd59995311685960630415daf3fd3f51e8cf891f29a16ec024 SHA512 3924aa26b59445568472a10c5fe0e1ddf87eb0a878faf2bcc52d4618f5743dfeda103d1f4025f4a129628e6a25f4c16407e968d594769a0751ada2c9a733e2e4
25 DIST wesnoth-1.15.4.tar.gz 500087559 BLAKE2B bb46766369cfcb1432b5b5e8df62636e2a45ff45bf3ec4381aa9e73b20a4a5a6e196f0355b10d2b86ffad608cfdd24f8d2fad21061db9b18f1a2decf11b0e466 SHA512 b209e584a187934b0ca3808cb870f4703b49edd5de357b6a6b01bdad2c71b8d755b81d3628c5281cd19f82ee8d030716d6bf64a806e6636426949b0a3d85ee9d
26
27 diff --git a/games-strategy/wesnoth/wesnoth-1.14.11.ebuild b/games-strategy/wesnoth/wesnoth-1.14.11.ebuild
28 deleted file mode 100644
29 index 407e3840468..00000000000
30 --- a/games-strategy/wesnoth/wesnoth-1.14.11.ebuild
31 +++ /dev/null
32 @@ -1,111 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit cmake flag-o-matic toolchain-funcs xdg
39 -
40 -DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
41 -HOMEPAGE="http://www.wesnoth.org
42 - https://github.com/wesnoth/wesnoth"
43 -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -# uneven minor versions are development versions
48 -if [[ $(( $(ver_cut 2) % 2 )) == 0 ]] ; then
49 - KEYWORDS="~amd64 ~x86"
50 -fi
51 -IUSE="dbus dedicated doc fribidi libressl nls server"
52 -
53 -RDEPEND="
54 - acct-group/wesnoth
55 - acct-user/wesnoth
56 - >=dev-libs/boost-1.50:=[nls,threads,icu]
57 - >=media-libs/libsdl2-2.0.4:0[joystick,video,X]
58 - !dedicated? (
59 - dev-libs/glib:2
60 - !libressl? ( dev-libs/openssl:0= )
61 - libressl? ( dev-libs/libressl:0= )
62 - >=media-libs/fontconfig-2.4.1
63 - >=media-libs/sdl2-image-2.0.0[jpeg,png]
64 - >=media-libs/sdl2-mixer-2.0.0[vorbis]
65 - >=media-libs/sdl2-ttf-2.0.12
66 - media-libs/libvorbis
67 - >=x11-libs/pango-1.22.0
68 - >=x11-libs/cairo-1.10.0
69 - sys-libs/readline:0=
70 - dbus? ( sys-apps/dbus )
71 - fribidi? ( dev-libs/fribidi )
72 - )"
73 -DEPEND="${RDEPEND}
74 - x11-libs/libX11
75 -"
76 -BDEPEND="
77 - sys-devel/gettext
78 - virtual/pkgconfig
79 -"
80 -
81 -src_prepare() {
82 - cmake_src_prepare
83 -
84 - if ! use doc ; then
85 - sed -i \
86 - -e '/manual/d' \
87 - doc/CMakeLists.txt || die
88 - fi
89 -
90 - # respect LINGUAS (bug #483316)
91 - if [[ ${LINGUAS+set} ]] ; then
92 - local lang langs=()
93 - for lang in $(cat po/LINGUAS) ; do
94 - has ${lang} ${LINGUAS} && langs+=( ${lang} )
95 - done
96 - echo "${langs[@]}" > po/LINGUAS || die
97 - fi
98 -}
99 -
100 -src_configure() {
101 - filter-flags -ftracer -fomit-frame-pointer
102 - if [[ $(gcc-major-version) -eq 3 ]] ; then
103 - filter-flags -fstack-protector
104 - append-flags -fno-stack-protector
105 - fi
106 -
107 - # Work around eclass
108 - append-flags -UNDEBUG
109 -
110 - if use dedicated || use server ; then
111 - mycmakeargs=(
112 - -DENABLE_CAMPAIGN_SERVER="ON"
113 - -DENABLE_SERVER="ON"
114 - -DSERVER_UID="${PN}"
115 - -DSERVER_GID="${PN}"
116 - -DFIFO_DIR="/run/wesnothd"
117 - )
118 - else
119 - mycmakeargs=(
120 - -DENABLE_CAMPAIGN_SERVER="OFF"
121 - -DENABLE_SERVER="OFF"
122 - )
123 - fi
124 - mycmakeargs+=(
125 - -Wno-dev
126 - -DENABLE_GAME="$(usex !dedicated)"
127 - -DENABLE_DESKTOP_ENTRY="$(usex !dedicated)"
128 - -DENABLE_NLS="$(usex nls)"
129 - -DENABLE_NOTIFICATIONS="$(usex dbus)"
130 - -DENABLE_FRIBIDI="$(usex fribidi)"
131 - -DENABLE_STRICT_COMPILATION="OFF"
132 - )
133 - cmake_src_configure
134 -}
135 -
136 -src_install() {
137 - local DOCS=( README.md changelog.md )
138 - cmake_src_install
139 - if use dedicated || use server; then
140 - rmdir "${ED}/run/wesnothd" || die
141 - newinitd "${FILESDIR}"/wesnothd.rc-r1 wesnothd
142 - fi
143 -}