public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-kids/tuxmath/
Date: Fri,  5 Aug 2016 16:35:33 +0000 (UTC)	[thread overview]
Message-ID: <1470414921.34d30a2b74e5b27bf53503ebafc997ca8bef2035.wizardedit@gentoo> (raw)

commit:     34d30a2b74e5b27bf53503ebafc997ca8bef2035
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  5 16:11:21 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 16:35:21 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34d30a2b

games-kids/tuxmath: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-kids/tuxmath/tuxmath-2.0.3-r1.ebuild | 66 ++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/games-kids/tuxmath/tuxmath-2.0.3-r1.ebuild b/games-kids/tuxmath/tuxmath-2.0.3-r1.ebuild
new file mode 100644
index 0000000..3d790bf
--- /dev/null
+++ b/games-kids/tuxmath/tuxmath-2.0.3-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils gnome2-utils
+
+MY_PN="${PN}_w_fonts"
+DESCRIPTION="Educational arcade game where you have to solve maths problems"
+HOMEPAGE="http://tux4kids.alioth.debian.org/tuxmath/"
+SRC_URI="mirror://debian/pool/main/t/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2 OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls svg"
+
+RDEPEND="dev-games/t4k-common[svg?]
+	dev-libs/libxml2:2
+	media-libs/libsdl:0[video]
+	media-libs/sdl-image[jpeg,png]
+	media-libs/sdl-mixer[mod]
+	media-libs/sdl-net
+	media-libs/sdl-pango
+	nls? ( virtual/libintl )
+	svg? (
+		gnome-base/librsvg:2
+		x11-libs/cairo
+	)"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_prepare() {
+	default
+
+	sed -i -e '/\bdoc\b/d' Makefile.in || die
+}
+
+src_configure() {
+	econf \
+		--localedir=/usr/share/locale \
+		$(use_enable nls) \
+		$(usex svg "" "--without-rsvg")
+}
+
+src_install() {
+	default
+	doicon -s scalable data/images/icons/${PN}.svg
+	make_desktop_entry ${PN} "TuxMath"
+	dodoc doc/{README,TODO,changelog}
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


             reply	other threads:[~2016-08-05 16:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-05 16:35 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-10 11:52 [gentoo-commits] repo/gentoo:master commit in: games-kids/tuxmath/ Ionen Wolkens
2019-04-19 12:33 James Le Cuirot
2016-05-13 14:51 Agostino Sarubbo
2016-04-06 21:21 Michael Sterrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1470414921.34d30a2b74e5b27bf53503ebafc997ca8bef2035.wizardedit@gentoo \
    --to=wizardedit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox