summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-kids
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-kids')
-rw-r--r--games-kids/childsplay/Manifest3
-rw-r--r--games-kids/childsplay/childsplay-0.90.2-r1.ebuild148
-rw-r--r--games-kids/childsplay/files/childsplay4
-rw-r--r--games-kids/childsplay/files/childsplay-0.90.2-gentoo.patch21
-rw-r--r--games-kids/childsplay/metadata.xml12
-rw-r--r--games-kids/crayon-physics/Manifest1
-rw-r--r--games-kids/crayon-physics/crayon-physics-55.ebuild86
-rw-r--r--games-kids/crayon-physics/metadata.xml11
-rw-r--r--games-kids/cubetest/Manifest1
-rw-r--r--games-kids/cubetest/cubetest-0.9.4.ebuild34
-rw-r--r--games-kids/cubetest/files/cubetest-0.9.4-build.patch101
-rw-r--r--games-kids/cubetest/metadata.xml5
-rw-r--r--games-kids/gcompris/Manifest2
-rw-r--r--games-kids/gcompris/files/gcompris-14.12-build.patch81
-rw-r--r--games-kids/gcompris/files/gcompris-15.02-build.patch81
-rw-r--r--games-kids/gcompris/gcompris-14.12.ebuild89
-rw-r--r--games-kids/gcompris/gcompris-15.02.ebuild89
-rw-r--r--games-kids/gcompris/metadata.xml5
-rw-r--r--games-kids/gmult/Manifest1
-rw-r--r--games-kids/gmult/gmult-8.0.ebuild47
-rw-r--r--games-kids/gmult/metadata.xml8
-rw-r--r--games-kids/lletters/Manifest3
-rw-r--r--games-kids/lletters/files/lletters-0.1.95-build-2.patch60
-rw-r--r--games-kids/lletters/files/lletters-0.1.95-make-382.patch23
-rw-r--r--games-kids/lletters/files/lletters-0.1.95-underlink.patch11
-rw-r--r--games-kids/lletters/lletters-0.1.95-r2.ebuild45
-rw-r--r--games-kids/lletters/metadata.xml8
-rw-r--r--games-kids/memonix/Manifest1
-rw-r--r--games-kids/memonix/memonix-1.6.ebuild48
-rw-r--r--games-kids/memonix/metadata.xml5
-rw-r--r--games-kids/metadata.xml35
-rw-r--r--games-kids/pytraffic/Manifest1
-rw-r--r--games-kids/pytraffic/files/pytraffic6
-rw-r--r--games-kids/pytraffic/metadata.xml8
-rw-r--r--games-kids/pytraffic/pytraffic-2.5.4-r1.ebuild87
-rw-r--r--games-kids/tuxmath/Manifest1
-rw-r--r--games-kids/tuxmath/metadata.xml8
-rw-r--r--games-kids/tuxmath/tuxmath-2.0.1.ebuild73
-rw-r--r--games-kids/tuxmathscrabble/Manifest1
-rw-r--r--games-kids/tuxmathscrabble/files/tuxmathscrabble-0.8.1-gentoo.patch92
-rw-r--r--games-kids/tuxmathscrabble/metadata.xml8
-rw-r--r--games-kids/tuxmathscrabble/tuxmathscrabble-0.8.1.ebuild62
-rw-r--r--games-kids/tuxtype/Manifest1
-rw-r--r--games-kids/tuxtype/metadata.xml5
-rw-r--r--games-kids/tuxtype/tuxtype-1.8.1.ebuild47
45 files changed, 1469 insertions, 0 deletions
diff --git a/games-kids/childsplay/Manifest b/games-kids/childsplay/Manifest
new file mode 100644
index 00000000000..891fe59d06f
--- /dev/null
+++ b/games-kids/childsplay/Manifest
@@ -0,0 +1,3 @@
+DIST childsplay-0.90.2.tgz 2330022 SHA256 baa7c2c6168d581d546bcea3612a513268cf2e8273f2cf748df9e1559c62e054 SHA512 0cc59f893f43f47fec18a6ba04e3d5b4c4b41e6c387fcd64859a65a0660b4d1c8803cd092932fc9d24a4d4b9784d6cc62cc2efc4e841ca62a205f17aec8dec68 WHIRLPOOL 068629fe90bb1af7ca02bebd25959488c4d52a058ffc9b4fb934abfff787aa22225909437913724479ad91e80f6b60de01b3f0c3aabb5f8a97ad426ee20b846a
+DIST childsplay_plugins-0.90.tgz 4528735 SHA256 3eff00eb1fb20f59b503071e61ca21eaf869969bb7cdc5f644ece5f6e48664c3 SHA512 f1c47c544da364bde6023cf8450d96423d214749f800d783661b6fb16f73c8bbc899ee7f997f36e11b43aff7655332c29445f865ff22dd475ad4ce4a0557e763 WHIRLPOOL ef4ed2b666c371f306e19c5e9377c1b31bc95229ee3f1a12539dbdccc6bec333a57b63f1deb1962182c2020f7a5656a196bb5212efd4dcca5d504f8571e5c815
+DIST childsplay_plugins_lfc-0.90.tgz 6159653 SHA256 629a84beb94191c786508de4476c8b7ac98b5007aa7e0d9f7d0fa4d3e43b11b2 SHA512 4fa8f59aae64520de03fd6527dbe7339f320ef377deca19fe91cf5591b364d853cfb9d73b8469417178fcf4bc074d6ed39a1704a20cb5a82657722862c749313 WHIRLPOOL d49d2c68ef94edcacb4a7aa2ca38d239558513bca2cad2a77193c6c67cd3fbdf8869cdc9a332cfae5d2753eeb5f5d0a0671f4e8687d36a969aa99d1009078c54
diff --git a/games-kids/childsplay/childsplay-0.90.2-r1.ebuild b/games-kids/childsplay/childsplay-0.90.2-r1.ebuild
new file mode 100644
index 00000000000..b1dcafc61e7
--- /dev/null
+++ b/games-kids/childsplay/childsplay-0.90.2-r1.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-single-r1 games
+
+DESCRIPTION="A suite of educational games for young children"
+HOMEPAGE="http://childsplay.sourceforge.net/"
+PLUGINS_VERSION="0.90"
+PLUGINS_LFC_VERSION="0.90"
+SRC_URI="mirror://sourceforge/childsplay/${P}.tgz
+ mirror://sourceforge/childsplay/${PN}_plugins-${PLUGINS_VERSION}.tgz
+ mirror://sourceforge/childsplay/${PN}_plugins_lfc-${PLUGINS_LFC_VERSION}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/pygame[${PYTHON_USEDEP}]
+ media-libs/sdl-image[gif,jpeg,png]
+ media-libs/sdl-ttf
+ media-libs/sdl-mixer[vorbis]
+ media-libs/libogg"
+RDEPEND="${DEPEND}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_prepare() {
+ local DIR
+
+ # Copy the plugins into the main package.
+ mv ../${PN}_plugins-${PLUGINS_VERSION}/Data/AlphabetSounds Data || die
+ mv ../${PN}_plugins-${PLUGINS_VERSION}/add-score.py . || die
+ for DIR in ${PN}_plugins-${PLUGINS_VERSION} ${PN}_plugins_lfc-${PLUGINS_LFC_VERSION}; do
+ mv ../${DIR}/Data/*.icon.png Data/icons || die
+ cp -r ../${DIR}/lib/* lib || die
+ mv ../${DIR}/assetml/${PN}/* assetml/${PN} || die
+ rm -rf ../${DIR}
+ done
+ gunzip man/childsplay.6.gz
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ python_fix_shebang .
+}
+
+src_install() {
+ local fn
+
+ # The following variables are based on Childsplay's INSTALL.sh
+ _LOCALEDIR=/usr/share/locale
+ _ASSETMLDIR=/usr/share/assetml
+ _SCOREDIR=${GAMES_STATEDIR}
+ _SCOREFILE=${_SCOREDIR}/childsplay.score
+ _CPDIR=$(games_get_libdir)/childsplay
+ _SHAREDIR=${GAMES_DATADIR}/childsplay
+ _LIBDIR=${_CPDIR}/lib
+ _MODULESDIR=${_LIBDIR}
+ _SHARELIBDATADIR=${_SHAREDIR}/lib
+ _SHAREDATADIR=${_SHAREDIR}/Data
+ _RCDIR=${_SHARELIBDATADIR}/ConfigData
+ _HOME_DIR_NAME=.childsplay
+ _CHILDSPLAYRC=childsplayrc
+
+ dodir \
+ "${_CPDIR}" \
+ "${_LIBDIR}" \
+ "${_SHAREDIR}" \
+ "${_SHARELIBDATADIR}" \
+ "${_SCOREDIR}" \
+ "${_LOCALEDIR}" \
+ "${_ASSETMLDIR}"
+
+ # create BASEPATH.py
+ cat >BASEPATH.py <<EOF
+## Automated file--please do not edit
+LOCALEDIR="${_LOCALEDIR}"
+ASSETMLDIR="${_ASSETMLDIR}"
+SCOREDIR="${_SCOREDIR}"
+SCOREFILE="${_SCOREFILE}"
+CPDIR="${_CPDIR}"
+SHAREDIR="${_SHAREDIR}"
+LIBDIR="${_LIBDIR}"
+MODULESDIR="${_MODULESDIR}"
+SHARELIBDATADIR="${_SHARELIBDATADIR}"
+SHAREDATADIR="${_SHAREDATADIR}"
+RCDIR="${_RCDIR}"
+HOME_DIR_NAME="${_HOME_DIR_NAME}"
+CHILDSPLAYRC="${_CHILDSPLAYRC}"
+EOF
+
+ # copy software and data
+ cp -r *.py "${D}/${_CPDIR}" || die "cp failed"
+ cp -r Data "${D}/${_SHAREDIR}" || die "cp failed"
+ rm "${D}/${_SHAREDIR}/Data/childsplay.score" # this copy won't be used
+
+ for fn in $(ls lib); do
+ if [[ -d lib/${fn} ]] ; then
+ cp -r lib/${fn} "${D}/${_SHARELIBDATADIR}" || die
+ else
+ cp lib/${fn} "${D}/${_LIBDIR}" || die
+ fi
+ done
+
+ if [[ ${LINGUAS+set} ]]; then
+ for lang in $LINGUAS; do
+ [[ -d locale/$lang ]] && cp -r locale/$lang "${D}/${_LOCALEDIR}"
+ done
+ else
+ cp -r locale/* "${D}/${_LOCALEDIR}" || die
+ fi
+ cp -r assetml/* "${D}/${_ASSETMLDIR}" || die
+
+ # initialize the score file
+ cp Data/childsplay.score "${D}/${_SCOREFILE}" || die
+ SCORE_GAMES="Packid,Numbers,Soundmemory,Fallingletters,Findsound,Findsound2,Billiard"
+ ${PYTHON} add-score.py "${D}/${_SCOREDIR}" $SCORE_GAMES
+
+ # translate for the letters game
+ ${PYTHON} letters-trans.py "${D}/${_ASSETMLDIR}" << EOF
+Q
+EOF
+
+ doman man/childsplay.6
+ dodoc doc/README* doc/Changelog doc/copyright
+
+ # Make a launcher.
+ dogamesbin "${FILESDIR}"/childsplay
+ sed -i \
+ -e "s:GENTOO_DIR:${_CPDIR}:" \
+ -e "s:python:${PYTHON}:" \
+ "${D}${GAMES_BINDIR}"/childsplay \
+ || die "sed failed"
+
+ python_optimize "${D}${_CPDIR}"
+
+ newicon assetml/childsplay/childsplay-images/chpl-icon-48.png ${PN}.png
+ make_desktop_entry childsplay Childsplay
+
+ prepgamesdirs
+ fperms g+w "${_SCOREFILE}"
+}
diff --git a/games-kids/childsplay/files/childsplay b/games-kids/childsplay/files/childsplay
new file mode 100644
index 00000000000..eccf016836d
--- /dev/null
+++ b/games-kids/childsplay/files/childsplay
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -z "${LANGUAGE}" ] && LANGUAGE=en
+export LANGUAGE
+python GENTOO_DIR/childsplay.py "$@"
diff --git a/games-kids/childsplay/files/childsplay-0.90.2-gentoo.patch b/games-kids/childsplay/files/childsplay-0.90.2-gentoo.patch
new file mode 100644
index 00000000000..742e3e02ee3
--- /dev/null
+++ b/games-kids/childsplay/files/childsplay-0.90.2-gentoo.patch
@@ -0,0 +1,21 @@
+--- letters-trans.py.old 2010-04-26 12:13:12.000000000 +0200
++++ letters-trans.py 2010-04-26 12:13:49.000000000 +0200
+@@ -39,7 +39,7 @@
+ import os,fnmatch,operator,sys,locale
+ from CPConstants import ASSETMLROOT
+
+-if os.environ['USER'] != 'root':
++if os.environ['LOGNAME'] != 'root':
+ print "\nOnly root can use this script, sorry.\n"
+ sys.exit(1)
+
+@@ -69,7 +69,8 @@
+ sys.exit(0)
+
+ # get description names from memory assetml, these are the words used by letters.py
+-parser = pyassetml.AssetmlParser('childsplay/memory-136x136/memory-136x136.assetml')
++assetmlfile = os.path.join(cwd,'memory-136x136.assetml')
++parser = pyassetml.AssetmlParser(assetmlfile)
+ loc = parser.get_locale()# get current locale setting, only the first two chars !!
+ wlist_org = parser.find_names((('file','.'),('description',"en")))
+ wlist = parser.find_names((('file','.'),('description',loc)))
diff --git a/games-kids/childsplay/metadata.xml b/games-kids/childsplay/metadata.xml
new file mode 100644
index 00000000000..0aefcf9cc3b
--- /dev/null
+++ b/games-kids/childsplay/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <longdescription lang="en">
+Childsplay is a suite of educational games for young children, like gcompris,
+but without the overkill of c/c++ and the gnome environ.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">childsplay</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-kids/crayon-physics/Manifest b/games-kids/crayon-physics/Manifest
new file mode 100644
index 00000000000..c84d9520f0d
--- /dev/null
+++ b/games-kids/crayon-physics/Manifest
@@ -0,0 +1 @@
+DIST crayon_physics_deluxe-linux-release55.tar.gz 33236439 SHA256 1a8f29fc298abea8fdde2b926d33e00e88500f2a8eef5d78c97355b5483d4a8b SHA512 1840cabba5b922f155b90c4442c460e7dc5c63aa2e1348a5f175211d5264c645c08af9a3bd43861aa8497e111678a7314b94d2ba0035b2e07e811200f1af07eb WHIRLPOOL 4413692ea91a09f0e87c56e2eb030e2e5874a3994579bd744bc0c3d10a2919db1780ff16d0073ae9fc56f1fc8bed264b947f02396c306d7f70b497b19da1ac9e
diff --git a/games-kids/crayon-physics/crayon-physics-55.ebuild b/games-kids/crayon-physics/crayon-physics-55.ebuild
new file mode 100644
index 00000000000..0bf114e83f3
--- /dev/null
+++ b/games-kids/crayon-physics/crayon-physics-55.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils gnome2-utils games
+
+DESCRIPTION="2D physics puzzle/sandbox game with drawing"
+HOMEPAGE="http://www.crayonphysics.com/"
+SRC_URI="crayon_physics_deluxe-linux-release${PV}.tar.gz"
+
+LICENSE="CRAYON-PHYSICS"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+IUSE="bundled-libs"
+RESTRICT="bindist fetch splitdebug"
+
+MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN}
+QA_PREBUILT="${MYGAMEDIR#/}/crayon
+ ${MYGAMEDIR#/}/lib32/*"
+
+# fuck this pulseaudio linkage
+RDEPEND="
+ media-sound/pulseaudio[abi_x86_32(-)]
+ dev-qt/qtcore:4[abi_x86_32(-)]
+ dev-qt/qtgui:4[abi_x86_32(-)]
+ virtual/glu[abi_x86_32(-)]
+ virtual/opengl[abi_x86_32(-)]
+ x11-libs/libX11[abi_x86_32(-)]
+ x86? (
+ !bundled-libs? (
+ media-libs/libmikmod
+ media-libs/libsdl:0[X,sound,video,opengl,joystick]
+ media-libs/libvorbis
+ media-libs/sdl-image[png,jpeg,tiff]
+ media-libs/sdl-mixer[vorbis,wav]
+ media-libs/smpeg[X,opengl]
+ media-libs/tiff:0
+ virtual/jpeg
+ )
+ )"
+
+S=${WORKDIR}/CrayonPhysicsDeluxe
+
+pkg_nofetch() {
+ einfo "Please buy & download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to ${DISTDIR}"
+ einfo
+}
+
+src_prepare() {
+ if use bundled-libs ; then
+ mv lib32/_libSDL-1.2.so.0 lib32/libSDL-1.2.so.0 || die
+ fi
+}
+
+src_install() {
+ insinto "${MYGAMEDIR}"
+ use bundled-libs && doins -r lib32
+ doins -r cache data crayon autoexec.txt version.xml
+
+ newicon -s 256 icon.png ${PN}.png
+ make_desktop_entry ${PN}
+ games_make_wrapper ${PN} "./crayon" "${MYGAMEDIR}" "${MYGAMEDIR}/lib32"
+
+ dodoc changelog.txt linux_hotfix_notes.txt
+ dohtml readme.html
+
+ fperms +x "${MYGAMEDIR}"/crayon
+ 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/crayon-physics/metadata.xml b/games-kids/crayon-physics/metadata.xml
new file mode 100644
index 00000000000..d13413d31d9
--- /dev/null
+++ b/games-kids/crayon-physics/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <use>
+ <flag name='bundled-libs'>
+ Use the upstream provided bundled libraries.
+ </flag>
+ </use>
+</pkgmetadata>
+
diff --git a/games-kids/cubetest/Manifest b/games-kids/cubetest/Manifest
new file mode 100644
index 00000000000..64139b6561f
--- /dev/null
+++ b/games-kids/cubetest/Manifest
@@ -0,0 +1 @@
+DIST cubetest-0.9.4.tar.bz2 764429 SHA256 fa7341a081a4803f26dd95c5ceb998867ed120b2e0ce0a61b758ced37d782521 SHA512 91f1d312ba4cfb08d359ab43347088592977a0d5758baf64a17d62b49d7a53f5b112e16d2a98e3217c6eb06426ef320039d1ae8af8298eb010952473116c916b WHIRLPOOL b004e8d42c2447c484ef524a7f8421cb70f2664207a43135de372e472faf89042018afe435d304c4ecb812b569cddc127437980da3e091bf38031f2cf1391043
diff --git a/games-kids/cubetest/cubetest-0.9.4.ebuild b/games-kids/cubetest/cubetest-0.9.4.ebuild
new file mode 100644
index 00000000000..82214cc8207
--- /dev/null
+++ b/games-kids/cubetest/cubetest-0.9.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="A program to train your spatial insight"
+HOMEPAGE="http://www.vandenoever.info/software/cubetest/"
+SRC_URI="http://www.vandenoever.info/software/cubetest/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND="dev-qt/qtgui:4
+ dev-qt/qtcore:4[qt3support]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ local i
+
+ epatch "${FILESDIR}"/${P}-build.patch
+ for i in $(find src/ -iname *_moc.cpp) ; do
+ moc ${i/_moc.cpp/.h} -o $i || die
+ done
+}
+
+src_install() {
+ default
+ prepgamesdirs
+}
diff --git a/games-kids/cubetest/files/cubetest-0.9.4-build.patch b/games-kids/cubetest/files/cubetest-0.9.4-build.patch
new file mode 100644
index 00000000000..71411700c33
--- /dev/null
+++ b/games-kids/cubetest/files/cubetest-0.9.4-build.patch
@@ -0,0 +1,101 @@
+diff -ru cubetest-0.9.4.orig/configure cubetest-0.9.4/configure
+--- cubetest-0.9.4.orig/configure 2005-12-05 17:29:43.000000000 -0500
++++ cubetest-0.9.4/configure 2009-09-20 21:23:24.886585972 -0400
+@@ -19741,13 +19741,16 @@
+ if test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtGui >= \$QT_REQUIRED_VERSION
++ QtCore >= \$QT_REQUIRED_VERSION
+ Qt3Support >= \$QT_REQUIRED_VERSION\"") >&5
+ ($PKG_CONFIG --exists --print-errors "QtGui >= $QT_REQUIRED_VERSION
++ QtCore >= $QT_REQUIRED_VERSION
+ Qt3Support >= $QT_REQUIRED_VERSION") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= $QT_REQUIRED_VERSION
++ QtCore >= $QT_REQUIRED_VERSION
+ Qt3Support >= $QT_REQUIRED_VERSION" 2>/dev/null`
+ else
+ pkg_failed=yes
+@@ -19758,13 +19761,16 @@
+ if test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"QtGui >= \$QT_REQUIRED_VERSION
++ QtCore >= \$QT_REQUIRED_VERSION
+ Qt3Support >= \$QT_REQUIRED_VERSION\"") >&5
+ ($PKG_CONFIG --exists --print-errors "QtGui >= $QT_REQUIRED_VERSION
++ QtCore >= $QT_REQUIRED_VERSION
+ Qt3Support >= $QT_REQUIRED_VERSION") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= $QT_REQUIRED_VERSION
++ QtCore >= $QT_REQUIRED_VERSION
+ Qt3Support >= $QT_REQUIRED_VERSION" 2>/dev/null`
+ else
+ pkg_failed=yes
+@@ -19775,6 +19781,7 @@
+
+ if test $pkg_failed = yes; then
+ QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= $QT_REQUIRED_VERSION
++ QtCore >= $QT_REQUIRED_VERSION
+ Qt3Support >= $QT_REQUIRED_VERSION"`
+ # Put the nasty error message in config.log where it belongs
+ echo "$QT_PKG_ERRORS" 1>&5
+@@ -19842,6 +19849,7 @@
+
+ fi
+
++ QT_CXXFLAGS="$QT_CFLAGS $QT_CXXFLAGS"
+ { echo "$as_me:$LINENO: Set QT_CXXFLAGS... $QT_CXXFLAGS" >&5
+ echo "$as_me: Set QT_CXXFLAGS... $QT_CXXFLAGS" >&6;}
+ { echo "$as_me:$LINENO: Set QT_LIBS... $QT_LIBS" >&5
+Only in cubetest-0.9.4: configure.orig
+diff -ru cubetest-0.9.4.orig/src/cubetest/cubetest_it.ts cubetest-0.9.4/src/cubetest/cubetest_it.ts
+--- cubetest-0.9.4.orig/src/cubetest/cubetest_it.ts 2005-12-05 14:48:20.000000000 -0500
++++ cubetest-0.9.4/src/cubetest/cubetest_it.ts 2009-09-20 21:23:06.640704967 -0400
+@@ -19,11 +19,11 @@
+ </message>
+ <message>
+ <source>Well done! The correct answer is %1.</source>
+- <translation>Bene! La risposta esatta &egrave; %1.</translation>
++ <translation>Bene! La risposta esatta &#232; %1.</translation>
+ </message>
+ <message>
+ <source>Wrong! The correct answer is %1.</source>
+- <translation>Sbagliato! La risposta esatta &egrave; %1.</translation>
++ <translation>Sbagliato! La risposta esatta &#232; %1.</translation>
+ </message>
+ <message>
+ <source>Next question</source>
+@@ -69,11 +69,11 @@
+ </message>
+ <message>
+ <source>Difficulty </source>
+- <translation>Difficolt&agrave;</translation>
++ <translation>Difficolt&#224;</translation>
+ </message>
+ <message>
+ <source>Can I play Daddy?</source>
+- <translation>Posso giocare, Pap&agrave;?</translation>
++ <translation>Posso giocare, Pap&#224;?</translation>
+ </message>
+ <message>
+ <source>Don&apos;t hurt my brain</source>
+@@ -113,7 +113,7 @@
+ </message>
+ <message>
+ <source>CubeTest is written by Jos van den Oever and released under the General Public License.</source>
+- <translation>CubeTest &egrave; stato scritto da Jos van der Oever ed &egrave; rilasciato con la Licenza Pubblica Generale (GPL) di GNU.</translation>
++ <translation>CubeTest &#232; stato scritto da Jos van der Oever ed &#232; rilasciato con la Licenza Pubblica Generale (GPL) di GNU.</translation>
+ </message>
+ <message>
+ <source>Easy</source>
+@@ -132,4 +132,4 @@
+ <translation>Ostico</translation>
+ </message>
+ </context>
+-</TS>
+\ No newline at end of file
++</TS>
diff --git a/games-kids/cubetest/metadata.xml b/games-kids/cubetest/metadata.xml
new file mode 100644
index 00000000000..d3c2cc926f0
--- /dev/null
+++ b/games-kids/cubetest/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-kids/gcompris/Manifest b/games-kids/gcompris/Manifest
new file mode 100644
index 00000000000..817f196e37f
--- /dev/null
+++ b/games-kids/gcompris/Manifest
@@ -0,0 +1,2 @@
+DIST gcompris-14.12.tar.bz2 272767636 SHA256 bf0beafb03c0f4ffe05bbfcda54b91a5e8a034b5d813cb4492d6f59a21f9cdcf SHA512 b0948fcf303b335a231318dd57ef84d83cda7839e82542e5c4b9e794745561c24d64e7e76a96c63d1b0eb5a44377f2bf05b1d89f3bcab75dd2c32075e2ba5258 WHIRLPOOL 0d49a59e5fddd5e24e6e593ad53d99c7a8714b6b48dd2e3f776600366f61886c4ea15428f056cb8ae69e26024a88f3264814f80ce9e11e9d82d4f9d0adb8b056
+DIST gcompris-15.02.tar.bz2 272847496 SHA256 c3e2f84f459d747b853b0424e366d0ce7b1f4ef00d660cdde5084712cf5c3ad4 SHA512 468ca9a3a4cfff78e34206c40e6aebfc79ba087dd1e87f96a8b9b2ae1149550791be16ca0776f11e6768dd4acb3caaae9e763ac9d941f1f09c7a3464e829e7af WHIRLPOOL 5b38bf16e061d9770e66573c81e4b3b0617d3cf2e0679919a06b628ff622d4b0e8585115b4084e51e674c57cf1f2a36472e3e66283a9ee3f78423eac998b5a24
diff --git a/games-kids/gcompris/files/gcompris-14.12-build.patch b/games-kids/gcompris/files/gcompris-14.12-build.patch
new file mode 100644
index 00000000000..077d1f6baf1
--- /dev/null
+++ b/games-kids/gcompris/files/gcompris-14.12-build.patch
@@ -0,0 +1,81 @@
+--- gcompris-13.11.orig/Makefile.am
++++ gcompris-13.11/Makefile.am
+@@ -7,7 +7,7 @@
+ # endif
+
+
+-icondir=$(datadir)/pixmaps
++icondir=/usr/share/pixmaps
+ icon_DATA = gcompris.png gcompris-edit.png
+
+ if BUILD_MINGW32
+@@ -15,7 +15,7 @@
+ Applications_in_files =
+ Applications_DATA =
+ else
+-Applicationsdir = $(datadir)/applications/
++Applicationsdir = /usr/share/applications/
+ Applications_in_files = gcompris.desktop.in gcompris-edit.desktop.in
+ Applications_DATA = gcompris.desktop gcompris-edit.desktop
+ endif
+--- gcompris-13.11.orig/configure.ac
++++ gcompris-13.11/configure.ac
+@@ -57,7 +57,8 @@
+ gtk+-2.0 >= $GTK_REQUIRED \
+ librsvg-2.0 >= $LIBRSVG_REQUIRED \
+ libxml-2.0 >= $LIBXML_REQUIRED \
+- gthread-2.0 )
++ gthread-2.0 \
++ gmodule-2.0 )
+
+ AC_SUBST(GCOMPRIS_CFLAGS)
+ AC_SUBST(GCOMPRIS_LIBS)
+@@ -204,10 +205,8 @@
+ USE_DEBUG="$enableval", USE_DEBUG="no")
+ if test "x$USE_DEBUG" == "xyes" ; then
+ AC_DEFINE_UNQUOTED(DEBUG, 1, "Enable debug messages.")
+- CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -g"
+-else
+- CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -O2"
+ fi
++CFLAGS="$CFLAGS $OSX_CFLAGS -Wall"
+
+ dnl disable activation code
+ AC_ARG_ENABLE(disable-activation-code,
+@@ -336,21 +335,21 @@
+ fi
+ else
+ dnl Set PACKAGE_LOCALE_DIR in config.h.
+- AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${myprefix}/${DATADIRNAME}/locale", [GCompris locale directory])
++ AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "/usr/share/locale", [GCompris locale directory])
+
+ dnl Set PACKAGE_DATA_DIR
+ PACKAGE_DATA_DIR="boards"
+ AC_SUBST(PACKAGE_DATA_DIR)
+- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${myprefix}/${DATADIRNAME}", [GCompris data directory])
++ AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}", [GCompris data directory])
+
+ dnl Plugin Directory
+ my_libdir=`eval echo "${libdir}"`
+- AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${my_libdir}", [Gcompris plugins directory])
++ AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${libdir}", [Gcompris plugins directory])
+ plugindir=$libdir/gcompris
+ AC_SUBST(plugindir)
+
+ dnl Python plugin Directory
+- PYTHON_PLUGIN_DIR="${myprefix}/${DATADIRNAME}/${PACKAGE}/python"
++ PYTHON_PLUGIN_DIR="${datadir}/${PACKAGE}/python"
+ AC_SUBST(PYTHON_PLUGIN_DIR)
+
+ dnl System GCompris config directory
+--- gcompris-13.11.orig/src/gcompris/gcompris.c
++++ gcompris-13.11/src/gcompris/gcompris.c
+@@ -1322,7 +1322,7 @@
+ properties->package_plugin_dir = g_strconcat(pkg_clib_dir, "/gcompris", NULL);
+ properties->package_python_plugin_dir = g_strconcat(pkg_data_dir, "/gcompris/python",
+ NULL);
+- properties->system_icon_dir = g_strconcat(pkg_data_dir, "/pixmaps", NULL);
++ properties->system_icon_dir = g_strconcat("/usr/share", "/pixmaps", NULL);
+ properties->menu_dir = g_strdup(properties->package_data_dir);
+ g_free(pkg_data_dir);
+ g_free(pkg_clib_dir);
diff --git a/games-kids/gcompris/files/gcompris-15.02-build.patch b/games-kids/gcompris/files/gcompris-15.02-build.patch
new file mode 100644
index 00000000000..077d1f6baf1
--- /dev/null
+++ b/games-kids/gcompris/files/gcompris-15.02-build.patch
@@ -0,0 +1,81 @@
+--- gcompris-13.11.orig/Makefile.am
++++ gcompris-13.11/Makefile.am
+@@ -7,7 +7,7 @@
+ # endif
+
+
+-icondir=$(datadir)/pixmaps
++icondir=/usr/share/pixmaps
+ icon_DATA = gcompris.png gcompris-edit.png
+
+ if BUILD_MINGW32
+@@ -15,7 +15,7 @@
+ Applications_in_files =
+ Applications_DATA =
+ else
+-Applicationsdir = $(datadir)/applications/
++Applicationsdir = /usr/share/applications/
+ Applications_in_files = gcompris.desktop.in gcompris-edit.desktop.in
+ Applications_DATA = gcompris.desktop gcompris-edit.desktop
+ endif
+--- gcompris-13.11.orig/configure.ac
++++ gcompris-13.11/configure.ac
+@@ -57,7 +57,8 @@
+ gtk+-2.0 >= $GTK_REQUIRED \
+ librsvg-2.0 >= $LIBRSVG_REQUIRED \
+ libxml-2.0 >= $LIBXML_REQUIRED \
+- gthread-2.0 )
++ gthread-2.0 \
++ gmodule-2.0 )
+
+ AC_SUBST(GCOMPRIS_CFLAGS)
+ AC_SUBST(GCOMPRIS_LIBS)
+@@ -204,10 +205,8 @@
+ USE_DEBUG="$enableval", USE_DEBUG="no")
+ if test "x$USE_DEBUG" == "xyes" ; then
+ AC_DEFINE_UNQUOTED(DEBUG, 1, "Enable debug messages.")
+- CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -g"
+-else
+- CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -O2"
+ fi
++CFLAGS="$CFLAGS $OSX_CFLAGS -Wall"
+
+ dnl disable activation code
+ AC_ARG_ENABLE(disable-activation-code,
+@@ -336,21 +335,21 @@
+ fi
+ else
+ dnl Set PACKAGE_LOCALE_DIR in config.h.
+- AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${myprefix}/${DATADIRNAME}/locale", [GCompris locale directory])
++ AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "/usr/share/locale", [GCompris locale directory])
+
+ dnl Set PACKAGE_DATA_DIR
+ PACKAGE_DATA_DIR="boards"
+ AC_SUBST(PACKAGE_DATA_DIR)
+- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${myprefix}/${DATADIRNAME}", [GCompris data directory])
++ AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}", [GCompris data directory])
+
+ dnl Plugin Directory
+ my_libdir=`eval echo "${libdir}"`
+- AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${my_libdir}", [Gcompris plugins directory])
++ AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${libdir}", [Gcompris plugins directory])
+ plugindir=$libdir/gcompris
+ AC_SUBST(plugindir)
+
+ dnl Python plugin Directory
+- PYTHON_PLUGIN_DIR="${myprefix}/${DATADIRNAME}/${PACKAGE}/python"
++ PYTHON_PLUGIN_DIR="${datadir}/${PACKAGE}/python"
+ AC_SUBST(PYTHON_PLUGIN_DIR)
+
+ dnl System GCompris config directory
+--- gcompris-13.11.orig/src/gcompris/gcompris.c
++++ gcompris-13.11/src/gcompris/gcompris.c
+@@ -1322,7 +1322,7 @@
+ properties->package_plugin_dir = g_strconcat(pkg_clib_dir, "/gcompris", NULL);
+ properties->package_python_plugin_dir = g_strconcat(pkg_data_dir, "/gcompris/python",
+ NULL);
+- properties->system_icon_dir = g_strconcat(pkg_data_dir, "/pixmaps", NULL);
++ properties->system_icon_dir = g_strconcat("/usr/share", "/pixmaps", NULL);
+ properties->menu_dir = g_strdup(properties->package_data_dir);
+ g_free(pkg_data_dir);
+ g_free(pkg_clib_dir);
diff --git a/games-kids/gcompris/gcompris-14.12.ebuild b/games-kids/gcompris/gcompris-14.12.ebuild
new file mode 100644
index 00000000000..acd777b0906
--- /dev/null
+++ b/games-kids/gcompris/gcompris-14.12.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite,threads"
+
+inherit autotools eutils python-single-r1 games
+
+DESCRIPTION="full featured educational application for children from 2 to 10"
+HOMEPAGE="http://gcompris.net/"
+SRC_URI="http://gcompris.net/download/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="gstreamer"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="x11-libs/gtk+:2
+ gnome-base/librsvg[gtk(+)]
+ gstreamer? (
+ media-libs/gstreamer:0.10
+ media-libs/gst-plugins-good:0.10
+ media-plugins/gst-plugins-ogg:0.10
+ media-plugins/gst-plugins-alsa:0.10
+ media-plugins/gst-plugins-vorbis:0.10 )
+ !gstreamer? (
+ media-libs/sdl-mixer
+ media-libs/libsdl:0 )
+ dev-libs/libxml2
+ dev-libs/popt
+ virtual/libintl
+ dev-db/sqlite:3
+ dev-python/pygtk[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ gnome-base/gnome-common
+ dev-perl/XML-Parser
+ sys-devel/gettext
+ sys-apps/texinfo
+ app-text/texi2html
+ virtual/pkgconfig"
+RDEPEND="${RDEPEND}
+ media-gfx/tuxpaint
+ sci-electronics/gnucap"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_prepare() {
+ # Drop DEPRECATED flags, bug #387817
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
+ src/gcompris/Makefile.am || die
+
+ epatch "${FILESDIR}"/${P}-build.patch
+ cp /usr/share/gettext/config.rpath .
+ eautoreconf
+ sed -i \
+ -e 's#^itlocaledir =.*$#itlocaledir = @localedir@#' \
+ po/Makefile.in.in || die
+
+ # Fix desktop files
+ sed -i \
+ -e '/Encoding/d' \
+ gcompris.desktop.in \
+ gcompris-edit.desktop.in || die
+}
+
+src_configure() {
+ GNUCHESS="${GAMES_BINDIR}/gcompris-gnuchess" \
+ egamesconf \
+ --datarootdir="${GAMES_DATADIR}" \
+ --datadir="${GAMES_DATADIR}" \
+ --localedir=/usr/share/locale \
+ --infodir=/usr/share/info \
+ --with-python="${PYTHON}" \
+ $(use_enable !gstreamer sdlmixer) \
+ --enable-sqlite \
+ --enable-py-build-only
+}
+
+src_install() {
+ default
+ prune_libtool_files --modules
+ prepgamesdirs
+}
diff --git a/games-kids/gcompris/gcompris-15.02.ebuild b/games-kids/gcompris/gcompris-15.02.ebuild
new file mode 100644
index 00000000000..cce7a7c13a6
--- /dev/null
+++ b/games-kids/gcompris/gcompris-15.02.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite,threads"
+
+inherit autotools eutils python-single-r1 games
+
+DESCRIPTION="full featured educational application for children from 2 to 10"
+HOMEPAGE="http://gcompris.net/"
+SRC_URI="http://gcompris.net/download/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="gstreamer"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="x11-libs/gtk+:2
+ gnome-base/librsvg[gtk(+)]
+ gstreamer? (
+ media-libs/gstreamer:0.10
+ media-libs/gst-plugins-good:0.10
+ media-plugins/gst-plugins-ogg:0.10
+ media-plugins/gst-plugins-alsa:0.10
+ media-plugins/gst-plugins-vorbis:0.10 )
+ !gstreamer? (
+ media-libs/sdl-mixer
+ media-libs/libsdl:0 )
+ dev-libs/libxml2
+ dev-libs/popt
+ virtual/libintl
+ dev-db/sqlite:3
+ dev-python/pygtk[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ gnome-base/gnome-common
+ dev-perl/XML-Parser
+ sys-devel/gettext
+ sys-apps/texinfo
+ app-text/texi2html
+ virtual/pkgconfig"
+RDEPEND="${RDEPEND}
+ media-gfx/tuxpaint
+ sci-electronics/gnucap"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_prepare() {
+ # Drop DEPRECATED flags, bug #387817
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
+ src/gcompris/Makefile.am || die
+
+ epatch "${FILESDIR}"/${P}-build.patch
+ cp /usr/share/gettext/config.rpath .
+ eautoreconf
+ sed -i \
+ -e 's#^itlocaledir =.*$#itlocaledir = @localedir@#' \
+ po/Makefile.in.in || die
+
+ # Fix desktop files
+ sed -i \
+ -e '/Encoding/d' \
+ gcompris.desktop.in \
+ gcompris-edit.desktop.in || die
+}
+
+src_configure() {
+ GNUCHESS="${GAMES_BINDIR}/gcompris-gnuchess" \
+ egamesconf \
+ --datarootdir="${GAMES_DATADIR}" \
+ --datadir="${GAMES_DATADIR}" \
+ --localedir=/usr/share/locale \
+ --infodir=/usr/share/info \
+ --with-python="${PYTHON}" \
+ $(use_enable !gstreamer sdlmixer) \
+ --enable-sqlite \
+ --enable-py-build-only
+}
+
+src_install() {
+ default
+ prune_libtool_files --modules
+ prepgamesdirs
+}
diff --git a/games-kids/gcompris/metadata.xml b/games-kids/gcompris/metadata.xml
new file mode 100644
index 00000000000..f72870c0c28
--- /dev/null
+++ b/games-kids/gcompris/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+</pkgmetadata>
diff --git a/games-kids/gmult/Manifest b/games-kids/gmult/Manifest
new file mode 100644
index 00000000000..284aede84ec
--- /dev/null
+++ b/games-kids/gmult/Manifest
@@ -0,0 +1 @@
+DIST gmult-8.0.tar.bz2 222981 SHA256 d4ed9282ea160b292e8c842ef761b56d3dafa2e0b229d0ee6b742cabc5a499d6 SHA512 40c29a998d50491de8c14f7e71ad298fb69e0dc6f1f04b1f9bf35f9f72010eb085a9bc7a9efa1f3c339ea44fdeb9eec4d4f82017442c57ebc28f992bc703252f WHIRLPOOL f7c1dcde25bb4fb1aa990f2c0415c88e9c987523128f1a6377b231d148ae1de0fb72672658f77d45d64a16ca4eb89e33bd5b2410e3402e0378e07ca597877cb0
diff --git a/games-kids/gmult/gmult-8.0.ebuild b/games-kids/gmult/gmult-8.0.ebuild
new file mode 100644
index 00000000000..695167d625f
--- /dev/null
+++ b/games-kids/gmult/gmult-8.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils gnome2-utils flag-o-matic games
+
+DESCRIPTION="Multiplication Puzzle is a simple GTK+ 2 game that emulates the multiplication game found in Emacs"
+HOMEPAGE="http://www.mterry.name/gmult/"
+SRC_URI="https://launchpad.net/gmult/trunk/${PV}/+download/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="dev-libs/glib:2
+ x11-libs/gtk+:3
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_configure() {
+ append-libs -lm
+ econf \
+ --bindir="${GAMES_BINDIR}"
+}
+
+src_install() {
+ default
+ 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/gmult/metadata.xml b/games-kids/gmult/metadata.xml
new file mode 100644
index 00000000000..3f66285f850
--- /dev/null
+++ b/games-kids/gmult/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="launchpad">gmult</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-kids/lletters/Manifest b/games-kids/lletters/Manifest
new file mode 100644
index 00000000000..09d39fef914
--- /dev/null
+++ b/games-kids/lletters/Manifest
@@ -0,0 +1,3 @@
+DIST lletters-media-0.1.9a.tar.gz 1966275 SHA256 5456457083fe026bbc818da307a000401d7a4903bd56b018e9a23526871b4c76 SHA512 0eb7f12c0ddeae4f9634c4c6a81ae496bc9a93e3863e1f993790e4a3589efb7163387ba28a43c18427a03362f7ddd8a5e0bca6eabcc904015c1711b95186dca0 WHIRLPOOL 1a383511074e1196cb075ed6c5c5d36b26e004748ca2439e0888237a7f80cc4c473d7ddc76df4a1bc3955b320669cf8b23fe22569b926c69ce1792ed3f97256e
+DIST lletters_0.1.95+gtk2-3.diff.gz 457812 SHA256 f94b282ca699b0be3071335813e295df0650c9473f569ff5a255ca1bde1219d7 SHA512 d4daf92741e4fd8a249de9fe0b22ad6108687c00c194ccbee103c51de70392707319ecef00a7e55dd6878789a23fb5d9a365c468bf55c1326e899f4224b11e77 WHIRLPOOL fc3e8050d27147d73876316cb682465eb20423ec2fc74f96a98e1220817bb340ec4cc2cf02daa919b1d2983f2d347e2bd0bb061e72cb15113c5ad49c9c457ee5
+DIST lletters_0.1.95+gtk2.orig.tar.gz 180896 SHA256 abcdb9448064972e2d0c4a4ca473c8e3ccb795458aa84c87438ecd29ef05e8c6 SHA512 40720f44511895fd780e4147b923ccc49a4068c10219c17bee2a54595721b87ba0ec99062e45e9b6477bd38bc3eccf0dbe830784776c37213d6c3b06f1105845 WHIRLPOOL b5132f6d01474e097efdf6e13e67417995c128e396c5b8398315d927f10f810e731ed5450ed0325540c32414a305467ed67fb5980cdfefa912f9871d43df5ca3
diff --git a/games-kids/lletters/files/lletters-0.1.95-build-2.patch b/games-kids/lletters/files/lletters-0.1.95-build-2.patch
new file mode 100644
index 00000000000..41e10517faf
--- /dev/null
+++ b/games-kids/lletters/files/lletters-0.1.95-build-2.patch
@@ -0,0 +1,60 @@
+diff -ur lletters-0.1.95.orig/libqdwav/Makefile.in lletters-0.1.95/libqdwav/Makefile.in
+--- lletters-0.1.95.orig/libqdwav/Makefile.in 2008-04-09 19:23:13.000000000 +0300
++++ lletters-0.1.95/libqdwav/Makefile.in 2008-04-09 19:48:08.000000000 +0300
+@@ -225,7 +225,6 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ noinst_LIBRARIES = libqdwav.a
+-AM_CFLAGS = -O2
+ libqdwav_a_SOURCES = wav_read.c wav_write.c
+ noinst_HEADERS = wav_lib.h
+ all: all-am
+diff -ur lletters-0.1.95.orig/libqdwav/wav_read.c lletters-0.1.95/libqdwav/wav_read.c
+--- lletters-0.1.95.orig/libqdwav/wav_read.c 2000-02-21 09:53:08.000000000 +0200
++++ lletters-0.1.95/libqdwav/wav_read.c 2008-04-09 19:51:23.000000000 +0300
+@@ -1,5 +1,6 @@
+ /* operations for verifying and reading wav files. */
+
++#include <string.h> /* for strs */
+ #include <stdio.h>
+ #include <fcntl.h>
+ #include <sys/stat.h>
+diff -ur lletters-0.1.95.orig/libqdwav/wav_write.c lletters-0.1.95/libqdwav/wav_write.c
+--- lletters-0.1.95.orig/libqdwav/wav_write.c 2008-04-09 19:23:13.000000000 +0300
++++ lletters-0.1.95/libqdwav/wav_write.c 2008-04-09 19:51:28.000000000 +0300
+@@ -1,3 +1,4 @@
++#include <string.h> /* for strs */
+ #include <stdio.h>
+ #include <fcntl.h>
+ #include <signal.h>
+diff -ur lletters-0.1.95.orig/list.c lletters-0.1.95/list.c
+--- lletters-0.1.95.orig/list.c 2000-02-23 06:54:57.000000000 +0200
++++ lletters-0.1.95/list.c 2008-04-09 19:51:35.000000000 +0300
+@@ -1,3 +1,4 @@
++#include <string.h> /* for strs */
+ #include "lletters.h"
+
+ /* prototype std lib functions */
+diff -ur lletters-0.1.95.orig/po/Makefile.in.in lletters-0.1.95/po/Makefile.in.in
+--- lletters-0.1.95.orig/po/Makefile.in.in 2008-04-09 19:23:13.000000000 +0300
++++ lletters-0.1.95/po/Makefile.in.in 2008-04-09 19:48:08.000000000 +0300
+@@ -111,9 +111,9 @@
+ install-data-no: all
+ install-data-yes: all
+ if test -r "$(MKINSTALLDIRS)"; then \
+- $(MKINSTALLDIRS) $(datadir); \
++ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
+ else \
+- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
++ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
+ fi
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+@@ -122,6 +122,7 @@
+ *.gmo) destdir=$(gnulocaledir);; \
+ *) destdir=$(localedir);; \
+ esac; \
++ destdir="$(DESTDIR)$$destdir"; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+ dir=$$destdir/$$lang/LC_MESSAGES; \
+ if test -r "$(MKINSTALLDIRS)"; then \
diff --git a/games-kids/lletters/files/lletters-0.1.95-make-382.patch b/games-kids/lletters/files/lletters-0.1.95-make-382.patch
new file mode 100644
index 00000000000..2a5ee9ecc4a
--- /dev/null
+++ b/games-kids/lletters/files/lletters-0.1.95-make-382.patch
@@ -0,0 +1,23 @@
+http://bugs.gentoo.org/340599
+
+--- intl/Makefile.in
++++ intl/Makefile.in
+@@ -202,12 +202,12 @@
+ # The dependency for intlh.inst is different in gettext and all other
+ # packages. Because we cannot you GNU make features we have to solve
+ # the problem while rewriting Makefile.in.
+-@GT_YES@intlh.inst: intlh.inst.in ../config.status
+-@GT_YES@ cd .. \
+-@GT_YES@ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
+-@GT_YES@ $(SHELL) ./config.status
+-@GT_NO@.PHONY: intlh.inst
+-@GT_NO@intlh.inst:
++intlh.inst: intlh.inst.in ../config.status
++ cd .. \
++ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
++ $(SHELL) ./config.status
++.PHONY: intlh.inst
++intlh.inst:
+
+ # Tell versions [3.59,3.63) of GNU make not to export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/games-kids/lletters/files/lletters-0.1.95-underlink.patch b/games-kids/lletters/files/lletters-0.1.95-underlink.patch
new file mode 100644
index 00000000000..a6e0a27ee4e
--- /dev/null
+++ b/games-kids/lletters/files/lletters-0.1.95-underlink.patch
@@ -0,0 +1,11 @@
+--- Makefile.in.old 2011-05-24 10:47:30.276355207 +0200
++++ Makefile.in 2011-05-24 10:47:53.316795932 +0200
+@@ -265,7 +265,7 @@
+
+ @SOUND_FALSE@lletters_SOURCES = $(lln_CORE)
+ @SOUND_TRUE@lletters_SOURCES = $(lln_CORE) wav_play.c $(sound_CORE)
+-@SOUND_TRUE@lletters_LDADD = libqdwav/libqdwav.a -lgdk_pixbuf-2.0 -lglib-2.0 -lgtk-x11-2.0
++@SOUND_TRUE@lletters_LDADD = libqdwav/libqdwav.a @GTK_LIBS@
+
+ #lletters_LDADD = #@GTK_LIBS@
+ @SOUND_FALSE@SUBDIRS = intl po images lang
diff --git a/games-kids/lletters/lletters-0.1.95-r2.ebuild b/games-kids/lletters/lletters-0.1.95-r2.ebuild
new file mode 100644
index 00000000000..f89dea81a58
--- /dev/null
+++ b/games-kids/lletters/lletters-0.1.95-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+PATCH_LEVEL=3
+
+DESCRIPTION="Game that helps young kids learn their letters and numbers"
+HOMEPAGE="http://lln.sourceforge.net"
+SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}+gtk2.orig.tar.gz
+ mirror://debian/pool/main/l/${PN}/${PN}_${PV}+gtk2-${PATCH_LEVEL}.diff.gz
+ mirror://sourceforge/lln/${PN}-media-0.1.9a.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="nls"
+
+RDEPEND="x11-libs/gtk+:2
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ epatch "${WORKDIR}"/${PN}_${PV}+gtk2-${PATCH_LEVEL}.diff \
+ "${FILESDIR}"/${P}-build-2.patch \
+ "${FILESDIR}"/${P}-underlink.patch \
+ "${FILESDIR}"/${P}-make-382.patch
+ cp -r "${WORKDIR}"/{images,sounds} . || die
+}
+
+src_configure() {
+ egamesconf $(use_enable nls)
+}
+
+src_install () {
+ default
+ newdoc debian/changelog ChangeLog.debian
+ doicon debian/${PN}.xpm
+ make_desktop_entry ${PN} "Linux Letters and Numbers" ${PN}
+ prepgamesdirs
+}
diff --git a/games-kids/lletters/metadata.xml b/games-kids/lletters/metadata.xml
new file mode 100644
index 00000000000..e3c708e396e
--- /dev/null
+++ b/games-kids/lletters/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">lln</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-kids/memonix/Manifest b/games-kids/memonix/Manifest
new file mode 100644
index 00000000000..f6949a3161f
--- /dev/null
+++ b/games-kids/memonix/Manifest
@@ -0,0 +1 @@
+DIST memonix_1.6_src.tar.bz2 6949315 SHA256 c5bd236c5cff2ffc07d98aff698368f32149c2428229fcde913e93bced250eab SHA512 212def9c30cd878103d4ac8b7f57c5fcaeffa74ee7ece18a993c69304de94a2ce9eea24a70af394477532ac9a0887b595e220e106239cac5e6aec5a75d1a8ff1 WHIRLPOOL 723a624ef298b0863d76fe0d53545e11b88ef9020ea3d7168c2b9673f39f1779e390f8f6ab9d3b2a0ac4123ce72e92e1ccb6b814d7f5b98347bb5af84fa1d919
diff --git a/games-kids/memonix/memonix-1.6.ebuild b/games-kids/memonix/memonix-1.6.ebuild
new file mode 100644
index 00000000000..f7804cbbd57
--- /dev/null
+++ b/games-kids/memonix/memonix-1.6.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils games
+
+DESCRIPTION="Brain teasers, puzzle and memory games for kid's in one pack"
+HOMEPAGE="http://www.viewizard.com/memonix/"
+SRC_URI="http://www.viewizard.com/download/${PN}_${PV}_src.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl:0[sound,opengl,video]
+ media-libs/sdl-image[jpeg]
+ media-libs/sdl-mixer[vorbis]
+ !games-kids/memonix-bin"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/MemonixSourceCode
+
+src_configure() {
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ exeinto "$(games_get_libdir)"
+ doexe ../${P}_build/Memonix
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins ../gamedata.vfs
+
+ games_make_wrapper ${PN} "$(games_get_libdir)"/Memonix "${GAMES_DATADIR}"/${PN}
+
+ newicon ../icon48.png ${PN}.png
+ make_desktop_entry ${PN}
+
+ dodoc ReadMe.txt
+
+ prepgamesdirs
+}
diff --git a/games-kids/memonix/metadata.xml b/games-kids/memonix/metadata.xml
new file mode 100644
index 00000000000..d3c2cc926f0
--- /dev/null
+++ b/games-kids/memonix/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-kids/metadata.xml b/games-kids/metadata.xml
new file mode 100644
index 00000000000..8836465ca30
--- /dev/null
+++ b/games-kids/metadata.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The games-kids category contains games designed for children.
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie games-kids enthält Spiele für Kinder.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría games-kids contiene juegos diseñados para niños.
+ </longdescription>
+ <longdescription lang="ja">
+ games-kidsカテゴリーには子供向けのゲームが含まれています。
+ </longdescription>
+ <longdescription lang="nl">
+ De games-kids categorie bevat spellen die gemaakt zijn voor kinderen.
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm games-kids chứa các trò chơi thiết kế cho thiếu nhi.
+ </longdescription>
+ <longdescription lang="sk">
+ Kategória games-kids obsahuje hry navrhnuté pre menšie deti.
+ </longdescription>
+ <longdescription lang="it">
+ La categoria games-kids contiene giochi per bambini.
+ </longdescription>
+ <longdescription lang="pt">
+ A categoria games-kids contém jogos para crianças.
+ </longdescription>
+ <longdescription lang="pl">
+ Kategoria games-kids zawiera gry dla dzieci.
+ </longdescription>
+</catmetadata>
+
diff --git a/games-kids/pytraffic/Manifest b/games-kids/pytraffic/Manifest
new file mode 100644
index 00000000000..74793c14035
--- /dev/null
+++ b/games-kids/pytraffic/Manifest
@@ -0,0 +1 @@
+DIST pytraffic-2.5.4.tar.gz 2474006 SHA256 7a3254f5a37d71104a1223d960ce8b5d23d40caa4b2b8b8b6236d6a762c00a2a SHA512 c34a9b783e7de998b8ebc39c2ed2bf1b9a40b090c498773297da455b182aaa5f2047fb541bb11a91e11abdeffee9f02b04a37861135c5fa946fccabfc21b44c1 WHIRLPOOL 0e5c76c3d6b409bb93f9f83218a1fa1705d5f6d38041b161846a5137a1b63497a09891f80d543a058a2fc4748ae3802e9dc8074adf24bba2ac3902abdeb2ec18
diff --git a/games-kids/pytraffic/files/pytraffic b/games-kids/pytraffic/files/pytraffic
new file mode 100644
index 00000000000..30ab25196ce
--- /dev/null
+++ b/games-kids/pytraffic/files/pytraffic
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import os
+os.chdir("@GAMES_DATADIR@")
+import pytraffic.Main
+
diff --git a/games-kids/pytraffic/metadata.xml b/games-kids/pytraffic/metadata.xml
new file mode 100644
index 00000000000..e337a6e70f1
--- /dev/null
+++ b/games-kids/pytraffic/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="freecode">pytraffic</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-kids/pytraffic/pytraffic-2.5.4-r1.ebuild b/games-kids/pytraffic/pytraffic-2.5.4-r1.ebuild
new file mode 100644
index 00000000000..f1ccf1eac8f
--- /dev/null
+++ b/games-kids/pytraffic/pytraffic-2.5.4-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils gnome2-utils python-utils-r1 python-r1 distutils-r1 games
+
+DESCRIPTION="Python version of the board game Rush Hour"
+HOMEPAGE="http://freecode.com/projects/pytraffic"
+SRC_URI="http://alpha.uhasselt.be/Research/Algebra/Members/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl:0[sound]
+ media-libs/sdl-mixer"
+RDEPEND="${DEPEND}
+ dev-python/pygtk"
+
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+
+ # FHS compliance
+ sed -i \
+ -e 's#return os.path.join(exec_dir,path)#return os.path.join(os.getcwd(),path)#' \
+ Misc.py || die
+
+ sed \
+ -e "s#@GAMES_DATADIR@#${GAMES_DATADIR}/${PN}#" \
+ "${FILESDIR}"/${PN} > "${T}"/${PN} || die
+}
+
+python_install() {
+ # install modules manually, build system broken
+ python_moduleinto ${PN}
+ python_domodule "${BUILD_DIR}"/lib/.
+
+ # allow to import the stuff as module
+ touch "${D}$(python_get_sitedir)"/${PN}/__init__.py || die
+
+ # install python wrapper script to handle multiple ABI properly
+ python_scriptinto "${GAMES_BINDIR}"
+ python_doscript "${T}"/${PN}
+}
+
+python_install_all() {
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r doc config.db extra_themes icons libglade music sound_test themes ttraffic.levels
+
+ doicon -s 64 icons/64x64/${PN}.png
+ make_desktop_entry ${PN} PyTraffic
+
+ dodoc AUTHORS CHANGELOG README
+
+ prepgamesdirs
+}
+
+src_prepare() {
+ distutils-r1_src_prepare
+}
+
+src_compile() {
+ distutils-r1_src_compile
+}
+
+src_install() {
+ distutils-r1_src_install
+}
+
+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/Manifest b/games-kids/tuxmath/Manifest
new file mode 100644
index 00000000000..564780819f8
--- /dev/null
+++ b/games-kids/tuxmath/Manifest
@@ -0,0 +1 @@
+DIST tuxmath_w_fonts-2.0.1.tar.gz 10448109 SHA256 6d26c08672edf5cce0ef2f685555867a7016c8a186282518276378b6c58774f4 SHA512 04f6c347a5eecca7790b5577a9dcb3ea7bf444e19614b468ba6902e37c25aa7de22c62f7ab34e6bd282326f443496aa1d8320f13c4d12ec7e14c118e519e4dc7 WHIRLPOOL a4749d547651ccc9ddd6a36bdf928e751e36ec03678e4955a80fb24a45a466a1c390dcd0ddb8e006437c1c5e6a2c27e4b47cca0da86a484bde292e4699ce50d7
diff --git a/games-kids/tuxmath/metadata.xml b/games-kids/tuxmath/metadata.xml
new file mode 100644
index 00000000000..8e44372ac61
--- /dev/null
+++ b/games-kids/tuxmath/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <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 00000000000..89718b6a130
--- /dev/null
+++ b/games-kids/tuxmath/tuxmath-2.0.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/tuxmathscrabble/Manifest b/games-kids/tuxmathscrabble/Manifest
new file mode 100644
index 00000000000..35b0fd3e746
--- /dev/null
+++ b/games-kids/tuxmathscrabble/Manifest
@@ -0,0 +1 @@
+DIST tuxmathscrabble-0.8.1.tar.gz 9376820 SHA256 6cce0ecc9d30decf11cdf746e8c3dad4527022878b2efba433563b1ca0d28c92 SHA512 70a48b078af170c4008beca495576afc6e0dd72239b2b57543a98642ee9e8d13a2ae48aa5afab77015c8c56cd9a2d80865645504a620b2e2b798ed40f653533c WHIRLPOOL 2e5e35803b08e035bed343b66ca12bdd2d0bea09643885ec129acc6206203ac599a6cb6e85ce4a1772120f9898a418a68fdb64af4486e5b743750134833cc330
diff --git a/games-kids/tuxmathscrabble/files/tuxmathscrabble-0.8.1-gentoo.patch b/games-kids/tuxmathscrabble/files/tuxmathscrabble-0.8.1-gentoo.patch
new file mode 100644
index 00000000000..691c29a3bb0
--- /dev/null
+++ b/games-kids/tuxmathscrabble/files/tuxmathscrabble-0.8.1-gentoo.patch
@@ -0,0 +1,92 @@
+--- TuxMathScrabble/tms.py.old 2015-02-02 22:19:30.894373011 +0100
++++ TuxMathScrabble/tms.py 2015-02-02 22:20:19.530320947 +0100
+@@ -1258,7 +1258,7 @@
+ if not os.path.exists(infname):
+
+ master_fname=os.path.join(self.env.fontdir,'.tms_config_master')
+- candidate=os.path.join('/','usr','share','games','tuxmathscrabble','.tms_config_master')
++ candidate=os.path.join('@GENTOO_DATADIR@','.tms_config_master')
+ if os.path.exists(candidate):
+ master_fname=candidate
+
+--- .tms_config_master.old 2015-02-02 22:21:59.655216399 +0100
++++ .tms_config_master 2015-02-02 22:25:33.754003432 +0100
+@@ -380,66 +380,66 @@
+ 'wtype':'wx.SpinCtrl',
+ },
+ 'FONT_APPNAME':{
+- 'default_path':'./Font',
++ 'default_path':'@GENTOO_DATADIR@/Font',
+ 'default_value':'mickey.ttf',
+ 'descr':'',
+ 'dtype':'wx.String',
+- 'path':'./Font',
++ 'path':'@GENTOO_DATADIR@/Font',
+ 'showme':-1,
+ 'tooltip':'Font to be used for application name overlay.',
+ 'value':'mickey.ttf',
+ 'wtype':'wx.FileDialog',
+ },
+ 'FONT_BFONT':{
+- 'default_path':'./Font',
++ 'default_path':'@GENTOO_DATADIR@/Font',
+ 'default_value':'Bluehigh.ttf',
+ 'descr':'',
+ 'dtype':'wx.String',
+- 'path':'./Font',
++ 'path':'@GENTOO_DATADIR@/Font',
+ 'showme':0,
+ 'tooltip':'Button Font',
+ 'value':'Bluehigh.ttf',
+ 'wtype':'wx.FileDialog',
+ },
+ 'FONT_CFONT':{
+- 'default_path':'./Font',
++ 'default_path':'@GENTOO_DATADIR@/Font',
+ 'default_value':'arialbd.ttf',
+ 'descr':'',
+ 'dtype':'wx.String',
+- 'path':'./Font',
++ 'path':'@GENTOO_DATADIR@/Font',
+ 'showme':0,
+ 'tooltip':'Character font used for tile characters',
+ 'value':'arialbd.ttf',
+ 'wtype':'wx.FileDialog',
+ },
+ 'FONT_HUD':{
+- 'default_path':'./Font',
++ 'default_path':'@GENTOO_DATADIR@/Font',
+ 'default_value':'aqua_pfont.ttf',
+ 'descr':'',
+ 'dtype':'wx.String',
+- 'path':'./Font',
++ 'path':'@GENTOO_DATADIR@/Font',
+ 'showme':0,
+ 'tooltip':'The default font to be used for other overlay information (credits, etc).',
+ 'value':'aqua_pfont.ttf',
+ 'wtype':'wx.FileDialog',
+ },
+ 'FONT_OVERLAY':{
+- 'default_path':'./Font',
++ 'default_path':'@GENTOO_DATADIR@/Font',
+ 'default_value':'arial.ttf',
+ 'descr':'',
+ 'dtype':'wx.String',
+- 'path':'./Font',
++ 'path':'@GENTOO_DATADIR@/Font',
+ 'showme':0,
+ 'tooltip':'The default font to be used for other overlay information (credits, etc).',
+ 'value':'arial.ttf',
+ 'wtype':'wx.FileDialog',
+ },
+ 'FONT_PFONT':{
+- 'default_path':'./Font',
++ 'default_path':'@GENTOO_DATADIR@/Font',
+ 'default_value':'Bluehigh.ttf',
+ 'descr':'',
+ 'dtype':'wx.String',
+- 'path':'./Font',
++ 'path':'@GENTOO_DATADIR@/Font',
+ 'showme':0,
+ 'tooltip':'Point value font (ie lower right corner of tiles)',
+ 'value':'Bluehigh.ttf',
diff --git a/games-kids/tuxmathscrabble/metadata.xml b/games-kids/tuxmathscrabble/metadata.xml
new file mode 100644
index 00000000000..d55f8c0d374
--- /dev/null
+++ b/games-kids/tuxmathscrabble/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="github">asymptopia/tuxmathscrabble</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-kids/tuxmathscrabble/tuxmathscrabble-0.8.1.ebuild b/games-kids/tuxmathscrabble/tuxmathscrabble-0.8.1.ebuild
new file mode 100644
index 00000000000..2ec298f017c
--- /dev/null
+++ b/games-kids/tuxmathscrabble/tuxmathscrabble-0.8.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-single-r1 multilib games
+
+MY_PN=TuxMathScrabble
+DESCRIPTION="math-version of the popular board game for children 4-10"
+HOMEPAGE="http://www.asymptopia.org/"
+SRC_URI="https://github.com/asymptopia/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+CDEPEND="${PYTHON_DEPS}
+ dev-python/wxpython[${PYTHON_USEDEP}]"
+DEPEND="${CDEPEND}
+ app-arch/unzip"
+RDEPEND="${CDEPEND}
+ dev-python/pygame[${PYTHON_USEDEP}]"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_prepare() {
+ rm -f $(find . -name '*.pyc')
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ sed -i \
+ -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${MY_PN}:" \
+ ${MY_PN}/tms.py \
+ .tms_config_master \
+ || die "sed failed"
+ sed -i \
+ -e "s:python2.7-32:python:g" \
+ ${PN}.py || die "2nd sed failed"
+ python_fix_shebang .
+}
+
+src_install() {
+ newgamesbin ${PN}.py ${PN}
+
+ insinto $(python_get_sitedir)
+ doins -r ${MY_PN}
+
+ insinto "${GAMES_DATADIR}"/${MY_PN}
+ doins -r .tms_config_master Font
+
+ python_optimize
+
+ newicon tms.ico ${PN}.ico
+ make_desktop_entry ${PN} ${PN} /usr/share/pixmaps/${PN}.ico
+
+ dodoc CHANGES README
+ prepgamesdirs
+}
diff --git a/games-kids/tuxtype/Manifest b/games-kids/tuxtype/Manifest
new file mode 100644
index 00000000000..df9bbd4dc97
--- /dev/null
+++ b/games-kids/tuxtype/Manifest
@@ -0,0 +1 @@
+DIST tuxtype_w_fonts-1.8.1.tar.gz 11528002 SHA256 2687b858679b4f0b4f42204211d162234568198544bd95a9b71ec96e788d1481 SHA512 2c360807295f8d9f3d18f36b64c49e39fac78d81570c7a554244a01ee76627c90579e580b609ea7994378f5bbff916142e293ad94306b7b38d132fdc1c53734f WHIRLPOOL 9af2c761b6c1758cd4b3f5b746f9173b65a40972838e657a497b38ca3ec1e967a6b05193a69018ce0e4d9efaf9b781ef544b5196b4bc1c658ce7fd714b9d41a9
diff --git a/games-kids/tuxtype/metadata.xml b/games-kids/tuxtype/metadata.xml
new file mode 100644
index 00000000000..d3c2cc926f0
--- /dev/null
+++ b/games-kids/tuxtype/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-kids/tuxtype/tuxtype-1.8.1.ebuild b/games-kids/tuxtype/tuxtype-1.8.1.ebuild
new file mode 100644
index 00000000000..50045ea7c92
--- /dev/null
+++ b/games-kids/tuxtype/tuxtype-1.8.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="Typing tutorial with lots of eye-candy"
+HOMEPAGE="http://alioth.debian.org/projects/tux4kids/"
+SRC_URI="http://alioth.debian.org/frs/download.php/3270/tuxtype_w_fonts-${PV}.tar.gz"
+
+LICENSE="GPL-2 OFL-1.1"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="svg"
+
+DEPEND="media-libs/libsdl:0[video]
+ media-libs/sdl-pango
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ media-libs/sdl-ttf
+ svg? ( gnome-base/librsvg )"
+
+S=${WORKDIR}/tuxtype_w_fonts-${PV}
+
+src_prepare() {
+ sed -i \
+ -e 's:$(prefix)/share:'${GAMES_DATADIR}':g' \
+ -e 's:$(prefix)/doc/$(PACKAGE):/usr/share/doc/'${PF}':g' \
+ $(find -name Makefile.in) || die
+}
+
+src_configure() {
+ egamesconf \
+ --docdir=/usr/share/doc/${PF} \
+ --localedir=/usr/share/locale \
+ $(use_with svg rsvg)
+}
+
+src_install() {
+ default
+ rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL,ABOUT-NLS}*
+ doicon ${PN}.ico
+ make_desktop_entry ${PN} TuxTyping /usr/share/pixmaps/${PN}.ico
+ keepdir "${GAMES_SYSCONFDIR}/${PN}" "${GAMES_STATEDIR}/${PN}/words"
+ prepgamesdirs
+}