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: Wed, 13 Jun 2018 16:21:55
Message-Id: 1528906839.b7361e5a9c3b7bf530e661a5747dd449ca0de7bd.polynomial-c@gentoo
1 commit: b7361e5a9c3b7bf530e661a5747dd449ca0de7bd
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 13 15:48:25 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 13 16:20:39 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7361e5a
7
8 games-strategy/wesnoth: Removed old.
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 games-strategy/wesnoth/Manifest | 1 -
13 games-strategy/wesnoth/wesnoth-1.14.1-r1.ebuild | 114 ------------------------
14 2 files changed, 115 deletions(-)
15
16 diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest
17 index 13fd084581d..341607d03ad 100644
18 --- a/games-strategy/wesnoth/Manifest
19 +++ b/games-strategy/wesnoth/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST wesnoth-1.14.1.tar.gz 481355736 BLAKE2B 2cc41a36706919bbc505a9a6726ea9b0fbfd5bfde677da937fdde2645587f4407fb6ed2f7271efaf1763f9ab69a57d153130291d5dc0a79862e554963dd37079 SHA512 0372eb9479d3d24dc4bf692a83fe310d5b4493989f18f0a23070ee19a4bee2672efd38babe1579b08a321e3acba1ede5823376619c8a90102f968e53cc6e3f02
22 DIST wesnoth-1.14.2.tar.gz 489041516 BLAKE2B f38f3596edd97096e39ee1e87e13a3d0402d0f9f0f67f25ce1e4a28123abc62ca7b2410c8420a4091d505bf64219cdf92c1cfed562ae2f3705c37685d7c2c20e SHA512 010dcdeaf03d3855192d2480facbfce134459b71acb06515196968dd66b5e1fc40bd75eeeb8b7dd7fc30c9b43af004784d9907893c4b1d61e57436457afc30bb
23 DIST wesnoth-1.14.3.tar.gz 489258637 BLAKE2B bc6c49a768d07387f8f4a285801964acd4476819075cedfd9dd2a0bbe36706e93badd78d4bd4468b687d3d34073c59e4a67dde7a578dabfd26f224233eb87413 SHA512 57c6766edce3b7984da9e6bc795913e1a582e4afac8c287b603ad2173f49d26095af903b3f10938a3b04d4f2921c3a2a5f2239c6c3a4d88222fabd9601a833aa
24
25 diff --git a/games-strategy/wesnoth/wesnoth-1.14.1-r1.ebuild b/games-strategy/wesnoth/wesnoth-1.14.1-r1.ebuild
26 deleted file mode 100644
27 index 5a1f6c5af2e..00000000000
28 --- a/games-strategy/wesnoth/wesnoth-1.14.1-r1.ebuild
29 +++ /dev/null
30 @@ -1,114 +0,0 @@
31 -# Copyright 1999-2018 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -inherit cmake-utils user
36 -
37 -DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game"
38 -HOMEPAGE="http://www.wesnoth.org
39 - https://github.com/wesnoth/wesnoth"
40 -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~x86 ~x86-fbsd"
45 -IUSE="dbus dedicated doc fribidi libressl nls openmp server"
46 -
47 -RDEPEND="
48 - >=dev-libs/boost-1.50:=[nls,threads,icu]
49 - >=media-libs/libsdl2-2.0.4:0[joystick,video,X]
50 - !dedicated? (
51 - dev-libs/glib:2
52 - !libressl? ( dev-libs/openssl:0= )
53 - libressl? ( dev-libs/libressl:0= )
54 - >=media-libs/fontconfig-2.4.1
55 - >=media-libs/sdl2-image-2.0.0[jpeg,png]
56 - >=media-libs/sdl2-mixer-2.0.0[vorbis]
57 - >=media-libs/sdl2-ttf-2.0.12
58 - media-libs/libvorbis
59 - >=x11-libs/pango-1.22.0
60 - >=x11-libs/cairo-1.10.0
61 - sys-libs/readline:0
62 - dbus? ( sys-apps/dbus )
63 - fribidi? ( dev-libs/fribidi )
64 - )"
65 -DEPEND="${RDEPEND}
66 - sys-devel/gettext
67 - virtual/pkgconfig
68 - x11-libs/libX11
69 -"
70 -
71 -pkg_setup() {
72 - if use openmp; then
73 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
74 - fi
75 -
76 - enewgroup ${PN}
77 - enewuser ${PN} -1 /bin/bash -1 ${PN}
78 -}
79 -
80 -src_prepare() {
81 - cmake-utils_src_prepare
82 -
83 - if ! use doc ; then
84 - sed -i \
85 - -e '/manual/d' \
86 - doc/CMakeLists.txt || die
87 - fi
88 -
89 - # respect LINGUAS (bug #483316)
90 - if [[ ${LINGUAS+set} ]] ; then
91 - local langs
92 - for lang in $(cat po/LINGUAS)
93 - 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_OMP="$(usex openmp)"
132 - -DENABLE_STRICT_COMPILATION="OFF"
133 - -DCMAKE_INSTALL_PREFIX="/usr"
134 - )
135 - cmake-utils_src_configure
136 -}
137 -
138 -src_install() {
139 - DOCS="README.md changelog.md players_changelog.md" cmake-utils_src_install
140 - if use dedicated || use server; then
141 - rmdir "${ED%/}/run/wesnothd" || die
142 - newinitd "${FILESDIR}"/wesnothd.rc-r1 wesnothd
143 - fi
144 -}