Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-roguelike/crossfire-client/files/, games-roguelike/crossfire-client/
Date: Tue, 29 Dec 2015 07:41:33
Message-Id: 1451374845.261db4ce67f7bcafa287de17bb9dbb18399ae50a.mr_bones_@gentoo
1 commit: 261db4ce67f7bcafa287de17bb9dbb18399ae50a
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 29 04:00:22 2015 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 29 07:40:45 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=261db4ce
7
8 old
9
10 Package-Manager: portage-2.2.24
11
12 games-roguelike/crossfire-client/Manifest | 1 -
13 .../crossfire-client-1.70.0.ebuild | 80 ----------------------
14 .../crossfire-client-1.71.0.ebuild | 79 ---------------------
15 .../files/crossfire-client-1.70.0-gold.patch | 16 -----
16 4 files changed, 176 deletions(-)
17
18 diff --git a/games-roguelike/crossfire-client/Manifest b/games-roguelike/crossfire-client/Manifest
19 index 67878ea..9c0ddd2 100644
20 --- a/games-roguelike/crossfire-client/Manifest
21 +++ b/games-roguelike/crossfire-client/Manifest
22 @@ -1,2 +1 @@
23 -DIST crossfire-client-1.70.0.tar.gz 801043 SHA256 afa3981785689baa22813ebc3893250c2f73374dda64bfc1dc41e64f4adc60b2 SHA512 ce5b07cd6de03bd2dd28bbb85798ff26ad6764ee5490ba3920b160f6aa109bf5ae409d98855081b4498c3e8fee2e04f2f64a03553366d5f283bca516880e3bd7 WHIRLPOOL b407206deefc5aad6dadabfd37895938587209d3af395cd2a630062fa4102056dd66c01d3e2924d4ae633851b85807735b1d6225eba35194c1c4654181df206e
24 DIST crossfire-client-1.71.0.tar.bz2 761156 SHA256 5427655e756ffb48e75c1d9dc3200afab81efa7f2f00ffdf5dfee51918d5819d SHA512 86710d684fd7908ea9aaf5ba20bff0f1ba01ff0ba90c3e2847afff9d0db6f60c7b671413c8888b513c992fbf27474e744b79df185d5e2c04afc9d2dce3d8665e WHIRLPOOL 7a51aac98d4df3f057e201f900faa2fc5f46c180cc57e11db063307fce4510823cc8ef4da62c72bff9dc9a66756de71b93b2dd2e7e759b02c376c7d973d10f9e
25
26 diff --git a/games-roguelike/crossfire-client/crossfire-client-1.70.0.ebuild b/games-roguelike/crossfire-client/crossfire-client-1.70.0.ebuild
27 deleted file mode 100644
28 index 0dd1ed4..0000000
29 --- a/games-roguelike/crossfire-client/crossfire-client-1.70.0.ebuild
30 +++ /dev/null
31 @@ -1,80 +0,0 @@
32 -# Copyright 1999-2013 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI=5
37 -inherit toolchain-funcs gnome2-utils games
38 -
39 -DESCRIPTION="Client for the nethack-style but more in the line of UO"
40 -HOMEPAGE="http://crossfire.real-time.com/"
41 -SRC_URI="mirror://sourceforge/crossfire/${P}.tar.gz"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -KEYWORDS="amd64 ppc x86"
46 -IUSE="alsa lua oss sdl"
47 -
48 -RDEPEND="alsa? ( media-libs/alsa-lib )
49 - virtual/opengl
50 - x11-libs/gtk+:2
51 - gnome-base/libglade
52 - sdl? ( media-libs/libsdl[video]
53 - media-libs/sdl-image )
54 - lua? ( dev-lang/lua )
55 - net-misc/curl
56 - media-libs/freeglut
57 - media-libs/libpng:0
58 - sys-libs/zlib"
59 -DEPEND="${RDEPEND}
60 - virtual/pkgconfig"
61 -
62 -src_prepare() {
63 - sed -ri -e '/^.TH/s:$: 6:' $(find . -name "*man") || die
64 -}
65 -
66 -src_configure() {
67 - # bugs in configure script so we cant use $(use_enable ...)
68 - local myconf
69 -
70 - use sdl || myconf="${myconf} --disable-sdl"
71 - use alsa || myconf="${myconf} --disable-alsa9 --disable-alsa"
72 - if ! use alsa && ! use oss ; then
73 - myconf="${myconf} --disable-sound"
74 - fi
75 - egamesconf ${myconf}
76 -}
77 -
78 -src_compile() {
79 - # bug 139785
80 - if use alsa || use oss ; then
81 - emake -j1 -C sound-src AR="$(tc-getAR)"
82 - fi
83 - emake AR="$(tc-getAR)"
84 -}
85 -
86 -src_install() {
87 - local s
88 -
89 - emake DESTDIR="${D}" install
90 - dodoc AUTHORS ChangeLog README TODO
91 - domenu gtk-v2/crossfire-client.desktop
92 - for s in 16 32 48
93 - do
94 - newicon -s ${s} pixmaps/${s}x${s}.png ${PN}.png
95 - done
96 - prepgamesdirs
97 -}
98 -
99 -pkg_preinst() {
100 - games_pkg_preinst
101 - gnome2_icon_savelist
102 -}
103 -
104 -pkg_postinst() {
105 - games_pkg_postinst
106 - gnome2_icon_cache_update
107 -}
108 -
109 -pkg_postrm() {
110 - gnome2_icon_cache_update
111 -}
112
113 diff --git a/games-roguelike/crossfire-client/crossfire-client-1.71.0.ebuild b/games-roguelike/crossfire-client/crossfire-client-1.71.0.ebuild
114 deleted file mode 100644
115 index fe4e026..0000000
116 --- a/games-roguelike/crossfire-client/crossfire-client-1.71.0.ebuild
117 +++ /dev/null
118 @@ -1,79 +0,0 @@
119 -# Copyright 1999-2015 Gentoo Foundation
120 -# Distributed under the terms of the GNU General Public License v2
121 -# $Id$
122 -
123 -EAPI=5
124 -inherit toolchain-funcs gnome2-utils games
125 -
126 -DESCRIPTION="Client for the nethack-style but more in the line of UO"
127 -HOMEPAGE="http://crossfire.real-time.com/"
128 -SRC_URI="mirror://sourceforge/crossfire/${P}.tar.bz2"
129 -
130 -LICENSE="GPL-2"
131 -SLOT="0"
132 -KEYWORDS="amd64 ~ppc x86"
133 -IUSE="alsa lua opengl oss sdl"
134 -
135 -RDEPEND="alsa? ( media-libs/alsa-lib )
136 - opengl? ( virtual/opengl
137 - media-libs/freeglut )
138 - x11-libs/gtk+:2
139 - gnome-base/libglade
140 - sdl? ( media-libs/libsdl[video]
141 - media-libs/sdl-image[png] )
142 - lua? ( dev-lang/lua )
143 - net-misc/curl
144 - media-libs/libpng:0
145 - sys-libs/zlib"
146 -DEPEND="${RDEPEND}
147 - virtual/pkgconfig"
148 -
149 -src_prepare() {
150 - sed -ri -e '/^.TH/s:$: 6:' $(find . -name "*man") || die
151 -}
152 -
153 -src_configure() {
154 - # bugs in configure script so we cant use $(use_enable ...)
155 - local myconf
156 -
157 - use sdl || myconf="${myconf} --disable-sdl"
158 - use alsa || myconf="${myconf} --disable-alsa9 --disable-alsa"
159 - if ! use alsa && ! use oss ; then
160 - myconf="${myconf} --disable-sound"
161 - fi
162 - egamesconf ${myconf}
163 -}
164 -
165 -src_compile() {
166 - # bug 139785
167 - if use alsa || use oss ; then
168 - emake -C sound-src AR="$(tc-getAR)"
169 - fi
170 - emake AR="$(tc-getAR)"
171 -}
172 -
173 -src_install() {
174 - local s
175 -
176 - default
177 - domenu gtk-v2/crossfire-client.desktop
178 - for s in 16 32 48
179 - do
180 - newicon -s ${s} pixmaps/${s}x${s}.png ${PN}.png
181 - done
182 - prepgamesdirs
183 -}
184 -
185 -pkg_preinst() {
186 - games_pkg_preinst
187 - gnome2_icon_savelist
188 -}
189 -
190 -pkg_postinst() {
191 - games_pkg_postinst
192 - gnome2_icon_cache_update
193 -}
194 -
195 -pkg_postrm() {
196 - gnome2_icon_cache_update
197 -}
198
199 diff --git a/games-roguelike/crossfire-client/files/crossfire-client-1.70.0-gold.patch b/games-roguelike/crossfire-client/files/crossfire-client-1.70.0-gold.patch
200 deleted file mode 100644
201 index 74dbe13..0000000
202 --- a/games-roguelike/crossfire-client/files/crossfire-client-1.70.0-gold.patch
203 +++ /dev/null
204 @@ -1,16 +0,0 @@
205 -From: Julian Ospald <hasufell@g.o>
206 -Date: Mon Jan 28 08:14:23 UTC 2013
207 -Subject: fix underlinking
208 -
209 ---- crossfire-client-1.70.0/configure.ac
210 -+++ crossfire-client-1.70.0/configure.ac
211 -@@ -242,6 +242,9 @@
212 - AC_PROG_CPP
213 - AC_PROG_RANLIB
214 -
215 -+# Check for X11
216 -+PKG_CHECK_MODULES([X], [x11])
217 -+
218 - AC_SUBST(X_LIBS)
219 - AC_SUBST(X_CFLAGS)
220 -