summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaks Verver (Soultaker) <maksverver@geocities.com>2013-02-28 00:45:45 +0100
committerMaks Verver (Soultaker) <maksverver@geocities.com>2013-02-28 00:45:45 +0100
commit300753c965b47d30bd64e1e96d01c9b20ca6462f (patch)
tree12ac4d57435c083f9cbf280d85813dec347d5f0b
parentlicense in tree (diff)
downloadsunrise-300753c965b47d30bd64e1e96d01c9b20ca6462f.tar.gz
sunrise-300753c965b47d30bd64e1e96d01c9b20ca6462f.tar.bz2
sunrise-300753c965b47d30bd64e1e96d01c9b20ca6462f.zip
games-rpg/digital: Updated ebuild to work with revamped renpy package (thanks, hasufell)
-rw-r--r--games-rpg/digital/ChangeLog6
-rw-r--r--games-rpg/digital/Manifest6
-rw-r--r--games-rpg/digital/digital-1.1-r1.ebuild35
-rw-r--r--games-rpg/digital/digital-1.1-r2.ebuild67
4 files changed, 76 insertions, 38 deletions
diff --git a/games-rpg/digital/ChangeLog b/games-rpg/digital/ChangeLog
index f09eeb7c2..3b7fc1e31 100644
--- a/games-rpg/digital/ChangeLog
+++ b/games-rpg/digital/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*digital-1.1-r2 (27 Feb 2013)
+
+ 27 Feb 2013; Maks Verver (Soultaker) <maksverver@geocities.com>
+ -digital-1.1-r1.ebuild, +digital-1.1-r2.ebuild:
+ Updated ebuild to work with revamped renpy package (thanks, hasufell)
+
07 Feb 2013; Ulrich Müller <ulm@gentoo.org> digital-1.1-r1.ebuild:
Move Creative Commons licenses to shorter names.
diff --git a/games-rpg/digital/Manifest b/games-rpg/digital/Manifest
index 4ba48c4a3..b40579b1a 100644
--- a/games-rpg/digital/Manifest
+++ b/games-rpg/digital/Manifest
@@ -1,4 +1,4 @@
-DIST digital-1.1.tar.bz2 36981254 SHA256 e84f5245ca5b348fad3a25b272d55b839a6348501d3e876290c23f8ad4ff0201
-EBUILD digital-1.1-r1.ebuild 795 SHA256 2516678eedb2a77fac8d7267ee70e486d145573505f57d1282e1912a8eaaaab0 SHA512 d0d5f5bfe372eb124c14265cb4c062ecefac3cf6f85fc505af33b2eac4a8e89049d4fde2b3f2f069195481a5523d4a307978579345fbf2abed61a183eb332dc7 WHIRLPOOL 8029e4e4862b405ab5a68f970d2a92552488f3f53c3282bb678c5e90777ae40418ab6b33755b96b3034f5ebc3196ed920695133ec4593e738743f7a9b2fcb673
-MISC ChangeLog 554 SHA256 c2aafae1b3ef7dac8415d41926d3b13111e0ddf9a729152d8757a816cbd7e618 SHA512 7abfdafa93532193e1a9da2e001969970af2e7a5c8784dd628794b12e2f83dcbfed2e9ead2fd448bff2ba01b874874e9f257d30ea4bdd3e56a64c43f2b8dd64d WHIRLPOOL 4a322b79b181c8c1d790fa60d24fd7cccc627cc6c222e56cafa984d5518397b22767b7868e00e34ef28556bc13d49060f6be1c68b5ff91fdb7bc6ed38c311ef0
+DIST digital-1.1.tar.bz2 36981254 SHA256 e84f5245ca5b348fad3a25b272d55b839a6348501d3e876290c23f8ad4ff0201 SHA512 43eea3b7f7d8f22227e4e5ee2282e0d6c26ef5a975868f6764beff05db2006e26c239c9c581141cdac915a57b7a068a2a48d69f8f6a25374c29783802846870b WHIRLPOOL dad88b07bd1f00de9fe40925d733962f8b3082dae22b78a389ad9de8ef9592c265aaca54b2982b080c1d464926b91b004805e4a966e942a909dc439c666631b8
+EBUILD digital-1.1-r2.ebuild 1325 SHA256 556d3fe689f18948aee0ee16630b28530d93dfe78ee835d64d51d487d3d7f3ca SHA512 9df9ca12fe848d8e998685c48fcb0ad9b69bdd88e9c5a25df354b4bf0900ca05040ab88658907b4c10df44d3302c81bfad7bcc867f0efafc281aefd26670f1ee WHIRLPOOL 64e7c496577d9031c2c04484a742edfab381542afe06ce94ec05425ce8cddb333c29364559c208cc11c52a5cfdda40c8b021d1aa544a0e172efeb00adf627c15
+MISC ChangeLog 774 SHA256 9c8ba0edfd86ce476ab26071c37b6425cbe15fe4b9ebebc64d0c0550577362fc SHA512 a06fc7c2ae5cf57713cfbd19659cb8e27a0f75d654dff7dc171f09ece3b085d8901b0854c260be460084b1203f00442be02eb6b4e15e6a4138de4ee4a5f216b4 WHIRLPOOL 6af31cb26ce9f3c23ce07081b37192a3d37f6b4d8b5e902fc90d8f8af26ffd55b68bb8fb39153b84823982e4e422d7225ec8809edca72813783020d896fd3c24
MISC metadata.xml 575 SHA256 915466b88e4ac84c9ec4876ee3ef23d286a175b01cb551fba6371c05560b8061 SHA512 918334a844d7c975af9b91f774f18229d98d0b79b03fba6fa975dfd00333e888a41bf000612226bf2ac34b5eb8443fb55d57ca1aba951c6278995a63b31c53cb WHIRLPOOL c16e674b6ab9179521c67b932e188dd92bb06269893846c3fa2b725ddf189f535d6e42ba2a1d809218f33edd72229f8d95f197b492e7900b3613a36562506216
diff --git a/games-rpg/digital/digital-1.1-r1.ebuild b/games-rpg/digital/digital-1.1-r1.ebuild
deleted file mode 100644
index d2d54148b..000000000
--- a/games-rpg/digital/digital-1.1-r1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=2
-
-inherit games
-
-DESCRIPTION="A computer mystery/romance game set five minutes into the future of 1988"
-HOMEPAGE="http://scoutshonour.com/digital/"
-SRC_URI="http://digital.artfulgamer.com/${P}.tar.bz2
- http://www.scoutshonour.com/lilyofthevalley/${P}.tar.bz2"
-
-LICENSE="CC-BY-NC-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-games/renpy:6.10"
-
-S=${WORKDIR}/Digital-linux-x86
-
-src_install() {
- insinto "${GAMES_DATADIR}/${PN}"
- doins -r game/* || die
-
- games_make_wrapper ${PN} "renpy-6.10 '${GAMES_DATADIR}/${PN}'"
-
- newicon game/icon.png ${PN}.png || die
- make_desktop_entry ${PN} "Digital: A love story"
-
- dohtml README.html || die
-
- prepgamesdirs
-}
diff --git a/games-rpg/digital/digital-1.1-r2.ebuild b/games-rpg/digital/digital-1.1-r2.ebuild
new file mode 100644
index 000000000..2ed6ff7a7
--- /dev/null
+++ b/games-rpg/digital/digital-1.1-r2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit eutils gnome2-utils games python-single-r1
+
+DESCRIPTION="A computer mystery/romance game set five minutes into the future of 1988"
+HOMEPAGE="http://scoutshonour.com/digital/"
+SRC_URI="http://digital.artfulgamer.com/${P}.tar.bz2
+ http://www.scoutshonour.com/lilyofthevalley/${P}.tar.bz2"
+
+LICENSE="CC-BY-NC-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}
+ games-engines/renpy:6.14[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/Digital-linux-x86
+
+pkg_setup() {
+ games_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ cat <<EOF >"${T}"/digital || die
+#!/bin/sh -e
+cd "${GAMES_DATADIR}/${PN}"
+export PYTHONPATH="$(python_get_sitedir)/renpy614"
+exec "${PYTHON}" Digital.py
+EOF
+}
+
+src_install() {
+ exeinto "${GAMES_BINDIR}"
+ doexe "${T}"/digital
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r Digital.py common game renpy
+
+ dohtml README.html
+
+ newicon -s 128 game/icon.png ${PN}.png
+ make_desktop_entry ${PN} "Digital: A love story"
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}