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: Tue, 08 Jan 2019 09:25:40
Message-Id: 1546939523.4a04712713af5aeffc4e57c9dc9914e92cbf14e8.polynomial-c@gentoo
1 commit: 4a04712713af5aeffc4e57c9dc9914e92cbf14e8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 8 08:29:09 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 8 09:25:23 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a047127
7
8 games-strategy/wesnoth: Removed old.
9
10 Package-Manager: Portage-2.3.54, Repoman-2.3.12
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.4.ebuild | 115 ---------------------------
15 2 files changed, 116 deletions(-)
16
17 diff --git a/games-strategy/wesnoth/Manifest b/games-strategy/wesnoth/Manifest
18 index 6dd16fa3c36..e7fa1df1e40 100644
19 --- a/games-strategy/wesnoth/Manifest
20 +++ b/games-strategy/wesnoth/Manifest
21 @@ -1,2 +1 @@
22 -DIST wesnoth-1.14.4.tar.gz 489503950 BLAKE2B 2802098a83169d1dd3d0d38052145b7da006992843d748fdc263fe04ed0f485c2a46a93569e2728e152d76361d3651f0f207d2cfdd7b6bb59ae7cdec43680cd7 SHA512 d867d68278075536c61eb87c32dd43bcd832de0dd20f9c941e2c5a2f413b95ba1897b5401721a0e895934afe79bb568ea155d8fe648dac58c519289fc7d12885
23 DIST wesnoth-1.14.5.tar.gz 489848620 BLAKE2B abbf1ae2bb20cfdd2575f5e21eea7db9b32f0a9c7e85101652206477f3dca8ae0aefbf4b0a252c4522565c08900b0a04d39fd5eadb5feb49168dc95db732e50e SHA512 115c7fda3ef77079d871aeae4bc448bf8de1829d7723179f634db10f23ab8c15d2d92c5a36c11aa8dc79fb8f914e95f06143565e2ae950947da35af5f71e1b6e
24
25 diff --git a/games-strategy/wesnoth/wesnoth-1.14.4.ebuild b/games-strategy/wesnoth/wesnoth-1.14.4.ebuild
26 deleted file mode 100644
27 index 9ce29bd54b0..00000000000
28 --- a/games-strategy/wesnoth/wesnoth-1.14.4.ebuild
29 +++ /dev/null
30 @@ -1,115 +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="${EPREFIX}/usr"
134 - )
135 - cmake-utils_src_configure
136 -}
137 -
138 -src_install() {
139 - local DOCS=( README.md changelog.md )
140 - cmake-utils_src_install
141 - if use dedicated || use server; then
142 - rmdir "${ED%/}/run/wesnothd" || die
143 - newinitd "${FILESDIR}"/wesnothd.rc-r1 wesnothd
144 - fi
145 -}