summaryrefslogtreecommitdiff
path: root/games-misc/katawa-shoujo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-misc/katawa-shoujo
reinit the tree, so we can have metadata
Diffstat (limited to 'games-misc/katawa-shoujo')
-rw-r--r--games-misc/katawa-shoujo/Manifest9
-rw-r--r--games-misc/katawa-shoujo/katawa-shoujo-1.3.1.ebuild82
-rw-r--r--games-misc/katawa-shoujo/katawa-shoujo-1.3.ebuild86
-rw-r--r--games-misc/katawa-shoujo/metadata.xml36
4 files changed, 213 insertions, 0 deletions
diff --git a/games-misc/katawa-shoujo/Manifest b/games-misc/katawa-shoujo/Manifest
new file mode 100644
index 000000000000..6399f2a33852
--- /dev/null
+++ b/games-misc/katawa-shoujo/Manifest
@@ -0,0 +1,9 @@
+DIST katawa-shoujo-1.3.1.tar.bz2 496188604 SHA256 ec5a05cfcf1d5981ecdbfa71904c279a215e79bdfeb256b2ad6927109a0007da SHA512 d5f1b49c60b70b272dd5d62c1d49cb9e3c17e3f77339fc593db2122f1c140005bc23ecb7ad9b0d93c0701c77f9bcfcd5c1c67db1cbe3034a3be42a4309387809 WHIRLPOOL e8d1572c08171febb3a25e6c7bae2ad66a6ba0bccd1f297afe0430e57fa71ade850d19f4a472c9932f9b2421c5bf2c482b006000eff126e46ce3cd6a727652ab
+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
+EBUILD katawa-shoujo-1.3.1.ebuild 2048 SHA256 bc15230d8ab00a1e8765bea3ba78b6b83402f6afe12bb974803028c0bc390d8a SHA512 74ab33bbfe2e7ce3bd77aff8fafb591b8766cf299b743c83a4abc68ba8cb476ddfe2cecfe00370d3525dd9f7bf957b33e73dad5ff968ff9031b192679a5069be WHIRLPOOL 8e170cf5777bf8e64ada01c224a8ce3683c2d96c41bbd91703e204a70333e6eec57dfcefd96551308bbcf585fb9be7dd78b540e7df6fe6bf7119af17cb7f54a5
+EBUILD katawa-shoujo-1.3.ebuild 2258 SHA256 fdc409dc49238aefc51b6c45269ca1663dcee87285725d98691f4009fcdc041c SHA512 ef6b1e8c7fa05327bbc5a1c741183383dd6d2183a4ce0f3fe094e35753c52915f764f4d3b516a27518189882e690b1c00b36522e28a0a9da5a3abfa01bc77ab4 WHIRLPOOL b8b73d16905dd5bcfef930dd43fad26d70b3dcf0268ae3c016eae4bc8d8b940e7c7ec97ffa46d9bd4d448e05a6cdc8fdd9aad7c4ba922c9873e0bf38d6be8ec9
+MISC ChangeLog 3456 SHA256 7956124169c075f5675cd0a79c6dbbbb8192174f179b66a277080aed7d67d1f0 SHA512 2bdd103c700396973250ba95a1d65e6aa0c48a8c7987a008e259a097e24f76ec8f33fe5619360d280527ca8ccd8c368a4c0daa79bd4db5a8e56fa8e706986606 WHIRLPOOL 407b6e23b8e3a081da21e161e8389f05df9bdad29c956a3a3b18ccfe304997fdb8934f7343d576970be3ddd54d66abae93049246890b3e414e25db2d75607dbb
+MISC ChangeLog-2015 2738 SHA256 81fabec165c57da11bc9999c809d8e58bf3ff13abbbbfd714cbbbc32a9d80636 SHA512 bfeffc4a355d460d1507fba804d0cb3394d7325396b9ad4ee641aa395c94837eeedbd00dd357abcdebc38b8bb1eabd0fba5efba847e35d0b4b876c3f25fa005c WHIRLPOOL ce998e9f6fb03cad299a93e6d49d24a7a4d6b9320c9bcd309c83f34f13b9d1d4bcbae9910f375337980360f468f0b832c8aa73310ef94803ed9f24939b2a1a32
+MISC metadata.xml 1441 SHA256 25623e476686e27e9444e90566700530a835b91e12dee9485bdbc534791cd675 SHA512 57b626a95cd8a7ff92de13b1c1a85124ee2e3dd0e9860a57cadc62332636ee6df7cb27c9428658b17002af70b949af64f432de82dbd838f2edb6f423039812ed WHIRLPOOL 2c33f8b98154ef10ec2f3077fa856252c615e6a53a1e010108627dac175318f93cd3c742e1e2a22e9643a05152518e636a531ecea83953c076596f7cb802bebc
diff --git a/games-misc/katawa-shoujo/katawa-shoujo-1.3.1.ebuild b/games-misc/katawa-shoujo/katawa-shoujo-1.3.1.ebuild
new file mode 100644
index 000000000000..acf935e160e7
--- /dev/null
+++ b/games-misc/katawa-shoujo/katawa-shoujo-1.3.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils gnome2-utils
+
+DESCRIPTION="bishoujo-style visual novel by Four Leaf Studios"
+HOMEPAGE="http://katawa-shoujo.com/"
+SRC_URI="http://dl.katawa-shoujo.com/gold_1.3.1/%5B4ls%5D_katawa_shoujo_1.3.1-%5Blinux-x86%5D%5B18161880%5D.tar.bz2 -> ${P}.tar.bz2
+ https://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-48.png
+ https://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="/opt/${PN}/lib/*"
+
+S="${WORKDIR}/Katawa Shoujo-${PV}-linux"
+
+src_install() {
+ if use system-renpy; then
+ insinto "/usr/share/${PN}"
+ doins -r game/.
+
+ make_wrapper ${PN} "renpy '/usr/share/${PN}'"
+ else
+ insinto "/opt/${PN}"
+ doins -r game localizations renpy "Katawa Shoujo."{py,sh}
+
+ local host="${CTARGET:-${CHOST}}"
+ local arch="${host%%-*}"
+
+ cd lib
+ insinto "/opt/${PN}/lib"
+ doins -r linux-${arch} pythonlib2.7
+ cd ..
+
+ fperms +x "/opt/${PN}/lib/linux-${arch}/"{python,"Katawa Shoujo"} \
+ "/opt/${PN}/Katawa Shoujo."{py,sh}
+
+ make_wrapper ${PN} "./Katawa\ Shoujo.sh" "/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
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
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 000000000000..984acbf1ba20
--- /dev/null
+++ b/games-misc/katawa-shoujo/katawa-shoujo-1.3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+ https://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-48.png
+ https://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 000000000000..32c88c5fad29
--- /dev/null
+++ b/games-misc/katawa-shoujo/metadata.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alex_y_xu@yahoo.ca</email>
+ <name>Alex Xu</name>
+ <description>Proxied maintainer</description>
+ </maintainer>
+ <maintainer type="person">
+ <email>maksverver@geocities.com</email>
+ <name>Maks Verver</name>
+ <description>Proxy maintainer. CC him on bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </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>