Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-misc/katawa-shoujo: metadata.xml ChangeLog katawa-shoujo-1.0-r1.ebuild katawa-shoujo-1.0.ebuild
Date: Thu, 28 Feb 2013 21:38:11
Message-Id: 20130228213807.9F50C2171D@flycatcher.gentoo.org
1 hasufell 13/02/28 21:38:07
2
3 Modified: metadata.xml ChangeLog
4 Added: katawa-shoujo-1.0-r1.ebuild
5 Removed: katawa-shoujo-1.0.ebuild
6 Log:
7 add system-renpy useflag and fix bug #459742
8
9 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
10
11 Revision Changes Path
12 1.2 games-misc/katawa-shoujo/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/metadata.xml?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/metadata.xml?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/metadata.xml?r1=1.1&r2=1.2
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/metadata.xml,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- metadata.xml 27 Feb 2013 22:13:05 -0000 1.1
25 +++ metadata.xml 28 Feb 2013 21:38:07 -0000 1.2
26 @@ -12,6 +12,9 @@
27 <name>Maks Verver</name>
28 <description>Proxy maintainer. CC him on bugs</description>
29 </maintainer>
30 + <use>
31 + <flag name="system-renpy">Use <pkg>games-engines/renpy</pkg> instead of the bundled one (experimental)</flag>
32 + </use>
33 <longdescription>
34 Katawa Shoujo is a bishoujo-style visual novel set in the fictional
35 Yamaku High School for disabled children, located somewhere in modern
36
37
38
39 1.2 games-misc/katawa-shoujo/ChangeLog
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/ChangeLog?rev=1.2&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/ChangeLog?rev=1.2&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/ChangeLog?r1=1.1&r2=1.2
44
45 Index: ChangeLog
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/ChangeLog,v
48 retrieving revision 1.1
49 retrieving revision 1.2
50 diff -u -r1.1 -r1.2
51 --- ChangeLog 27 Feb 2013 22:13:05 -0000 1.1
52 +++ ChangeLog 28 Feb 2013 21:38:07 -0000 1.2
53 @@ -1,6 +1,12 @@
54 # ChangeLog for games-misc/katawa-shoujo
55 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
56 -# $Header: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/ChangeLog,v 1.1 2013/02/27 22:13:05 hasufell Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/ChangeLog,v 1.2 2013/02/28 21:38:07 hasufell Exp $
58 +
59 +*katawa-shoujo-1.0-r1 (28 Feb 2013)
60 +
61 + 28 Feb 2013; Julian Ospald <hasufell@g.o> -katawa-shoujo-1.0.ebuild,
62 + +katawa-shoujo-1.0-r1.ebuild:
63 + add system-renpy useflag and fix bug #459742
64
65 *katawa-shoujo-1.0 (27 Feb 2013)
66
67
68
69
70 1.1 games-misc/katawa-shoujo/katawa-shoujo-1.0-r1.ebuild
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/katawa-shoujo-1.0-r1.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/katawa-shoujo-1.0-r1.ebuild?rev=1.1&content-type=text/plain
74
75 Index: katawa-shoujo-1.0-r1.ebuild
76 ===================================================================
77 # Copyright 1999-2013 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/katawa-shoujo-1.0-r1.ebuild,v 1.1 2013/02/28 21:38:07 hasufell Exp $
80
81 EAPI=5
82
83 inherit eutils gnome2-utils games
84
85 DESCRIPTION="Bishoujo-style visual novel set in the fictional Yamaku High School for disabled children"
86 HOMEPAGE="http://katawa-shoujo.com/"
87 SRC_URI="http://naodesu.org/files/katawa-shoujo/${P}.tar.bz2
88 http://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-48.png
89 http://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-256.png"
90
91 LICENSE="CC-BY-NC-ND-3.0"
92 SLOT="0"
93 KEYWORDS="~amd64 ~x86"
94 IUSE="doc system-renpy"
95
96 # make system-renpy optional due to #459742 :(
97 RDEPEND="system-renpy? ( games-engines/renpy )"
98
99 QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/lib/*"
100
101 S="${WORKDIR}/Katawa Shoujo-linux-x86"
102
103 src_install() {
104 if use system-renpy ; then
105 insinto "${GAMES_DATADIR}/${PN}"
106 doins -r game/.
107 games_make_wrapper ${PN} "renpy '${GAMES_DATADIR}/${PN}'"
108 else
109 insinto "${GAMES_PREFIX_OPT}"/${PN}
110 doins -r common game lib renpy "Katawa Shoujo.py" "Katawa Shoujo.sh"
111 games_make_wrapper ${PN} "./Katawa\ Shoujo.sh" "${GAMES_PREFIX_OPT}/${PN}"
112 fperms +x "${GAMES_PREFIX_OPT}/${PN}"/lib/{python,linux-x86/python.real} \
113 "${GAMES_PREFIX_OPT}/${PN}/Katawa Shoujo.sh" \
114 "${GAMES_PREFIX_OPT}/${PN}/Katawa Shoujo.py"
115 fi
116
117 local i
118 for i in 48 256; do
119 newicon -s ${i} "${DISTDIR}"/${PN}-${i}.png ${PN}.png
120 done
121
122 make_desktop_entry ${PN} "Katawa Shoujo"
123
124 if use doc ; then
125 newdoc "Game Manual.pdf" manual.pdf
126 fi
127
128 prepgamesdirs
129 }
130
131 pkg_preinst() {
132 games_pkg_preinst
133 gnome2_icon_savelist
134 }
135
136 pkg_postinst() {
137 elog "Savegames from system-renpy and the bundled version are incompatible"
138
139 games_pkg_postinst
140 gnome2_icon_cache_update
141 }
142
143 pkg_postrm() {
144 gnome2_icon_cache_update
145 }