diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-10-26 00:12:34 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-10-26 00:12:34 +0000 |
commit | e18c8bb0f283be1af0f681ebb8413b4a65a31af2 (patch) | |
tree | 6422713678698e66c053a6686ebd50cebf2893c4 /games-kids | |
parent | Stable for HPPA (bug #192876). Fixed quoting issues. (diff) | |
download | historical-e18c8bb0f283be1af0f681ebb8413b4a65a31af2.tar.gz historical-e18c8bb0f283be1af0f681ebb8413b4a65a31af2.tar.bz2 historical-e18c8bb0f283be1af0f681ebb8413b4a65a31af2.zip |
version bump
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'games-kids')
-rw-r--r-- | games-kids/childsplay/ChangeLog | 8 | ||||
-rw-r--r-- | games-kids/childsplay/Manifest | 18 | ||||
-rw-r--r-- | games-kids/childsplay/childsplay-0.90.1.ebuild | 136 | ||||
-rw-r--r-- | games-kids/childsplay/files/digest-childsplay-0.90.1 | 9 |
4 files changed, 166 insertions, 5 deletions
diff --git a/games-kids/childsplay/ChangeLog b/games-kids/childsplay/ChangeLog index 7ef72dc6faf3..3d83d47c2510 100644 --- a/games-kids/childsplay/ChangeLog +++ b/games-kids/childsplay/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-kids/childsplay # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/childsplay/ChangeLog,v 1.11 2007/07/08 09:35:57 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/childsplay/ChangeLog,v 1.12 2007/10/26 00:12:33 mr_bones_ Exp $ + +*childsplay-0.90.1 (26 Oct 2007) + + 26 Oct 2007; Michael Sterrett <mr_bones_@gentoo.org> + +childsplay-0.90.1.ebuild: + version bump 08 Jul 2007; Tupone Alfredo <tupone@gentoo.org> childsplay-0.83.1.ebuild, childsplay-0.85.1.ebuild: diff --git a/games-kids/childsplay/Manifest b/games-kids/childsplay/Manifest index 7953c72f9d99..14f9bc499916 100644 --- a/games-kids/childsplay/Manifest +++ b/games-kids/childsplay/Manifest @@ -4,9 +4,12 @@ RMD160 d7ce724efdc413a1fce862aa4f0d3643430b6e4f files/childsplay 99 SHA256 d33e50603bba2e2c5808d30df79d3172ec28fb26b7a97da38d5719f5d356c990 files/childsplay 99 DIST childsplay-0.68.tar.gz 1073230 RMD160 77e5d34b11cf7022727342b49165369875fc0bbc SHA1 3567f6bc717cd7f575fbd3ab39a23bac305df9be SHA256 0a4f696c87fb40f4bd614376a1c6481349c3916febe33e209399dc23a192a6ec DIST childsplay-0.85.1.tgz 2014239 RMD160 2e5849b6e34884b4f46ddb7169edd728b8af0315 SHA1 b3f064b1004aaa97c68ae78b8374651669d03998 SHA256 35bc28e87c88a0acef681991188902a3a531cb08fe8e7421788cf4333739f7fc +DIST childsplay-0.90.1.tgz 2329015 RMD160 ba35d1d4324714a4ae6abcc14e73af693e26bb4d SHA1 a56816703b6fa9fb2dbe03d3c2b455968e30cbb8 SHA256 beaacf545dd7280ecdba1b7a730cd80e4c56959413aaa624c9d4ce4edbc2d8f1 DIST childsplay-plugins-0.68.tar.gz 477514 RMD160 50a528785b72eedc02efd08a684da8da0562f110 SHA1 748ac662476bb794e95f72d1d65fede7acad3262 SHA256 cccfca63ae1e920d47af0da3b84aa0a58ea18f7bc9a9b8ece46ccb09d3a19149 DIST childsplay_plugins-0.85.2.tgz 4534418 RMD160 07d932649ad089b62a2aed369d705755266fdf4a SHA1 0fade9dff6961bb63f092b96fbf916d36e6f273b SHA256 f0b655acc79821c3b91f9cf36f522e0858186a5e7e6785e765d0b8ef80b756c8 +DIST childsplay_plugins-0.90.tgz 4528735 RMD160 d639777fd814595980e2bf8c22663d06263a2e11 SHA1 4cfadf71d83f272201e72dcc33b4e0be1dd1843e SHA256 3eff00eb1fb20f59b503071e61ca21eaf869969bb7cdc5f644ece5f6e48664c3 DIST childsplay_plugins_lfc-0.85.2.tgz 6137391 RMD160 b387cf956adc615fc50e9d87102a9e26dda99365 SHA1 17a2c604e6a6031f801d84044876bf7579e2ff75 SHA256 beca9cffd969697ee06ca7b858d764ad011dd98abbce5b16118edf81e10ad09f +DIST childsplay_plugins_lfc-0.90.tgz 6159653 RMD160 b78786a81b65a396eeb94660e22ad342c2e4d769 SHA1 29c49598695ad24d0535183bd5ab701f0aa7c276 SHA256 629a84beb94191c786508de4476c8b7ac98b5007aa7e0d9f7d0fa4d3e43b11b2 EBUILD childsplay-0.68.ebuild 1785 RMD160 9e1c90ae681a8f2d2df686e4e5ae734a86927591 SHA1 4f1215075100155b9fc1cae3170ad698cbcef26f SHA256 b151a28df596aead178bf2228edb86978cf9c5e5cc414497f24566ab59fa7429 MD5 17aa94f079a2900fc8858e280810647a childsplay-0.68.ebuild 1785 RMD160 9e1c90ae681a8f2d2df686e4e5ae734a86927591 childsplay-0.68.ebuild 1785 @@ -15,10 +18,14 @@ EBUILD childsplay-0.85.1.ebuild 3718 RMD160 30c6be94d09474498bcaf5ebeefd0afb2c7c MD5 7ad2abff143e85d00d005bd31428c819 childsplay-0.85.1.ebuild 3718 RMD160 30c6be94d09474498bcaf5ebeefd0afb2c7c8873 childsplay-0.85.1.ebuild 3718 SHA256 9dee75e172ed96f8ccb5350b25714aa070e98917f5e634065e946fbee2d48b8c childsplay-0.85.1.ebuild 3718 -MISC ChangeLog 1611 RMD160 0dcaa42d3530502fcd3dedddeadc08f5657f9308 SHA1 0e9a2b392f8e5626a6dad32b572a4b3674887618 SHA256 1bf0bf1fa48533bf0897cd690f394f03dda4b0e16f14848444fae7b412a571c9 -MD5 13ad1ff8d1951114990ac44964a536b4 ChangeLog 1611 -RMD160 0dcaa42d3530502fcd3dedddeadc08f5657f9308 ChangeLog 1611 -SHA256 1bf0bf1fa48533bf0897cd690f394f03dda4b0e16f14848444fae7b412a571c9 ChangeLog 1611 +EBUILD childsplay-0.90.1.ebuild 3717 RMD160 883f10ac5c30436b6e71107d275e813024e223d2 SHA1 37f046ba95de5b028db41bc5ac3ae4d465be9898 SHA256 f1170467fa33cfc93a8c78cded32b1e84a014631af3e7973a38898cf94b21dfb +MD5 9706426f3efd376307765f1de178a9a9 childsplay-0.90.1.ebuild 3717 +RMD160 883f10ac5c30436b6e71107d275e813024e223d2 childsplay-0.90.1.ebuild 3717 +SHA256 f1170467fa33cfc93a8c78cded32b1e84a014631af3e7973a38898cf94b21dfb childsplay-0.90.1.ebuild 3717 +MISC ChangeLog 1748 RMD160 03bd32ee0f658731f3a7f20e11affaafd9a3b53c SHA1 5ba211a16bd6e94ed1442e3606f21f3715340616 SHA256 bec2836dec2ca9d63b2e1a91e2af4be5ebedcd3b12cab1d2f1f26b8028370a7e +MD5 a91cc0541223e157ddaa6fa20c23ec65 ChangeLog 1748 +RMD160 03bd32ee0f658731f3a7f20e11affaafd9a3b53c ChangeLog 1748 +SHA256 bec2836dec2ca9d63b2e1a91e2af4be5ebedcd3b12cab1d2f1f26b8028370a7e ChangeLog 1748 MISC metadata.xml 340 RMD160 df5c4251e24c5f3951e50ed7a713b6028f8f12ec SHA1 71f3ff94bcdaf386a08944d59c0c883474a3a0b8 SHA256 a27158ca00e167722e2fbe151d58b63588863d71b2e152d491b1392d1e4704a9 MD5 f0ebc706dde0833bf4b8398d9e04faee metadata.xml 340 RMD160 df5c4251e24c5f3951e50ed7a713b6028f8f12ec metadata.xml 340 @@ -29,3 +36,6 @@ SHA256 b3e8909b2c7cde49e344c85b62fdfd57887714ebcedf105efa303a052d0e30fc files/di MD5 8fb0ffd429e4456b60c3dcbdca1cb02f files/digest-childsplay-0.85.1 801 RMD160 1d1ede43d6b1b05b3ba4ba715f9dee30d1c736f9 files/digest-childsplay-0.85.1 801 SHA256 8a2209aa756ba22abd27465390e03f305c2dd950029eecac33cea46fd69f513e files/digest-childsplay-0.85.1 801 +MD5 3b440e6382ce2408a764f9baeffa2b9e files/digest-childsplay-0.90.1 789 +RMD160 383b35011a7ed2364a2beafd15df31f797477fa1 files/digest-childsplay-0.90.1 789 +SHA256 651bbe6c4102ce54334af507f5b83147d5e232f4fb03234e3d4ce0bead63c283 files/digest-childsplay-0.90.1 789 diff --git a/games-kids/childsplay/childsplay-0.90.1.ebuild b/games-kids/childsplay/childsplay-0.90.1.ebuild new file mode 100644 index 000000000000..9483ea95bc03 --- /dev/null +++ b/games-kids/childsplay/childsplay-0.90.1.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/childsplay/childsplay-0.90.1.ebuild,v 1.1 2007/10/26 00:12:33 mr_bones_ Exp $ + +inherit eutils python 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=">=dev-lang/python-2.1 + >=dev-python/pygame-1.7.1 + >=media-libs/sdl-image-1.2 + >=media-libs/sdl-ttf-2.0 + >=media-libs/sdl-mixer-1.2 + media-libs/libogg" + +src_unpack() { + local DIR + + # Copy the plugins into the main package. + unpack ${A} + for DIR in ${PN}_plugins-${PLUGINS_VERSION} ${PN}_plugins_lfc-${PLUGINS_LFC_VERSION}; do + cp -r ${DIR}/Data/*.icon.png ${P}/Data/icons || die + cp -r ${DIR}/lib/* ${P}/lib || die + cp -r ${DIR}/assetml/* ${P}/assetml || die + done + cp -r ${PN}_plugins-${PLUGINS_VERSION}/Data/AlphabetSounds ${P}/Data || die + cp ${PN}_plugins-${PLUGINS_VERSION}/add-score.py ${P} || die + cd "${S}" + gunzip man/childsplay.6.gz +} + +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 + + cp -r locale/* "${D}/${_LOCALEDIR}" || die + 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}" + + doman man/childsplay.6 + dodoc doc/README* doc/Changelog doc/copyright + + # Make a launcher. + dogamesbin "${FILESDIR}"/childsplay || die + sed -i \ + -e "s:GENTOO_DIR:${_CPDIR}:" \ + "${D}${GAMES_BINDIR}"/childsplay \ + || die "sed failed" + + newicon assetml/childsplay/childsplay-images/chpl-icon-48.png ${PN}.png + make_desktop_entry childsplay Childsplay + + prepgamesdirs + fperms g+w "${_SCOREFILE}" +} + +pkg_postinst() { + python_mod_optimize "${_CPDIR}" + games_pkg_postinst +} + +pkg_postrm() { + python_mod_cleanup "${_CPDIR}" +} diff --git a/games-kids/childsplay/files/digest-childsplay-0.90.1 b/games-kids/childsplay/files/digest-childsplay-0.90.1 new file mode 100644 index 000000000000..b65d492ad5da --- /dev/null +++ b/games-kids/childsplay/files/digest-childsplay-0.90.1 @@ -0,0 +1,9 @@ +MD5 c636e320f70d43a47b7fcd3c347d03a0 childsplay-0.90.1.tgz 2329015 +RMD160 ba35d1d4324714a4ae6abcc14e73af693e26bb4d childsplay-0.90.1.tgz 2329015 +SHA256 beaacf545dd7280ecdba1b7a730cd80e4c56959413aaa624c9d4ce4edbc2d8f1 childsplay-0.90.1.tgz 2329015 +MD5 2abd77c938ce4297c3a6190637833ca5 childsplay_plugins-0.90.tgz 4528735 +RMD160 d639777fd814595980e2bf8c22663d06263a2e11 childsplay_plugins-0.90.tgz 4528735 +SHA256 3eff00eb1fb20f59b503071e61ca21eaf869969bb7cdc5f644ece5f6e48664c3 childsplay_plugins-0.90.tgz 4528735 +MD5 123b24a0af50cda07f8c6869d6f939ff childsplay_plugins_lfc-0.90.tgz 6159653 +RMD160 b78786a81b65a396eeb94660e22ad342c2e4d769 childsplay_plugins_lfc-0.90.tgz 6159653 +SHA256 629a84beb94191c786508de4476c8b7ac98b5007aa7e0d9f7d0fa4d3e43b11b2 childsplay_plugins_lfc-0.90.tgz 6159653 |