diff options
Diffstat (limited to 'games-kids/cubetest')
-rw-r--r-- | games-kids/cubetest/Manifest | 7 | ||||
-rw-r--r-- | games-kids/cubetest/cubetest-0.9.4-r1.ebuild | 32 | ||||
-rw-r--r-- | games-kids/cubetest/cubetest-0.9.4.ebuild | 33 | ||||
-rw-r--r-- | games-kids/cubetest/files/cubetest-0.9.4-build.patch | 101 | ||||
-rw-r--r-- | games-kids/cubetest/metadata.xml | 8 |
5 files changed, 181 insertions, 0 deletions
diff --git a/games-kids/cubetest/Manifest b/games-kids/cubetest/Manifest new file mode 100644 index 000000000000..8210bd822f33 --- /dev/null +++ b/games-kids/cubetest/Manifest @@ -0,0 +1,7 @@ +AUX cubetest-0.9.4-build.patch 4202 SHA256 5964d60d0a495117c80c83db8a00163ae9e4504a9ccc03555879a6bcb78f5333 SHA512 e8ce33dee2ac56ca79609dd5a88e2ea0ba484e58425e99a48f158c6af053d6c48e1c8cc602cf2233bc94b1976ac661d3375815174a04efcb1d7bf4a246b11c9c WHIRLPOOL 9b70af967c93971566b3090234c81c6f307d3b690556ddde6ba2921d153b42bcf08a8e7ed6d3eb6a8a4b86e330b13c51668685ca20b6f565d2836c2d3629e743 +DIST cubetest-0.9.4.tar.bz2 764429 SHA256 fa7341a081a4803f26dd95c5ceb998867ed120b2e0ce0a61b758ced37d782521 SHA512 91f1d312ba4cfb08d359ab43347088592977a0d5758baf64a17d62b49d7a53f5b112e16d2a98e3217c6eb06426ef320039d1ae8af8298eb010952473116c916b WHIRLPOOL b004e8d42c2447c484ef524a7f8421cb70f2664207a43135de372e472faf89042018afe435d304c4ecb812b569cddc127437980da3e091bf38031f2cf1391043 +EBUILD cubetest-0.9.4-r1.ebuild 620 SHA256 c6caedd0f5991918fd8bd39c2f3b07437913281c2e0d9a16aadf5c6d0e4bab98 SHA512 7d2d699ef60477df74841e7d22b08655c69abde9ca60cdecb26a774dce3de65be4ab8316fc28d77bc253900b85572f2dafceee8cb16c99f9b4a17a9396c96e35 WHIRLPOOL 701a6eeb7147efd01220171ed22461b5c652f16622f6212a3df574cf92d1530cdb9550943cb61a93f89dd7ebc51d617948c796105488b8a1ed5234e0f9ae09e6 +EBUILD cubetest-0.9.4.ebuild 666 SHA256 73cdf12f4e9fb192f94b66223fedb4266001f84613c903c75a856b326160316f SHA512 8694a40f9df63bd95a7355b43bf402942ccbb952d35640c41b5df10b5f203a8f62bf25db2a4a189867f1471f61a219685ea1b1cca461836111c4b7d39647b35c WHIRLPOOL 35f28b30473d91d3e36141fcce07da9e137abd5a57ff58689a28cb40229c0d71286797516e7588e1af46a88ad198b7c5cf1fa58d779628b6273923cd70fc917b +MISC ChangeLog 2723 SHA256 5edee30ae2a54f5a5599c29d7108a3e104f1d30c90a2a4905536efd9c22de1d5 SHA512 ba35dcfd469b356e04d87e0156bd9b1616712f1ee69c3e76c58b3a64db73171b08f1f3759f9c4f35855f12c8c067f398822d5017def64289ab3744da03a3006a WHIRLPOOL 718fa80a5f06b38c30b326870f690ec588a5cc3d9a28fcb04dd9ff4aea814ddf51323e901bf7f934c4e2b3fc12ef5b32640faf820b6a6781f682b8e2010bd49e +MISC ChangeLog-2015 2277 SHA256 1ec3e2dab3ae4f0fd9504521727785c7936baeb3bd08f62ce40398f8f26c69bd SHA512 4e093d885aedc4ce7aecd6d32e5a51b008e7bf935e1f09b46d2ef47537ad4a03cf74177fce108b6dc3277ba9b7ba90271e8eb95c6c673a1fb5f718917d617039 WHIRLPOOL 9d287914ff1940769e36c5139893b906b0c3f8d1b2d8ca641ffac975986c17649bcfa868a39ce1501992d93a054c42a1b796bc358fdd490d1be7dbda01189e1e +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-kids/cubetest/cubetest-0.9.4-r1.ebuild b/games-kids/cubetest/cubetest-0.9.4-r1.ebuild new file mode 100644 index 000000000000..b55bc9ebc1b7 --- /dev/null +++ b/games-kids/cubetest/cubetest-0.9.4-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 ~x86" +IUSE="" + +RDEPEND="dev-qt/qtcore:4[qt3support] + dev-qt/qtgui:4" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-build.patch +) + +src_prepare() { + local i + + default + + for i in $(find src/ -iname *_moc.cpp) ; do + moc ${i/_moc.cpp/.h} -o $i || die + done +} 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 000000000000..9348d2ae3a31 --- /dev/null +++ b/games-kids/cubetest/cubetest-0.9.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 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 000000000000..71411700c336 --- /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 è %1.</translation> ++ <translation>Bene! La risposta esatta è %1.</translation> + </message> + <message> + <source>Wrong! The correct answer is %1.</source> +- <translation>Sbagliato! La risposta esatta è %1.</translation> ++ <translation>Sbagliato! La risposta esatta è %1.</translation> + </message> + <message> + <source>Next question</source> +@@ -69,11 +69,11 @@ + </message> + <message> + <source>Difficulty </source> +- <translation>Difficoltà</translation> ++ <translation>Difficoltà</translation> + </message> + <message> + <source>Can I play Daddy?</source> +- <translation>Posso giocare, Papà?</translation> ++ <translation>Posso giocare, Papà?</translation> + </message> + <message> + <source>Don'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 è stato scritto da Jos van der Oever ed è rilasciato con la Licenza Pubblica Generale (GPL) di GNU.</translation> ++ <translation>CubeTest è stato scritto da Jos van der Oever ed è 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 000000000000..78274e0fa550 --- /dev/null +++ b/games-kids/cubetest/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> |