summaryrefslogtreecommitdiff
path: root/games-puzzle/jools
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/jools')
-rw-r--r--games-puzzle/jools/Manifest6
-rw-r--r--games-puzzle/jools/jools-0.20-r2.ebuild56
-rw-r--r--games-puzzle/jools/metadata.xml15
3 files changed, 77 insertions, 0 deletions
diff --git a/games-puzzle/jools/Manifest b/games-puzzle/jools/Manifest
new file mode 100644
index 000000000000..827abb7c5f8b
--- /dev/null
+++ b/games-puzzle/jools/Manifest
@@ -0,0 +1,6 @@
+DIST jools-0.20.tar.gz 1710143 SHA256 50f5c23491e45b4658baecdb774ba071000f4c9a1164b77c95cbfe711f3e36c8 SHA512 11eadceb8208a72846a9e16a2dae0a1b1d7f8995d5ff2487ee03dd62811f3a232c0d08dc044c351f44c120e6e75eba11df1a727a9d5c6c57ce5e2ef8ee4d0986 WHIRLPOOL 7c84e67e4c1b1ced837f8295bd8333bf511f526494d0cf1d9f75f97bc675955aa91aa5f49ef452fc45e5f596fc22d904b90113409f66877c0f2140f730ff2fd1
+DIST jools-musicpack-1.0.tar.gz 4447501 SHA256 baf3bd24a65508868b13b6224a0661dc4b8616eb8d70fab04a9e732d32983c84 SHA512 1773beb8cd7df756cb4f7ba55729a6dfa995ca860f3381e2fed3884f42227d19955e13f8be9b2f6f64d4d86e452be9fe876963e24c85cd2c3cc42df62804b9c2 WHIRLPOOL 0b3cfc8c115919c375132150a5bb5fd861d592f8ae6de75e9fe00b835ebdbcd4988a8187499bc50049931b2a2651113f24de84ff240082961197a6dd9328cdae
+EBUILD jools-0.20-r2.ebuild 1307 SHA256 c61b1b4907c361e2661cac42acd5989bedfc1d821ecad537ff95b4dcd4cab6e8 SHA512 47fd33bf95c2d7e5f259e300e07de49e0b0fe507c5d1986ad93b8e3dfc7005366462900a3a92f9178bda901f8a21c118ef0804cb8f1bc28514d57c86ab3f3fb0 WHIRLPOOL 86835a7a3827fdb68c5d2f023c92808123cb75b1e7dce4fcfcfe97b74e002a45d77911f8ac158e069c9ad4527d2aac9a655605155f6e6fb06fc545bbc4c026e0
+MISC ChangeLog 2429 SHA256 c7579692656a32c6a630e670dc57a6447e538c8834ca6cf1c72b1187b40d6ca2 SHA512 669aec22bd9eb9f73556cf6b21c0dc418074831bc576cad108b1db3a1389ac41e3d60b3bc341f0d94062abd49521092ff69a2879df1cc440e10131e726d84f81 WHIRLPOOL b6d225d763e1bce0d1d6b65c6a4abb04044ff8c066e61523add99d9bbcfb8c99668260e55c3db34561289cff1848f3cf7eec8f7a7d84529b86202b6ef9117a51
+MISC ChangeLog-2015 2111 SHA256 75b74131f2bc96247612ea1a93215ad8cce614ebf397cdfc3a221d31ae105d7d SHA512 a840de08cef12de2418bfadf1a42946a07bb8565f8f3648e9a6920e545f8e8fde15c39d6b2014dc9b634a08fc9bd491a182b1cd40a36032414870d6dd22c40e9 WHIRLPOOL df43bf4696bf65ef651e7b8e01065d1a51dc927ed3f825d96ab694f79f90b1b1a60d3a18b878a587c09caa012102302d46fae70c3da5a0f29f710466c7d45ae8
+MISC metadata.xml 671 SHA256 0a738f5b0d9a72535ea635741fd0b98a43c6a294e292e3e9f338e10d338e99a7 SHA512 928c0217e8ef9222cee84694ef0da21cb7fa50bc190361979c4eb44e01081b49e805e441128baddfb13269b7a8f02f991cc4cb08b253cc1a475859d393f786c6 WHIRLPOOL 0a6c60530906d20c2bf0cd25ee3568424f9019cd5fd8e98b86bc757e9ea7d9eec850575e2ee11a358f3bfc7ab9d3ebb9aa444dcf53ca43042d8ca5fe3efae6ab
diff --git a/games-puzzle/jools/jools-0.20-r2.ebuild b/games-puzzle/jools/jools-0.20-r2.ebuild
new file mode 100644
index 000000000000..f761986f112a
--- /dev/null
+++ b/games-puzzle/jools/jools-0.20-r2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-single-r1 games
+
+MUS_P=${PN}-musicpack-1.0
+DESCRIPTION="clone of Bejeweled, a popular pattern-matching game"
+HOMEPAGE="http://pessimization.com/software/jools/"
+SRC_URI="http://pessimization.com/software/jools/${P}.tar.gz
+ http://pessimization.com/software/jools/${MUS_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="dev-python/pygame[${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}"
+RDEPEND=${DEPEND}
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+S=${WORKDIR}/${P}/jools
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd "${S}"/music
+ unpack ${MUS_P}.tar.gz
+}
+
+src_prepare() {
+ echo "MEDIAROOT = \"${GAMES_DATADIR}/${PN}\"" > config.py
+ python_fix_shebang .
+}
+
+src_install() {
+ games_make_wrapper ${PN} "${EPYTHON} ./__init__.py" "$(games_get_libdir)"/${PN}
+ insinto "$(games_get_libdir)"/${PN}
+ doins *.py
+ python_optimize "${D}$(games_get_libdir)/${PN}"
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r fonts images music sounds
+
+ newicon images/ruby/0001.png ${PN}.png
+ make_desktop_entry ${PN} Jools
+ dodoc ../{ChangeLog,doc/{POINTS,TODO}}
+ dohtml ../doc/manual.html
+ prepgamesdirs
+}
diff --git a/games-puzzle/jools/metadata.xml b/games-puzzle/jools/metadata.xml
new file mode 100644
index 000000000000..5e917c0945b8
--- /dev/null
+++ b/games-puzzle/jools/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+<longdescription lang="en">
+Jools is a graphical puzzle game in the tradition of Tetris. It has begun as
+a clone of Bejeweled, which is currently available for Windows, Mac, and
+Palm/Pocket PC devices. In a nutshell, the goal is to swap adjacent jools
+(jewels) within a grid, in order to create rows of three or more of a kind.
+These jools will then disappear, and more will fall to fill their places.
+</longdescription>
+</pkgmetadata>