diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-rpg/dear-esther/dear-esther-20130608.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-rpg/dear-esther/dear-esther-20130608.ebuild')
-rw-r--r-- | games-rpg/dear-esther/dear-esther-20130608.ebuild | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/games-rpg/dear-esther/dear-esther-20130608.ebuild b/games-rpg/dear-esther/dear-esther-20130608.ebuild new file mode 100644 index 000000000000..a7d2c696ccff --- /dev/null +++ b/games-rpg/dear-esther/dear-esther-20130608.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# TODO: unbundle libSDL2 + +EAPI=5 +inherit eutils gnome2-utils unpacker games + +TIMESTAMP="${PV:4:2}${PV:6:2}${PV:0:4}" +DESCRIPTION="Ghost story, told using first-person gaming technologies" +HOMEPAGE="http://dear-esther.com/" +SRC_URI="dearesther-linux-${TIMESTAMP}-bin" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="bindist fetch splitdebug" + +MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${MYGAMEDIR#/}/dearesther_linux + ${MYGAMEDIR#/}/bin/*.so*" + +DEPEND="app-arch/unzip" +RDEPEND=" + >=media-libs/freetype-2.5.0.1[abi_x86_32(-)] + >=media-libs/libsdl-1.2.15-r5[abi_x86_32(-)] + >=media-libs/openal-1.15.1[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + virtual/opengl[abi_x86_32(-)]" + +S=${WORKDIR}/data + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" + einfo +} + +src_unpack() { + unpack_zip ${A} +} + +src_install() { + insinto "${MYGAMEDIR}" + doins -r bin dearesther platform dearesther_linux + + doicon -s 256 dearesther.png + make_desktop_entry "${PN}" "Dear Esther" dearesther + games_make_wrapper ${PN} "./dearesther_linux -game dearesther" "${MYGAMEDIR}" "${MYGAMEDIR}/bin" + + dodoc README-linux.txt + + fperms +x "${MYGAMEDIR}"/dearesther_linux + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |