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