diff options
Diffstat (limited to 'games-misc/katawa-shoujo')
-rw-r--r-- | games-misc/katawa-shoujo/Manifest | 3 | ||||
-rw-r--r-- | games-misc/katawa-shoujo/katawa-shoujo-1.3.ebuild | 87 | ||||
-rw-r--r-- | games-misc/katawa-shoujo/metadata.xml | 31 |
3 files changed, 121 insertions, 0 deletions
diff --git a/games-misc/katawa-shoujo/Manifest b/games-misc/katawa-shoujo/Manifest new file mode 100644 index 00000000000..1b6d0095b57 --- /dev/null +++ b/games-misc/katawa-shoujo/Manifest @@ -0,0 +1,3 @@ +DIST katawa-shoujo-1.3.tar.bz2 496193762 SHA256 a7fbe9330e60a5457ce504f20de357191f0809beab345a9c00974fedd74ae573 SHA512 228ea474746541e0f812789a504c75005c9f3d496d9a255aba77ed926cb6302ed9815126b5facba6a29e560fbfca2ac2d584c62870157704ed7e99c9eabed9b6 WHIRLPOOL 3ccd9d9f555e817e805fc294f41bd0d7c0937ad71bc31d819be54e0bfae4a8a4e4cedee7cdff4cff7f389c26578a119989c7f029014992ebeb5a6afa9dc55931 +DIST katawa-shoujo-256.png 59803 SHA256 8130b39af5341b0e1c85cbd6ef5be229de2877d696e5b372e1aacf176778df45 SHA512 7d920c24f4182ba72d5b3d641d7d373c166ca4c7d0b6a396f5e3b9281cb43f7e6e8e761f2f181ff061705118b3080807866fcd290d2b471e98c3a584d5fa8e0e WHIRLPOOL d2b06b26d2ea5bae5292fc5e6f3f4571fa82a4f70155e38a3c8a21778caabc37b2a13b2cb7637a0fb05a55243a63e23c96d0538bbcbc631810f15c069d26f590 +DIST katawa-shoujo-48.png 3621 SHA256 a366a52fd9dd241182d163e28a37f537fa71d5d46f1fc899da08b492c371a0fd SHA512 ad24156cf446ffe92068baaa6d512e6bab90587db5ce01b3c18e6c42bb9b8c91f7eae3e9547099d3f8f0a5d3f144676c3499c0a38d9af845abf79e153b543bef WHIRLPOOL b62253218dbb981f32007e22cdd36decac8948e4dff416ca60de3daaab8cfad9773622e194b885c0145a499008751c5a09184b7f0a0dc3b9153d751dd0d1b584 diff --git a/games-misc/katawa-shoujo/katawa-shoujo-1.3.ebuild b/games-misc/katawa-shoujo/katawa-shoujo-1.3.ebuild new file mode 100644 index 00000000000..bb6e39c77a4 --- /dev/null +++ b/games-misc/katawa-shoujo/katawa-shoujo-1.3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils gnome2-utils games + +DESCRIPTION="Bishoujo-style visual novel set in the fictional Yamaku High School for disabled children" +HOMEPAGE="http://katawa-shoujo.com/" +SRC_URI="http://dl.katawa-shoujo.com/gold_1.3/%5b4ls%5d_katawa_shoujo_1.3-%5blinux-x86%5d%5bFCF758CC%5d.tar.bz2 -> ${P}.tar.bz2 + http://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-48.png + http://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-256.png" + +# bundled renpy includes licenses of all libraries +LICENSE="CC-BY-NC-ND-3.0 + !system-renpy? ( MIT PSF-2 LGPL-2.1 || ( FTL GPL-2+ ) IJG libpng ZLIB BZIP2 )" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc +system-renpy" + +RDEPEND="system-renpy? ( games-engines/renpy )" + +REQUIRED_USE="!system-renpy? ( || ( amd64 x86 ) )" + +# Binaries are built extremely weirdly, resulting in errors like: +# BFD: Not enough room for program headers, try linking with -N +# +# Technically, we could make this unconditional because there are no other +# binaries, but it's still good practice. +RESTRICT="!system-renpy? ( strip )" + +QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/lib/*" + +S="${WORKDIR}/Katawa Shoujo-${PV}-linux" + +src_install() { + if use system-renpy; then + insinto "${GAMES_DATADIR}/${PN}" + doins -r game/. + + games_make_wrapper ${PN} "renpy '${GAMES_DATADIR}/${PN}'" + else + insinto "${GAMES_PREFIX_OPT}/${PN}" + doins -r game localizations renpy "Katawa Shoujo."{py,sh} + + local host="${CTARGET:-${CHOST}}" + local arch="${host%%-*}" + + cd lib + insinto "${GAMES_PREFIX_OPT}/${PN}/lib" + doins -r linux-${arch} pythonlib2.7 + cd .. + + fperms +x "${GAMES_PREFIX_OPT}/${PN}/lib/linux-${arch}/"{python,"Katawa Shoujo"} \ + "${GAMES_PREFIX_OPT}/${PN}/Katawa Shoujo."{py,sh} + + games_make_wrapper ${PN} "./Katawa\ Shoujo.sh" "${GAMES_PREFIX_OPT}/${PN}" + fi + + local i + for i in 48 256; do + newicon -s ${i} "${DISTDIR}"/${PN}-${i}.png ${PN}.png + done + + make_desktop_entry ${PN} "Katawa Shoujo" + + if use doc; then + dodoc "Game Manual.pdf" + fi + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-misc/katawa-shoujo/metadata.xml b/games-misc/katawa-shoujo/metadata.xml new file mode 100644 index 00000000000..37434ac31bd --- /dev/null +++ b/games-misc/katawa-shoujo/metadata.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <herd>proxy-maintainers</herd> + <maintainer> + <email>maksverver@geocities.com</email> + <name>Maks Verver</name> + <description>Proxy maintainer. CC him on bugs</description> + </maintainer> + <maintainer> + <email>alex_y_xu@yahoo.ca</email> + <name>Alex Xu</name> + <description>Proxied maintainer</description> + </maintainer> + <use> + <flag name="system-renpy">Use <pkg>games-engines/renpy</pkg> instead of the bundled one (experimental)</flag> + </use> + <longdescription> + Katawa Shoujo is a bishoujo-style visual novel set in the fictional + Yamaku High School for disabled children, located somewhere in modern + Japan. Hisao Nakai, a normal boy living a normal life, has his life + turned upside down when a congenital heart defect forces him to move to + a new school after a long hospitalization. Despite his difficulties, + Hisao is able to find friends—and perhaps love, if he plays his cards + right. There are five main paths corresponding to the 5 main female + characters, each path following the storyline pertaining to that + character. + </longdescription> +</pkgmetadata> + |