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: katawa-shoujo-1.1.ebuild ChangeLog
Date: Fri, 30 Aug 2013 21:59:16
Message-Id: 20130830215909.CA6C220047@flycatcher.gentoo.org
1 hasufell 13/08/30 21:59:09
2
3 Modified: ChangeLog
4 Added: katawa-shoujo-1.1.ebuild
5 Log:
6 version bump wrt #469598
7
8 (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.5 games-misc/katawa-shoujo/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 23 May 2013 14:24:43 -0000 1.4
24 +++ ChangeLog 30 Aug 2013 21:59:09 -0000 1.5
25 @@ -1,6 +1,11 @@
26 # ChangeLog for games-misc/katawa-shoujo
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/ChangeLog,v 1.4 2013/05/23 14:24:43 pinkbyte Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-misc/katawa-shoujo/ChangeLog,v 1.5 2013/08/30 21:59:09 hasufell Exp $
30 +
31 +*katawa-shoujo-1.1 (30 Aug 2013)
32 +
33 + 30 Aug 2013; Julian Ospald <hasufell@g.o> +katawa-shoujo-1.1.ebuild:
34 + version bump wrt #469598
35
36 23 May 2013; Sergey Popov <pinkbyte@g.o> katawa-shoujo-1.0-r1.ebuild:
37 Non-maintainer commit: fix SRC_URI wrt bug #469710
38
39
40
41 1.1 games-misc/katawa-shoujo/katawa-shoujo-1.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/katawa-shoujo-1.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/katawa-shoujo/katawa-shoujo-1.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: katawa-shoujo-1.1.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.1.ebuild,v 1.1 2013/08/30 21:59:09 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.1/%5B4ls%5D_katawa_shoujo_1.1-%5Blinux-x86%5D%5BB5C707D5%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
70 QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/lib/*"
71
72 S="${WORKDIR}/Katawa Shoujo-linux-x86"
73
74 src_install() {
75 if use system-renpy ; then
76 insinto "${GAMES_DATADIR}/${PN}"
77 doins -r game/.
78 games_make_wrapper ${PN} "renpy '${GAMES_DATADIR}/${PN}'"
79 else
80 insinto "${GAMES_PREFIX_OPT}"/${PN}
81 doins -r common game lib renpy "Katawa Shoujo.py" "Katawa Shoujo.sh"
82 games_make_wrapper ${PN} "./Katawa\ Shoujo.sh" "${GAMES_PREFIX_OPT}/${PN}"
83 fperms +x "${GAMES_PREFIX_OPT}/${PN}"/lib/{python,linux-x86/python.real} \
84 "${GAMES_PREFIX_OPT}/${PN}/Katawa Shoujo.sh" \
85 "${GAMES_PREFIX_OPT}/${PN}/Katawa Shoujo.py"
86 fi
87
88 local i
89 for i in 48 256; do
90 newicon -s ${i} "${DISTDIR}"/${PN}-${i}.png ${PN}.png
91 done
92
93 make_desktop_entry ${PN} "Katawa Shoujo"
94
95 if use doc ; then
96 newdoc "Game Manual.pdf" manual.pdf
97 fi
98
99 prepgamesdirs
100 }
101
102 pkg_preinst() {
103 games_pkg_preinst
104 gnome2_icon_savelist
105 }
106
107 pkg_postinst() {
108 elog "Savegames from system-renpy and the bundled version are incompatible"
109
110 if use system-renpy; then
111 ewarn "system-renpy is unstable and not supported upstream"
112 fi
113
114 games_pkg_postinst
115 gnome2_icon_cache_update
116 }
117
118 pkg_postrm() {
119 gnome2_icon_cache_update
120 }