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/tuxmath/
Date: Thu, 10 Jun 2021 11:52:43
Message-Id: 1623325903.7b9238e8a2a5a81c8508c0d69fc186c202b87108.ionen@gentoo
1 commit: 7b9238e8a2a5a81c8508c0d69fc186c202b87108
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 10 10:33:39 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=7b9238e8
7
8 games-kids/tuxmath: drop 2.0.3-r1
9
10 This version is mostly unusable with current tools/libraries.
11
12 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
13
14 games-kids/tuxmath/tuxmath-2.0.3-r1.ebuild | 65 ------------------------------
15 1 file changed, 65 deletions(-)
16
17 diff --git a/games-kids/tuxmath/tuxmath-2.0.3-r1.ebuild b/games-kids/tuxmath/tuxmath-2.0.3-r1.ebuild
18 deleted file mode 100644
19 index 2ef1bded85d..00000000000
20 --- a/games-kids/tuxmath/tuxmath-2.0.3-r1.ebuild
21 +++ /dev/null
22 @@ -1,65 +0,0 @@
23 -# Copyright 1999-2019 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -inherit eutils gnome2-utils
28 -
29 -MY_PN="${PN}_w_fonts"
30 -DESCRIPTION="Educational arcade game where you have to solve maths problems"
31 -HOMEPAGE="https://github.com/tux4kids/tuxmath"
32 -SRC_URI="mirror://debian/pool/main/t/${PN}/${PN}_${PV}.orig.tar.gz"
33 -
34 -LICENSE="GPL-2 OFL-1.1"
35 -SLOT="0"
36 -KEYWORDS="~amd64 ~x86"
37 -IUSE="nls svg"
38 -
39 -RDEPEND="dev-games/t4k-common[svg?]
40 - dev-libs/libxml2:2
41 - media-libs/libsdl:0[video]
42 - media-libs/sdl-image[jpeg,png]
43 - media-libs/sdl-mixer[mod]
44 - media-libs/sdl-net
45 - media-libs/sdl-pango
46 - nls? ( virtual/libintl )
47 - svg? (
48 - gnome-base/librsvg:2
49 - x11-libs/cairo
50 - )"
51 -DEPEND="${RDEPEND}
52 - virtual/pkgconfig
53 - nls? ( sys-devel/gettext )"
54 -
55 -S=${WORKDIR}/${MY_PN}-${PV}
56 -
57 -src_prepare() {
58 - default
59 -
60 - sed -i -e '/\bdoc\b/d' Makefile.in || die
61 -}
62 -
63 -src_configure() {
64 - econf \
65 - --localedir=/usr/share/locale \
66 - $(use_enable nls) \
67 - $(usex svg "" "--without-rsvg")
68 -}
69 -
70 -src_install() {
71 - default
72 - doicon -s scalable data/images/icons/${PN}.svg
73 - make_desktop_entry ${PN} "TuxMath"
74 - dodoc doc/{README,TODO,changelog}
75 -}
76 -
77 -pkg_preinst() {
78 - gnome2_icon_savelist
79 -}
80 -
81 -pkg_postinst() {
82 - gnome2_icon_cache_update
83 -}
84 -
85 -pkg_postrm() {
86 - gnome2_icon_cache_update
87 -}