summaryrefslogtreecommitdiff
path: root/games-kids/tuxmath
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-kids/tuxmath
reinit the tree, so we can have metadata
Diffstat (limited to 'games-kids/tuxmath')
-rw-r--r--games-kids/tuxmath/Manifest8
-rw-r--r--games-kids/tuxmath/metadata.xml11
-rw-r--r--games-kids/tuxmath/tuxmath-2.0.1.ebuild72
-rw-r--r--games-kids/tuxmath/tuxmath-2.0.3-r1.ebuild65
-rw-r--r--games-kids/tuxmath/tuxmath-2.0.3.ebuild66
5 files changed, 222 insertions, 0 deletions
diff --git a/games-kids/tuxmath/Manifest b/games-kids/tuxmath/Manifest
new file mode 100644
index 000000000000..8776fcf457b2
--- /dev/null
+++ b/games-kids/tuxmath/Manifest
@@ -0,0 +1,8 @@
+DIST tuxmath_2.0.3.orig.tar.gz 10396696 SHA256 eec49c296d41df39a6474d94ba4e3334e4c16dc180d3ea4a6defc2debfc39887 SHA512 dd7af90f3b1bd637f2f1639a3877d1a9950c95e60b1a71633998e2b0a654bb8015c4bf83540a9af092fe054d468035d0de5f3ddc7d54b17c3235f794a6108fbe WHIRLPOOL ed356ba9e4bc8bf9bd51496ad987befc14cf30a8ff52818c2f7e77278b0ed15bcf06dc9d699ddb5553cb7f20d8e30011b575bdb2cb9dd2ea840b70611670440a
+DIST tuxmath_w_fonts-2.0.1.tar.gz 10448109 SHA256 6d26c08672edf5cce0ef2f685555867a7016c8a186282518276378b6c58774f4 SHA512 04f6c347a5eecca7790b5577a9dcb3ea7bf444e19614b468ba6902e37c25aa7de22c62f7ab34e6bd282326f443496aa1d8320f13c4d12ec7e14c118e519e4dc7 WHIRLPOOL a4749d547651ccc9ddd6a36bdf928e751e36ec03678e4955a80fb24a45a466a1c390dcd0ddb8e006437c1c5e6a2c27e4b47cca0da86a484bde292e4699ce50d7
+EBUILD tuxmath-2.0.1.ebuild 1454 SHA256 362a4fde4a61984e400b1e0f9f5aa61b2996b2de647dfbd0d563a0e3ec6aadc9 SHA512 3018bfeb9a553717ceec69a393c1e24de9b9321d9c74c7751482c68d37461f1b25d06317b1425898f5bb6cb467ceabb17b4b92d08f58c199db5d0230d57a0d91 WHIRLPOOL 5c2693df5565e4c562eafd850dcd784f551404ed7703cd5afbe61132e1e6520d37128ba56d566c5316f41322b3bf857ca2f9311233d00b413db01987add473fe
+EBUILD tuxmath-2.0.3-r1.ebuild 1267 SHA256 c482a9dd36912a7d173c692ecce78e2c426b19e6a19664005bee80cf04963038 SHA512 e3da9218c8faf5659eb31c4d5886e8bf9d82e677d8d1977a51fa11b058dd67a8b7bab7c01ee361be5975f1c61d2a92a3e9e7f6f6327cdb649c3f410cdde197e7 WHIRLPOOL f4d6872ea8aea12314732a6af6390b9740321ec4aa47094f2c8696b65c6503e499a15006f22580a1d0eaae301c8b1df3fae0a23b41814b1d32fd30e778609bed
+EBUILD tuxmath-2.0.3.ebuild 1320 SHA256 8cdd08d3044d4360061ec1416b30d79165cb23b96c07ec6473670a8789a0de51 SHA512 1ed4c3ba37f1b78738f749be4e046b81e56b9cd5108d1f4f6346e9eea30e33ee31d34497195aaecf809a6a0550e8e964584d020f31f1c04b698b0c93b623f9bb WHIRLPOOL 8fd3d13496f0c62934704aaaf5a660eddb5541cceb2598acff22951e67fbcf5a93dfd6496b340ec0db3b33a2e468cd75828d1f7cc487ece568f768ab6f0ba2b9
+MISC ChangeLog 3304 SHA256 f4638e23eaedb99bdb331ea5907d27e3f641451065212d76ee3f375a4381c274 SHA512 88aec2e9a300e81febff183f5a47fdf3bc34ce569c740a2f30deef3d8dd38692d733f9467f17afc9929a7485051e3fe7dda8887acdf914a94c317a06b6a6713c WHIRLPOOL 5499eedb3493ebfbf57e4b3ae90215f37ead5cedabcb4b54862f5c7ad2f0e78b95a610e7075f47c6096a3d002a373f60671627c28670f59cf9c4d27bd3e5e305
+MISC ChangeLog-2015 2307 SHA256 a46bd3f9e91819e37b2ce0d4d67d3b5ca7b3fcd3343ce0f286da5e9e98feb09c SHA512 dea07ea1532c3140f161a5a741d23d74b1871bc4deb9f2e4437b74b01f5c91a0764d72e8d222232db68320e1a39a44db7a1d9aade9786ba8d3a12d1999f9d5af WHIRLPOOL 78daaec5cf23734c226f8a4c66eb5ba34224d58dae7949718117ca4c9762c6ec651d0d2128d718641c7d3574af8b8d0b502c3eaf236942cb732c1436fb29fcd0
+MISC metadata.xml 330 SHA256 be9087bc4c0c32c1c578c9bbe255a642307c512bb86ed05ed6ca52d355e478b1 SHA512 6119196d06b8bdee2062eda1fcca6735e17325bbc19991a1c021c864f6d962e44eda75fc016b2995056c452431659b7d1e158723d115ae58e699bbeb50e5fa1b WHIRLPOOL dcee4b5e0d3a3be65afeaff177c8a27ec0199b68a1792770b3b7318a1038fe05531a8eb1ed100b75d9d1ef9c04fc273eb0f9aab35dcda7ce84b3ead3264f2fc7
diff --git a/games-kids/tuxmath/metadata.xml b/games-kids/tuxmath/metadata.xml
new file mode 100644
index 000000000000..b916dfd60180
--- /dev/null
+++ b/games-kids/tuxmath/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">tuxmath</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-kids/tuxmath/tuxmath-2.0.1.ebuild b/games-kids/tuxmath/tuxmath-2.0.1.ebuild
new file mode 100644
index 000000000000..14fff16c5530
--- /dev/null
+++ b/games-kids/tuxmath/tuxmath-2.0.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils gnome2-utils games
+
+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://sourceforge/tuxmath/${MY_PN}-${PV}.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
+ media-libs/sdl-pango
+ media-libs/sdl-image[jpeg,png]
+ media-libs/sdl-mixer[mod]
+ media-libs/sdl-net
+ 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() {
+ sed -i \
+ -e '/\bdoc\b/d' \
+ Makefile.in || die
+ sed -i \
+ -e '/strncat/s/)/ - 1)/' \
+ src/server.c || die
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --localedir=/usr/share/locale \
+ $(use_enable nls) \
+ $(usex svg "" "--without-rsvg")
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ doicon -s scalable data/images/icons/${PN}.svg
+ make_desktop_entry ${PN} "TuxMath"
+ dodoc doc/{README,TODO,changelog}
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
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 000000000000..56c09b87901e
--- /dev/null
+++ b/games-kids/tuxmath/tuxmath-2.0.3-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
diff --git a/games-kids/tuxmath/tuxmath-2.0.3.ebuild b/games-kids/tuxmath/tuxmath-2.0.3.ebuild
new file mode 100644
index 000000000000..daf6850076ba
--- /dev/null
+++ b/games-kids/tuxmath/tuxmath-2.0.3.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils gnome2-utils games
+
+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-pango
+ media-libs/sdl-image[jpeg,png]
+ media-libs/sdl-mixer[mod]
+ media-libs/sdl-net
+ 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() {
+ sed -i -e '/\bdoc\b/d' Makefile.in || die
+}
+
+src_configure() {
+ egamesconf \
+ --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}
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}