1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils gnome2-utils unpacker games
7 DESCRIPTION="Throw your toys into your fire, and play with them as they burn"
8 HOMEPAGE="http://tomorrowcorporation.com/"
9 SRC_URI="LittleInferno-${PV}.sh"
11 LICENSE="Gameplay-Group-EULA"
13 KEYWORDS="-* ~amd64 ~x86"
15 RESTRICT="bindist fetch bundled-libs? ( splitdebug )"
17 MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN}
18 QA_PREBUILT="${MYGAMEDIR#/}/LittleInferno.bin.x86
22 >=net-misc/curl-7.37.0-r1[abi_x86_32(-)]
23 x11-libs/libX11[abi_x86_32(-)]
24 virtual/opengl[abi_x86_32(-)]
26 >=media-libs/libogg-1.3.1[abi_x86_32(-)]
27 >=media-libs/libvorbis-1.3.3-r1[abi_x86_32(-)]
28 >=media-libs/openal-1.15.1-r1[abi_x86_32(-)] )"
29 DEPEND="app-arch/xz-utils"
38 for i in instarchive_{,linux_}all ; do
39 mv ../"${i}" ../"${i}".tar.xz || die
40 unpack ./../"${i}".tar.xz
45 if use !bundled-libs ; then
51 insinto "${MYGAMEDIR}"
54 doicon -s 128 LittleInferno.png
55 make_desktop_entry ${PN} "Little Inferno" LittleInferno
56 games_make_wrapper ${PN} "./LittleInferno.bin.x86" "${MYGAMEDIR}" "${MYGAMEDIR}/lib"
58 fperms +x "${MYGAMEDIR}"/LittleInferno.bin.x86
70 gnome2_icon_cache_update
74 gnome2_icon_cache_update