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, 12 Mar 2020 10:38:07
Message-Id: 1584009477.8ee4834ceff9048f070ee390c76bf7e1ac59ba89.polynomial-c@gentoo
1 commit: 8ee4834ceff9048f070ee390c76bf7e1ac59ba89
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 12 10:36:50 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 12 10:37:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ee4834c
7
8 games-strategy/wesnoth: Removed old
9
10 Package-Manager: Portage-2.3.93, Repoman-2.3.20
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.7.ebuild | 121 ---------------------------
15 2 files changed, 122 deletions(-)
16
17 diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest
18 index cf60e399b6c..3ccf218ae76 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.7.tar.gz 493837595 BLAKE2B a80781d4f9ec79514c6431c5d45a6cdcb913aabc6329cefe46e7980805d06b60d479110bb6432f2c35a058e551da6b6fa8e0e4f6f1bdf9a159f6329ddb74aa2a SHA512 dbca2b904147f592cc712b11d6414a47bd557d3c677e6b3eacb4fc1ca5420a264f15fdbe45c8c3469ecfb5d1ffa1ac19cceb58c1378aec0e8b4597baa348ca3b
24 DIST wesnoth-1.14.9.tar.gz 497393449 BLAKE2B b5235de6ce84164ef97a105339549a8a1009d7b7ed243ae355994610e56afc584b8a37b1275e0b929729a24cd2eb94d4c208e7bd22e79b76113a1e1b91c8f92d SHA512 b3e93956a40ffc48dd02e118be1d46854a2eed34ad0dca3fb34a28d0b58b4b563cb5cca588208f3525300bf075786bebe95a25c045c8098a0bdfe531a2d81e4f
25 DIST wesnoth-1.15.3.tar.gz 495645949 BLAKE2B aa6b8636ff1b134af5e6e9cfbefefee3189a46ccd20c2a3a3f361d77d3de48d1ae38bf8376087b6292bcacc465ad72bd60ab7aa16b3ca536ce963b6f644b8ff1 SHA512 2a5993c2c2f41939346f88104722e31a1bd0f68b39c84bdf657a7156c1348e6c65089e2766c088a2b5a2c2df8c3cd8c5cf736d66538c87cf175585634e31adbb
26
27 diff --git a/games-strategy/wesnoth/wesnoth-1.14.7.ebuild b/games-strategy/wesnoth/wesnoth-1.14.7.ebuild
28 deleted file mode 100644
29 index b34a3091077..00000000000
30 --- a/games-strategy/wesnoth/wesnoth-1.14.7.ebuild
31 +++ /dev/null
32 @@ -1,121 +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 toolchain-funcs user
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 openmp server"
52 -
53 -RDEPEND="
54 - >=dev-libs/boost-1.50:=[nls,threads,icu]
55 - >=media-libs/libsdl2-2.0.4:0[joystick,video,X]
56 - !dedicated? (
57 - dev-libs/glib:2
58 - !libressl? ( dev-libs/openssl:0= )
59 - libressl? ( dev-libs/libressl:0= )
60 - >=media-libs/fontconfig-2.4.1
61 - >=media-libs/sdl2-image-2.0.0[jpeg,png]
62 - >=media-libs/sdl2-mixer-2.0.0[vorbis]
63 - >=media-libs/sdl2-ttf-2.0.12
64 - media-libs/libvorbis
65 - >=x11-libs/pango-1.22.0
66 - >=x11-libs/cairo-1.10.0
67 - sys-libs/readline:0=
68 - dbus? ( sys-apps/dbus )
69 - fribidi? ( dev-libs/fribidi )
70 - )"
71 -DEPEND="${RDEPEND}
72 - x11-libs/libX11
73 -"
74 -BDEPEND="
75 - sys-devel/gettext
76 - virtual/pkgconfig
77 -"
78 -
79 -PATCHES=( "${FILESDIR}"/${P}-boost-1.70.patch )
80 -
81 -pkg_setup() {
82 - if use openmp; then
83 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
84 - fi
85 -
86 - enewgroup ${PN}
87 - enewuser ${PN} -1 /bin/bash -1 ${PN}
88 -}
89 -
90 -src_prepare() {
91 - cmake_src_prepare
92 -
93 - if ! use doc ; then
94 - sed -i \
95 - -e '/manual/d' \
96 - doc/CMakeLists.txt || die
97 - fi
98 -
99 - # respect LINGUAS (bug #483316)
100 - if [[ ${LINGUAS+set} ]] ; then
101 - local lang langs=()
102 - for lang in $(cat po/LINGUAS) ; do
103 - has ${lang} ${LINGUAS} && langs+=( ${lang} )
104 - done
105 - echo "${langs[@]}" > po/LINGUAS || die
106 - fi
107 -}
108 -
109 -src_configure() {
110 - filter-flags -ftracer -fomit-frame-pointer
111 - if [[ $(gcc-major-version) -eq 3 ]] ; then
112 - filter-flags -fstack-protector
113 - append-flags -fno-stack-protector
114 - fi
115 -
116 - # Work around eclass
117 - append-flags -UNDEBUG
118 -
119 - if use dedicated || use server ; then
120 - mycmakeargs=(
121 - -DENABLE_CAMPAIGN_SERVER="ON"
122 - -DENABLE_SERVER="ON"
123 - -DSERVER_UID="${PN}"
124 - -DSERVER_GID="${PN}"
125 - -DFIFO_DIR="/run/wesnothd"
126 - )
127 - else
128 - mycmakeargs=(
129 - -DENABLE_CAMPAIGN_SERVER="OFF"
130 - -DENABLE_SERVER="OFF"
131 - )
132 - fi
133 - mycmakeargs+=(
134 - -Wno-dev
135 - -DENABLE_GAME="$(usex !dedicated)"
136 - -DENABLE_DESKTOP_ENTRY="$(usex !dedicated)"
137 - -DENABLE_NLS="$(usex nls)"
138 - -DENABLE_NOTIFICATIONS="$(usex dbus)"
139 - -DENABLE_FRIBIDI="$(usex fribidi)"
140 - -DENABLE_OMP="$(usex openmp)"
141 - -DENABLE_STRICT_COMPILATION="OFF"
142 - )
143 - cmake_src_configure
144 -}
145 -
146 -src_install() {
147 - local DOCS=( README.md changelog.md )
148 - cmake_src_install
149 - if use dedicated || use server; then
150 - rmdir "${ED}/run/wesnothd" || die
151 - newinitd "${FILESDIR}"/wesnothd.rc-r1 wesnothd
152 - fi
153 -}