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: ChangeLog katawa-shoujo-1.2.ebuild
Date: Mon, 28 Jul 2014 22:36:23
Message-Id: 20140728223618.1728F2004E@flycatcher.gentoo.org
1 hasufell 14/07/28 22:36:18
2
3 Modified: ChangeLog
4 Added: katawa-shoujo-1.2.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
9
10 Revision Changes Path
11 1.8 games-misc/katawa-shoujo/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 18 Jun 2014 19:20:22 -0000 1.7
24 +++ ChangeLog 28 Jul 2014 22:36:17 -0000 1.8
25 @@ -1,6 +1,11 @@
26 # ChangeLog for games-misc/katawa-shoujo
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/ChangeLog,v 1.7 2014/06/18 19:20:22 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/ChangeLog,v 1.8 2014/07/28 22:36:17 hasufell Exp $
30 +
31 +*katawa-shoujo-1.2 (28 Jul 2014)
32 +
33 + 28 Jul 2014; Julian Ospald <hasufell@g.o> +katawa-shoujo-1.2.ebuild:
34 + version bump
35
36 18 Jun 2014; Michał Górny <mgorny@g.o> katawa-shoujo-1.1-r1.ebuild:
37 Update dependencies to require guaranteed EAPI=5 or multilib ebuilds, bug
38
39
40
41 1.1 games-misc/katawa-shoujo/katawa-shoujo-1.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/katawa-shoujo-1.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/katawa-shoujo-1.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: katawa-shoujo-1.2.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/katawa-shoujo-1.2.ebuild,v 1.1 2014/07/28 22:36:17 hasufell Exp $
51
52 EAPI=5
53
54 inherit eutils gnome2-utils games
55
56 DESCRIPTION="Bishoujo-style visual novel set in the fictional Yamaku High School for disabled children"
57 HOMEPAGE="http://katawa-shoujo.com/"
58 SRC_URI="http://dl.katawa-shoujo.com/gold_1.2/%5b4ls%5d_katawa_shoujo_1.2-%5blinux-x86%5d%5b8F3BA490%5d.tar.bz2 -> ${P}.tar.bz2
59 http://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-48.png
60 http://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-256.png"
61
62 LICENSE="CC-BY-NC-ND-3.0"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="doc system-renpy"
66
67 # make system-renpy optional due to #459742 :(
68 RDEPEND="system-renpy? ( games-engines/renpy )
69 !system-renpy? (
70 || (
71 >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
72 app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
73 )
74 )" #495270
75
76 QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/lib/*"
77
78 S="${WORKDIR}/Katawa Shoujo-linux-x86"
79
80 src_install() {
81 if use system-renpy ; then
82 insinto "${GAMES_DATADIR}/${PN}"
83 doins -r game/.
84 games_make_wrapper ${PN} "renpy '${GAMES_DATADIR}/${PN}'"
85 else
86 insinto "${GAMES_PREFIX_OPT}"/${PN}
87 doins -r common game lib renpy "Katawa Shoujo.py" "Katawa Shoujo.sh"
88 games_make_wrapper ${PN} "./Katawa\ Shoujo.sh" "${GAMES_PREFIX_OPT}/${PN}"
89 fperms +x "${GAMES_PREFIX_OPT}/${PN}"/lib/{python,linux-x86/python.real} \
90 "${GAMES_PREFIX_OPT}/${PN}/Katawa Shoujo.sh" \
91 "${GAMES_PREFIX_OPT}/${PN}/Katawa Shoujo.py"
92 fi
93
94 local i
95 for i in 48 256; do
96 newicon -s ${i} "${DISTDIR}"/${PN}-${i}.png ${PN}.png
97 done
98
99 make_desktop_entry ${PN} "Katawa Shoujo"
100
101 if use doc ; then
102 newdoc "Game Manual.pdf" manual.pdf
103 fi
104
105 prepgamesdirs
106 }
107
108 pkg_preinst() {
109 games_pkg_preinst
110 gnome2_icon_savelist
111 }
112
113 pkg_postinst() {
114 elog "Savegames from system-renpy and the bundled version are incompatible"
115
116 if use system-renpy; then
117 ewarn "system-renpy is unstable and not supported upstream"
118 fi
119
120 games_pkg_postinst
121 gnome2_icon_cache_update
122 }
123
124 pkg_postrm() {
125 gnome2_icon_cache_update
126 }