Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-kids/tuxtype/
Date: Thu, 10 Jun 2021 11:52:44
Message-Id: 1623325903.72d082ddbf4d0db056e7428711a079df01fbf7c5.ionen@gentoo
1 commit: 72d082ddbf4d0db056e7428711a079df01fbf7c5
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 10 10:34:37 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 10 11:51:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72d082dd
7
8 games-kids/tuxtype: drop 1.8.3-r1
9
10 With current libsdl, this version won't display text and is unplayable.
11
12 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
13
14 games-kids/tuxtype/metadata.xml | 3 --
15 games-kids/tuxtype/tuxtype-1.8.3-r1.ebuild | 63 ------------------------------
16 2 files changed, 66 deletions(-)
17
18 diff --git a/games-kids/tuxtype/metadata.xml b/games-kids/tuxtype/metadata.xml
19 index edb3136e701..52de2ed0b37 100644
20 --- a/games-kids/tuxtype/metadata.xml
21 +++ b/games-kids/tuxtype/metadata.xml
22 @@ -8,7 +8,4 @@
23 <upstream>
24 <remote-id type="github">tux4kids/tuxtype</remote-id>
25 </upstream>
26 - <use>
27 - <flag name="pango">Render fonts using <pkg>media-libs/sdl-pango</pkg> instead of <pkg>media-libs/sdl-ttf</pkg></flag>
28 - </use>
29 </pkgmetadata>
30
31 diff --git a/games-kids/tuxtype/tuxtype-1.8.3-r1.ebuild b/games-kids/tuxtype/tuxtype-1.8.3-r1.ebuild
32 deleted file mode 100644
33 index ecbbdaebb72..00000000000
34 --- a/games-kids/tuxtype/tuxtype-1.8.3-r1.ebuild
35 +++ /dev/null
36 @@ -1,63 +0,0 @@
37 -# Copyright 1999-2019 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -
42 -inherit autotools desktop xdg
43 -
44 -DESCRIPTION="Typing tutorial with lots of eye-candy"
45 -HOMEPAGE="https://github.com/tux4kids/tuxtype"
46 -SRC_URI="https://github.com/tux4kids/${PN}/archive/upstream/${PV}.tar.gz -> ${P}.tar.gz"
47 -
48 -LICENSE="GPL-2 OFL-1.1"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~x86"
51 -IUSE="+pango svg"
52 -
53 -DEPEND="acct-group/gamestat
54 - dev-games/t4k-common
55 - media-libs/libsdl[video]
56 - media-libs/sdl-image
57 - media-libs/sdl-mixer
58 - !pango? ( media-libs/sdl-ttf )
59 - pango? ( media-libs/sdl-pango )
60 - svg? ( gnome-base/librsvg:2 )"
61 -
62 -RDEPEND="${DEPEND}"
63 -BDEPEND="virtual/pkgconfig"
64 -
65 -S="${WORKDIR}/${PN}-upstream-${PV}"
66 -
67 -PATCHES=(
68 - "${FILESDIR}"/${PN}-1.8.3-games-group.patch
69 -)
70 -
71 -src_prepare() {
72 - xdg_src_prepare
73 -
74 - # Fix broken linkage due to incorrect variable casing.
75 - sed -i 's:$SDL_TTF:$SDL_ttf:g' configure.ac || die
76 -
77 - eautoreconf
78 -}
79 -
80 -src_configure() {
81 - econf \
82 - --localedir="${EPREFIX}"/usr/share/locale \
83 - $(use_with pango sdlpango) \
84 - $(use_with svg rsvg) \
85 - --without-sdlnet # Unused!
86 -}
87 -
88 -src_install() {
89 - emake install DESTDIR="${D}"
90 - rm -v "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING,INSTALL} || die
91 - keepdir /etc/${PN} /var/lib/${PN}/words
92 -
93 - newicon -s 64 icon.png ${PN}.png
94 - make_desktop_entry ${PN} TuxTyping
95 -
96 - fowners root:gamestat /var/lib/${PN} /usr/bin/${PN}
97 - fperms 660 /var/lib/${PN}
98 - fperms 2755 /usr/bin/${PN}
99 -}