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-roguelike/stone-soup: stone-soup-0.10.3.ebuild metadata.xml ChangeLog Manifest
Date: Tue, 28 Aug 2012 23:18:04
Message-Id: 20120828231753.A26B120A9B@flycatcher.gentoo.org
1 hasufell 12/08/28 23:17:53
2
3 Added: stone-soup-0.10.3.ebuild metadata.xml ChangeLog
4 Manifest
5 Log:
6 initial import wrt #374852 reviewed by Michael Sterrett
7
8 (Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 games-roguelike/stone-soup/stone-soup-0.10.3.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/stone-soup/stone-soup-0.10.3.ebuild?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/stone-soup/stone-soup-0.10.3.ebuild?rev=1.1&content-type=text/plain
15
16 Index: stone-soup-0.10.3.ebuild
17 ===================================================================
18 # Copyright 1999-2012 Gentoo Foundation
19 # Distributed under the terms of the GNU General Public License v2
20 # $Header: /var/cvsroot/gentoo-x86/games-roguelike/stone-soup/stone-soup-0.10.3.ebuild,v 1.1 2012/08/28 23:17:53 hasufell Exp $
21
22 ## TODO
23 # add sound support (no build switch, no sound files)
24
25 EAPI=4
26 VIRTUALX_REQUIRED="manual"
27 inherit eutils gnome2-utils virtualx games
28
29 MY_P="stone_soup-${PV}"
30 DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons"
31 HOMEPAGE="http://crawl.develz.org/wordpress/"
32 SRC_URI="mirror://sourceforge/crawl-ref/Stone%20Soup/${PV}/${MY_P}-nodeps.tar.xz
33 http://dev.gentoo.org/~hasufell/distfiles/${PN}.png
34 http://dev.gentoo.org/~hasufell/distfiles/${PN}.svg"
35
36 # 3-clause BSD: mt19937ar.cc, MSVC/stdint.h
37 # 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs
38 # Public Domain|CC0: most of tiles
39 # MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/
40 LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0-Universal MIT"
41 SLOT="0"
42 KEYWORDS="~amd64 ~x86"
43 IUSE="debug +lua +tiles"
44 # test is broken
45 # see https://crawl.develz.org/mantis/view.php?id=6121
46 #RESTRICT="!debug? ( test )"
47 RESTRICT="test"
48
49 RDEPEND="
50 dev-db/sqlite:3
51 sys-libs/zlib
52 tiles? (
53 media-libs/freetype:2
54 media-libs/libpng:0
55 media-libs/libsdl[X,opengl,video]
56 media-libs/sdl-image[png]
57 )
58 !tiles? ( sys-libs/ncurses )
59 lua? ( >=dev-lang/lua-5.1.0 )"
60 DEPEND="${RDEPEND}
61 dev-lang/perl
62 sys-devel/flex
63 virtual/yacc
64 tiles? (
65 sys-libs/ncurses
66 virtual/pkgconfig
67 test? ( ${VIRTUALX_DEPEND} )
68 )"
69
70 S=${WORKDIR}/${MY_P}/source
71
72 src_prepare() {
73 epatch "${FILESDIR}"/${P}-build.patch
74
75 # if use test ; then
76 # cp -av "${WORKDIR}/${MY_P}" "${WORKDIR}/${MY_P}_test" \
77 # || die "setting up test-dir failed"
78 # fi
79 }
80
81 src_compile() {
82 S_TEST=${WORKDIR}/${MY_P}_test/source
83
84 # leave DATADIR at the top
85 myemakeargs=(
86 DATADIR="${GAMES_DATADIR}/${PN}"
87 V=1
88 prefix="${GAMES_PREFIX}"
89 SAVEDIR="~/.crawl"
90 $(usex debug "FULLDEBUG=y DEBUG=y" "")
91 $(usex lua "" "NO_LUA_BINDINGS=y")
92 $(usex tiles "TILES=y" "")
93 )
94
95 emake ${myemakeargs[@]}
96
97 # for test to work we need to compile with unset DATADIR
98 # if use test ; then
99 # emake ${myemakeargs[@]:1} -C "${S_TEST}"
100 # fi
101 }
102
103 src_install() {
104 emake ${myemakeargs[@]} DESTDIR="${D}" install
105
106 # don't relocate docs, needed at runtime
107 rm -rf "${D}${GAMES_DATADIR}"/${PN}/docs/license
108 dodoc "${WORKDIR}"/${MY_P}/README.{txt,pdf}
109
110 # icons and menu for graphical build
111 if use tiles ; then
112 doicon -s 48 "${DISTDIR}"/${PN}.png
113 doicon -s scalable "${DISTDIR}"/${PN}.svg
114 make_desktop_entry crawl
115 fi
116
117 prepgamesdirs
118 }
119
120 src_test() {
121 $(usex tiles "X" "")emake ${myemakeargs[@]:1} -C "${S_TEST}" test
122 }
123
124 pkg_preinst() {
125 games_pkg_preinst
126 gnome2_icon_savelist
127 }
128
129 pkg_postinst() {
130 games_pkg_postinst
131 gnome2_icon_cache_update
132 }
133
134 pkg_postrm() {
135 gnome2_icon_cache_update
136 }
137
138
139
140 1.1 games-roguelike/stone-soup/metadata.xml
141
142 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/stone-soup/metadata.xml?rev=1.1&view=markup
143 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/stone-soup/metadata.xml?rev=1.1&content-type=text/plain
144
145 Index: metadata.xml
146 ===================================================================
147 <?xml version="1.0" encoding="UTF-8"?>
148 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
149 <pkgmetadata>
150 <herd>games</herd>
151 <maintainer>
152 <email>hasufell@g.o</email>
153 <name>Julian Ospald</name>
154 </maintainer>
155 <upstream>
156 <changelog>http://crawl.develz.org/main/0.10.3.txt</changelog>
157 <doc lang="en">http://crawl.develz.org/wordpress/documentation</doc>
158 <bugs-to>https://crawl.develz.org/mantis/main_page.php</bugs-to>
159 </upstream>
160 <use>
161 <flag name='tiles'>Enable for graphical (tiled) build. Uses ncurses
162 if disabled.
163 </flag>
164 </use>
165 <longdescription lang="en">
166 Dungeon Crawl Stone Soup is a free roguelike game of exploration
167 and treasure-hunting in dungeons filled with dangerous and
168 unfriendly monsters in a quest for the mystifyingly fabulous Orb
169 of Zot.
170
171 Dungeon Crawl Stone Soup has diverse species and many different
172 character backgrounds to choose from, deep tactical game-play,
173 sophisticated magic, religion and skill systems, and a grand
174 variety of monsters to fight and run from, making each game
175 unique and challenging.
176
177 Dungeon Crawl Stone Soup can be played offline, or online on a
178 public telnet/ssh server thanks to the good folks at
179 crawl.akrasiac.org (CAO) and crawl.develz.org (CDO). These public
180 servers allow you to meet other players’ ghosts, watch other people
181 playing, and, in general, have a blast!
182 </longdescription>
183 </pkgmetadata>
184
185
186
187
188 1.1 games-roguelike/stone-soup/ChangeLog
189
190 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/stone-soup/ChangeLog?rev=1.1&view=markup
191 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/stone-soup/ChangeLog?rev=1.1&content-type=text/plain
192
193 Index: ChangeLog
194 ===================================================================
195 # ChangeLog for games-roguelike/stone-soup
196 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
197 # $Header: /var/cvsroot/gentoo-x86/games-roguelike/stone-soup/ChangeLog,v 1.1 2012/08/28 23:17:53 hasufell Exp $
198
199 *stone-soup-0.10.3 (28 Aug 2012)
200
201 28 Aug 2012; Julian Ospald <hasufell@g.o> +stone-soup-0.10.3.ebuild,
202 +files/stone-soup-0.10.3-build.patch, +metadata.xml:
203 initial import wrt #374852 reviewed by Michael Sterrett
204
205
206
207
208 1.1 games-roguelike/stone-soup/Manifest
209
210 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/stone-soup/Manifest?rev=1.1&view=markup
211 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-roguelike/stone-soup/Manifest?rev=1.1&content-type=text/plain
212
213 Index: Manifest
214 ===================================================================
215 AUX stone-soup-0.10.3-build.patch 3405 SHA256 ee0019200324498d32630884c9d31b207c67078d5af6e94c8cb0de7ea66ebf6c SHA512 547a1318b24c4a4f01684afacd73a680d4b983aab9a80205a35ae33e3e831427fb1273e6dc0b7936c5f594c924563d34c40d5f726976326759f8ccd20ef71a5e WHIRLPOOL 3cb6a2cc3557ea6efd6fb261ec91861b0637abf0bdc37a2192793d857ea2adbbc992073783d19be04008cb033e928b61aa8e74fc6cf6b02a6369636e3d5c8499
216 DIST stone-soup.png 1351 SHA256 486da51db277817f6fa59c32b131fa4d50cace7d8c9a84995d22f13a92e384e1 SHA512 4695204c8b936f7aac1ba15b02a6115a955fb2c56aa9a0b968ff007bc9a1a59b608110d60cce5625a9b92cd2c869bbea7e15433a53c1a338622809477a5846bc WHIRLPOOL 621b93f192d9335f57b18a72489450511be993f79ac5ea26529d3424adcddf1c64cb2c996fa1265cbd341a31dabe550253d0302c941fcd751197aff7840acee3
217 DIST stone-soup.svg 68546 SHA256 f2b476f57f6e8a9b56bc20ec2da0accac9376fea1ff3e4dbe59e7f2f231eb071 SHA512 dca555271faf704eb8ecdf5ee8a763df42cdeba94e9c163608c438cfc73c6fbf53416547050cad57f477ade191842e701785b65b7a9f18e27ceab05df8f2f75f WHIRLPOOL 49b7e0ca45319b2f016203e02b1e08207e9f0c18501b17f5922f1983fbb6bfabc12a9ca3199697f78561739e253f200bfbe984082bb99e1c8e289e5c41004bed
218 DIST stone_soup-0.10.3-nodeps.tar.xz 6486324 SHA256 c61801030486bb7020992d95573fb9378e80355c400b82cfa0f476dbd823c4a2 SHA512 57f93c0a5c541aadd426ac918b6db4ec38e5e098f2aa33d70e0b5980f8d753f54c9e4da23d47311b1acf93443e3de4b8e480ab9762c1e922edcf27de0a8ead7c WHIRLPOOL 9070a2ba8825a074578e2179a226ab259e51905d370f8cf66fab9e8485de136aabc84d7ef0fe9677b7c3905660843537524f04ee050a566f9ddccf10fcd6f5b5
219 EBUILD stone-soup-0.10.3.ebuild 2762 SHA256 0c589faf40a2dbbf19616aaad55790578756e990cb7fcbe106f98e23e24d42b5 SHA512 564cf672a2d09898b2b7258a23c8cb617ed735e96f45eaa7d63a449b0d68691dadd382b2196d0bda509f923ced68f86f061cb7e2af8a63fa6d960d9de696af37 WHIRLPOOL 752132d006192f22530db6849dcdbde9551cfe36af1d3e072db8ad4698b6caade89a53dafce2f52cb806bef098dc4a8bf1522488b4fc9e5ac324d7e789bd8084
220 MISC ChangeLog 353 SHA256 aeafc32bdcd3c196c7d982ac9f0677d00f096a8ffa67e11327c9a022270616ce SHA512 9441352f75e9cc6941a745371aec9ad098cc88c35e1789dd638a12b37d6e49448afd4177ba701ef44e54e9fc40a641eaa1fceb86af46e027de1c2adf313e74d2 WHIRLPOOL e4036281c9215cab3c268b239562725edf42850fa0dfb1e4bf96a37352e99e0ddca9a0f1fc438a766e662489df260a7e689d7d3b1299c3ca0166250db606bc93
221 MISC metadata.xml 1452 SHA256 1c622ae995da8eefcec3e181ed7b400f211d7ab959bbd1b79c304319f9607026 SHA512 4c793107dd763b4c3849b0210e568899f5962403b2d1e4aa609c387c35800463d6c7326e64b168d41ae634258c28b271ac4d6fefcfc01bf9bb84a7cdce9e56f1 WHIRLPOOL ed181b375934935aff218204ab004c75f35deb427541320f404b318cba893cd4937e4d7b9f0c465140ed0371b0a067989684dc99dc94b7384310008f163daba5