Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/xye/files/, games-puzzle/xye/
Date: Sat, 30 Sep 2017 02:30:59
Message-Id: 1506738634.a660f57a3be4b7ed7bcdb42c23961e973d42b62a.kensington@gentoo
1 commit: a660f57a3be4b7ed7bcdb42c23961e973d42b62a
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 30 02:30:02 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 30 02:30:34 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a660f57a
7
8 games-puzzle/xye: remove 0.12.1
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 games-puzzle/xye/Manifest | 1 -
13 games-puzzle/xye/files/xye-0.12.1-gcc47.patch | 22 ---------------
14 games-puzzle/xye/xye-0.12.1.ebuild | 40 ---------------------------
15 3 files changed, 63 deletions(-)
16
17 diff --git a/games-puzzle/xye/Manifest b/games-puzzle/xye/Manifest
18 index 179165bae00..04735744778 100644
19 --- a/games-puzzle/xye/Manifest
20 +++ b/games-puzzle/xye/Manifest
21 @@ -1,2 +1 @@
22 -DIST xye-0.12.1.tar.gz 2850776 SHA256 bbeb3265b0795f14deb2851b4a3bda7dde9b07d624a7ca5fb88cd7acabcf3967 SHA512 aadafdb7b8e0546435838279c2929803be8dde00f3f3c08668c35d0a8ccf5bad511e65629e3f7261140edcf0980d19fda2be1401593ac4c0410beede542e857b WHIRLPOOL 7a1aa2708361b4eddb266037af35e6915852ba1a5037fcfebd95c0a8caab54209ca1c9e3827acecff64772fd15b077f5cded64a50b5820abd7b3cde937bbc2e0
23 DIST xye-0.12.2.tar.gz 2860290 SHA256 5d7c04f37d6b4a1821594512c7ddbc8189f968e08ecfd5af55231302f2f917d8 SHA512 a31d922e0a0660d269d30430fbaf1d00924b0271db697f3cbc89b78815e597e11743bd9018fbf3f2f9e7561ad3469e9cca28687efaae7fc6dcba40ada2b5effa WHIRLPOOL 0f4d9105435adab0055cdd8966aa542fd0a231203562bd96ff8b2dff275675233ec1ca541f93e23787d8bf610cb29430f0b97e9f447ba63a695127e670788fc4
24
25 diff --git a/games-puzzle/xye/files/xye-0.12.1-gcc47.patch b/games-puzzle/xye/files/xye-0.12.1-gcc47.patch
26 deleted file mode 100644
27 index 04414abc6a2..00000000000
28 --- a/games-puzzle/xye/files/xye-0.12.1-gcc47.patch
29 +++ /dev/null
30 @@ -1,22 +0,0 @@
31 ---- src/editorsave.cpp.old
32 -+++ src/editorsave.cpp
33 -@@ -642,7 +642,8 @@
34 - file << "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n";
35 - file << "<pack>\n<name>"<< stripXML(editorboard::filetitle) <<"</name><author>"<< stripXML(editorboard::author) <<"</author>\n<description>"<< stripXML(editorboard::description) <<"</description>\n";
36 -
37 -- for (int i=first; i<editorboard::CountLevels(); i++) {
38 -+ int i;
39 -+ for (i=first; i<editorboard::CountLevels(); i++) {
40 - editorboard::LoadLevelNumber(board, i);
41 - file << "\n<level>\n";
42 - file << "<title>"<< stripXML(board->title) <<"</title>\n";
43 ---- src/gen.cpp.old
44 -+++ src/gen.cpp
45 -@@ -21,6 +21,7 @@
46 - #include<cstdio>
47 - #include<iostream>
48 - #include<fstream>
49 -+#include <unistd.h>
50 -
51 - const float F_RAND_MAX = (float)(RAND_MAX);
52 -
53
54 diff --git a/games-puzzle/xye/xye-0.12.1.ebuild b/games-puzzle/xye/xye-0.12.1.ebuild
55 deleted file mode 100644
56 index 1d9e9f8ef24..00000000000
57 --- a/games-puzzle/xye/xye-0.12.1.ebuild
58 +++ /dev/null
59 @@ -1,40 +0,0 @@
60 -# Copyright 1999-2013 Gentoo Foundation
61 -# Distributed under the terms of the GNU General Public License v2
62 -
63 -EAPI=5
64 -inherit autotools eutils games
65 -
66 -DESCRIPTION="Free version of the classic game Kye"
67 -HOMEPAGE="http://xye.sourceforge.net/"
68 -SRC_URI="mirror://sourceforge/xye/${P}.tar.gz"
69 -
70 -LICENSE="ZLIB"
71 -SLOT="0"
72 -KEYWORDS="amd64 x86"
73 -IUSE=""
74 -
75 -DEPEND="media-libs/libsdl[video]
76 - media-libs/sdl-ttf
77 - media-libs/sdl-image[png]
78 - media-fonts/dejavu"
79 -RDEPEND="${DEPEND}"
80 -
81 -src_prepare() {
82 - epatch "${FILESDIR}"/${P}-gcc47.patch
83 - sed -i -e '/^xye_LDFLAGS/d' Makefile.am || die
84 - eautoreconf
85 -}
86 -
87 -src_install() {
88 - dogamesbin "${PN}"
89 - insinto "${GAMES_DATADIR}/${PN}"
90 - doins -r levels res
91 - rm -f "${D}${GAMES_DATADIR}/${PN}"/res/DejaVuSans*
92 - dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}/${PN}"/res/DejaVuSans.ttf
93 - dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}/${PN}"/res/DejaVuSans-Bold.ttf
94 - dodoc AUTHORS ChangeLog README NEWS
95 - dohtml ReadMe.html
96 - doicon xye.svg
97 - make_desktop_entry ${PN} Xye
98 - prepgamesdirs
99 -}