1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_6,2_7} )
8 inherit eutils gnome2-utils games python-single-r1
10 DESCRIPTION="A computer mystery/romance game set five minutes into the future of 1988"
11 HOMEPAGE="http://scoutshonour.com/digital/"
12 SRC_URI="http://digital.artfulgamer.com/${P}.tar.bz2
13 http://www.scoutshonour.com/lilyofthevalley/${P}.tar.bz2"
15 LICENSE="CC-BY-NC-SA-3.0"
17 KEYWORDS="~amd64 ~x86"
20 DEPEND="${PYTHON_DEPS}"
22 games-engines/renpy:6.14[${PYTHON_USEDEP}]"
24 S=${WORKDIR}/Digital-linux-x86
28 python-single-r1_pkg_setup
32 cat <<EOF >"${T}"/digital || die
34 cd "${GAMES_DATADIR}/${PN}"
35 export PYTHONPATH="$(python_get_sitedir)/renpy614"
36 exec "${PYTHON}" Digital.py
41 exeinto "${GAMES_BINDIR}"
44 insinto "${GAMES_DATADIR}/${PN}"
45 doins -r Digital.py common game renpy
49 newicon -s 128 game/icon.png ${PN}.png
50 make_desktop_entry ${PN} "Digital: A love story"
62 gnome2_icon_cache_update
66 gnome2_icon_cache_update