diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-12-13 18:17:09 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-12-13 18:17:09 +0000 |
commit | 9e116516bcde8ecc104383ca90c2f3c9f96cd593 (patch) | |
tree | 6446d7f04555370fdf933b9c851ec4a20c67e24f | |
parent | Add dev-python/mako to runtime deps, wrt bug #410255 (diff) | |
download | historical-9e116516bcde8ecc104383ca90c2f3c9f96cd593.tar.gz historical-9e116516bcde8ecc104383ca90c2f3c9f96cd593.tar.bz2 historical-9e116516bcde8ecc104383ca90c2f3c9f96cd593.zip |
remove old
Package-Manager: portage-2.2.0_alpha145/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
-rw-r--r-- | games-roguelike/stone-soup/ChangeLog | 6 | ||||
-rw-r--r-- | games-roguelike/stone-soup/Manifest | 20 | ||||
-rw-r--r-- | games-roguelike/stone-soup/files/stone-soup-0.10.3-build.patch | 134 | ||||
-rw-r--r-- | games-roguelike/stone-soup/stone-soup-0.10.3.ebuild | 118 | ||||
-rw-r--r-- | games-roguelike/stone-soup/stone-soup-0.11.1.ebuild | 123 |
5 files changed, 13 insertions, 388 deletions
diff --git a/games-roguelike/stone-soup/ChangeLog b/games-roguelike/stone-soup/ChangeLog index 3da9741917d8..ff1e709a9538 100644 --- a/games-roguelike/stone-soup/ChangeLog +++ b/games-roguelike/stone-soup/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-roguelike/stone-soup # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/stone-soup/ChangeLog,v 1.8 2012/12/13 17:18:41 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/stone-soup/ChangeLog,v 1.9 2012/12/13 18:17:05 hasufell Exp $ + + 13 Dec 2012; Julian Ospald <hasufell@gentoo.org> -stone-soup-0.10.3.ebuild, + -files/stone-soup-0.10.3-build.patch, -stone-soup-0.11.1.ebuild: + remove old 13 Dec 2012; Julian Ospald <hasufell@gentoo.org> stone-soup-0.10.3.ebuild, stone-soup-0.11.0.ebuild, stone-soup-0.11.1.ebuild, diff --git a/games-roguelike/stone-soup/Manifest b/games-roguelike/stone-soup/Manifest index 097a90206a29..27822748ba5f 100644 --- a/games-roguelike/stone-soup/Manifest +++ b/games-roguelike/stone-soup/Manifest @@ -1,28 +1,24 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX stone-soup-0.10.3-build.patch 3405 SHA256 ee0019200324498d32630884c9d31b207c67078d5af6e94c8cb0de7ea66ebf6c SHA512 547a1318b24c4a4f01684afacd73a680d4b983aab9a80205a35ae33e3e831427fb1273e6dc0b7936c5f594c924563d34c40d5f726976326759f8ccd20ef71a5e WHIRLPOOL 3cb6a2cc3557ea6efd6fb261ec91861b0637abf0bdc37a2192793d857ea2adbbc992073783d19be04008cb033e928b61aa8e74fc6cf6b02a6369636e3d5c8499 AUX stone-soup-0.11.0-build.patch 3337 SHA256 7553e5133b0afc49c9ed59c270763c02c939de15e11d7bd571f93e8705d7a241 SHA512 c433cdaf55a9f128573f170540fa69b1f2f8720b6338d58d61dc341f65fbf350bb319c2091bfacf591a855c1f9d031f99b946cf3c634a6e3f81ea57a7bb23a2f WHIRLPOOL 66f02948720dc4129c77067029b28da517981e78d27e2b1e5da9863b12e657d41b3cdc99e2ace854133b93d0290abba64ff863c898a5a141ba98a3ecec6d32d9 AUX stone-soup-0.11.1-build.patch 3337 SHA256 7553e5133b0afc49c9ed59c270763c02c939de15e11d7bd571f93e8705d7a241 SHA512 c433cdaf55a9f128573f170540fa69b1f2f8720b6338d58d61dc341f65fbf350bb319c2091bfacf591a855c1f9d031f99b946cf3c634a6e3f81ea57a7bb23a2f WHIRLPOOL 66f02948720dc4129c77067029b28da517981e78d27e2b1e5da9863b12e657d41b3cdc99e2ace854133b93d0290abba64ff863c898a5a141ba98a3ecec6d32d9 DIST stone-soup.png 1351 SHA256 486da51db277817f6fa59c32b131fa4d50cace7d8c9a84995d22f13a92e384e1 SHA512 4695204c8b936f7aac1ba15b02a6115a955fb2c56aa9a0b968ff007bc9a1a59b608110d60cce5625a9b92cd2c869bbea7e15433a53c1a338622809477a5846bc WHIRLPOOL 621b93f192d9335f57b18a72489450511be993f79ac5ea26529d3424adcddf1c64cb2c996fa1265cbd341a31dabe550253d0302c941fcd751197aff7840acee3 DIST stone-soup.svg 68546 SHA256 f2b476f57f6e8a9b56bc20ec2da0accac9376fea1ff3e4dbe59e7f2f231eb071 SHA512 dca555271faf704eb8ecdf5ee8a763df42cdeba94e9c163608c438cfc73c6fbf53416547050cad57f477ade191842e701785b65b7a9f18e27ceab05df8f2f75f WHIRLPOOL 49b7e0ca45319b2f016203e02b1e08207e9f0c18501b17f5922f1983fbb6bfabc12a9ca3199697f78561739e253f200bfbe984082bb99e1c8e289e5c41004bed -DIST stone_soup-0.10.3-nodeps.tar.xz 6486324 SHA256 c61801030486bb7020992d95573fb9378e80355c400b82cfa0f476dbd823c4a2 SHA512 57f93c0a5c541aadd426ac918b6db4ec38e5e098f2aa33d70e0b5980f8d753f54c9e4da23d47311b1acf93443e3de4b8e480ab9762c1e922edcf27de0a8ead7c WHIRLPOOL 9070a2ba8825a074578e2179a226ab259e51905d370f8cf66fab9e8485de136aabc84d7ef0fe9677b7c3905660843537524f04ee050a566f9ddccf10fcd6f5b5 DIST stone_soup-0.11.0-nodeps.tar.xz 7516360 SHA256 2a39307c9f88608ee2a33d3b831c51d9190c91ccdedadececda5edae6dd69002 SHA512 3fb5ef82aea5c7445c39f9f993436bf228552ab5e87a9752c3a275a9ae4c69519c37318dc5fcc6fae9237ceadbe02b67496dfb8c2d82fefb4434d94df61950db WHIRLPOOL e9e2b9131a7700528bec3e8fb3327a4a72dcd8941f76f2499713c9e1cef6f33b0281a9121c128854fa71470e9c77b3b90a1d076a2986d805855ebb36cd7baa85 DIST stone_soup-0.11.1-nodeps.tar.xz 7519768 SHA256 377d738cff21165763b252a57cd84049361d44db6d8d10f08f789cc9e7bb82b6 SHA512 0ceff12dcc3d4a17ea56d18b451cac4fa7805fa795551ca251ea8f3c60f25696083e602f337971f8f19ddbd2a5b7b0fc420e3ed11fc2b731de1ae0eeba1281c2 WHIRLPOOL a86d94118c131ab057258e8e9fcf8fe3d4b9024a9c4b4fabcdf0ec2cf8d26f5ddd83a1cb3d6ada90d146201bd816e74570c6d3eb55e09f371e214a7e7eea39b3 -EBUILD stone-soup-0.10.3.ebuild 2843 SHA256 ca4544fd486705bf19c9a3bca0d636b836609228ad5d68070b387a8e485a7421 SHA512 f272d1ed69096288829621f67b448e29e29bf3af77857832cff79d2e2fbf12463737c7befd14c0b45a17d483ca0bec4d79d25bf3433e70e4cae7f5237c627cd5 WHIRLPOOL 408cc11936172272de7cb85cb93cdafdffb027bcdb75dc21534fea836e54a2944e7d9f5c66c37721d6f1a6fb2f8f6402cb32c0c103762b5fca39684693c7b773 EBUILD stone-soup-0.11.0.ebuild 2956 SHA256 989ef3a1de2cbce9351db2c2497952b509114994f63b38f1b0e5f81fc915212e SHA512 feb2660bcb1ec9d9674a85270ddeafc791fcc55e95a8ab1c1f9fef900d6c6a83a21e74414448dfc95779fc8a327d5ad00cca4f1642f3610c9e2abae57f1522cd WHIRLPOOL 9c30814f2f420be1e6827caba18862676e736435849f4e8b1a312d8abfe009d9a4ab21c3d972d9cfcd5b3fbbb21ea4ba840d2f6318f72e9238410708e22b4b45 EBUILD stone-soup-0.11.1-r1.ebuild 3298 SHA256 07b728209fe220fba541a5e908668d8472780eaf4a5351e0b9e0fc682b8cd9ba SHA512 5a0d9953a70ac45e3699a39bb3e10914c2e97aab46effdccc19ae7eb8ec26e33b27a757e7d67b593a03fa839a3a040c475a3e837a032d8f774d0373f9c66c86f WHIRLPOOL e55c70aa63971e039cb241abd29baa42f6a56b023af4becf47cdd68e8240b9877b51f78d76107fdb309b7d88782005b655af57f7e7c2d5211615d530bfe3c532 -EBUILD stone-soup-0.11.1.ebuild 2958 SHA256 9f5d8cf2b96ca4621e2140a0d43fe2bf470da07d1ff4771390309dbd0812d210 SHA512 8ab5d5cd35c5879754bceff265ace62e8f9a428e9af1769a9706509e7fd9b3242b747be6fc0dfe54b758ee051bc4b5160e3e6448de4844b402e11758de3c496a WHIRLPOOL a7d66b8b15f37b9178b67442bf3e11cbfccc6581ec43487c9935a1778a7711d0f4e3e0d018dac7d2cf264304059ec7890bad6952e1756aebc3a2d25e8e98b842 -MISC ChangeLog 1550 SHA256 68738ff88ec4d3ee5455ae1ce46cc8cbe70ac14aade2191420fa399b9aa0d2a2 SHA512 d80d4630cb8a3054cd0bff9ce9ee09f2454cb2ee310a6d5aa88ad7f2616631bcf13e617fe502721abc0fb8de8482b0086f0010ad166a18beb1082c5311ef9598 WHIRLPOOL 372b04fcbed0f43853e8627efb8e103dad67f0e3513154e4111ae07d6a279c98ec78444b1e75c6547a0ec82a38b18042ae9f7ae868ba8d82d71ccebbb78c7a5b +MISC ChangeLog 1709 SHA256 e04ab9af8e85ef4fb88be6a099f791da44dffb172cb17b2952ec35b2a99d3848 SHA512 bdb8e277a0b3a9768e89d5f553f989b6f40d3d656d491234accd4427d31f2d488b035b1538e75cfbd7fc32c85578b55a74b1151db2f8fd24a28be7c6599ecd91 WHIRLPOOL b2c3e78189a5841fb16c1ff0ff6fd767ed847262e61a69de6b0553473def635adcb4d01beb6ab2e69916675dda8830739cd1e3d320dfc5b4f0f65b7d672ad4f0 MISC metadata.xml 1503 SHA256 aa2c7c89f65bb62311e407b2786549b917a89c3c65182dea9b47d5a8dbc1a295 SHA512 6808e1b61bbe2b4fa78699432781665919ebe01672e57838f75eca24dc79ae4126d6076daf6b2e6870886d3214a9efe4963520a0c7ae15b3b47dec32a03ad5bb WHIRLPOOL 5b71d200df668c137771b1c5d415c97cb37716633c3a346d124c56e1ac1311b1686444b2b57e6d78e2f633f561fbc1468941a1fff926d074d8d2dc33b6212031 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJQyg31AAoJEFpvPKfnPDWz6+MH/3NbzCGEZ/4DOaqv+Zt7J5IV -9d//ouYc3RfD5a2INbiCCU1gK7U2xJiJa5IJymYFwIJwywzj1A1ikzpsrbKc9EqH -ppVwCwTJqDXtPbNGTRaE9wBt0m7/YIV1Y4jWxXC29oZAO8DjL0uMMYTzNuvqPf6g -mE6IpL2ayvQfPwfd3k0IbaQO/5bpeLs6gxRBnQnhq2MpWW6azt/JlkuzEdygZK8j -RxbUGA+noP4Ul1j1JifWGPyJunSawbzsd2hNA2sTXJjoH/EO4RDNMq6RVbMg/Jrv -rT6oIUGBG55ZgzJHNs8vWUN20/y6QjVoWtIu2CZNl89nopvvSDXXGflYGlGgLek= -=h/7m +iQEcBAEBCAAGBQJQyhumAAoJEFpvPKfnPDWzxt8H/2dR/oXn5pvnm7pQEJFDIlvB +le+ikzKPcILMI/8YePv82nJRcontG7VtMr9wOzwIK2/Jt2cBthB9LIcCbKoy7Od5 +5lMPzzO50GOQOYBHBNk/VWRSsof0xHkN2DVxaWs5Ow1K8ASFUKQI//KxGf/UWczY +ecb4f3CnAQl3q0rHVLl+3l4CQAASzTqfUo37O/rXrFpzxmw+blnFn69kwOW5m2bn +o40Is+l9rqMR4NxZ/wv3GKLpUrx/DH6sM7ejqJMdWdlwcmzkhGrUltNWRqU4AhEi +q1NJacS6UMrkeaYaHKMSqVmH4MWVMAvqMIGM5vHuUJUaU3pNSeIy3gKTkzOo/C0= +=GiQ3 -----END PGP SIGNATURE----- diff --git a/games-roguelike/stone-soup/files/stone-soup-0.10.3-build.patch b/games-roguelike/stone-soup/files/stone-soup-0.10.3-build.patch deleted file mode 100644 index 398d823a12cd..000000000000 --- a/games-roguelike/stone-soup/files/stone-soup-0.10.3-build.patch +++ /dev/null @@ -1,134 +0,0 @@ -From: Julian Ospald <hasufell@gentoo.org> -Date: Sat Aug 25 18:31:45 UTC 2012 -Subject: build system - -respect flags and compiler - ---- Makefile -+++ Makefile -@@ -111,7 +111,7 @@ - - else - --CFOPTIMIZE := -O2 -+CFOPTIMIZE = $(CXXFLAGS) - - endif # USE_ICC - -@@ -119,21 +119,19 @@ - CFOPTIMIZE += -flto=jobserver -fwhole-program - endif - --CFOTHERS := -pipe $(EXTERNAL_FLAGS) -+CFOTHERS := $(EXTERNAL_FLAGS) - CFWARN := -Wall -Wformat-security - CFWARN_L := -Wundef - - DEFINES := $(EXTERNAL_DEFINES) - --LDFLAGS := $(EXTERNAL_LDFLAGS) -- - # - # The GCC and GXX variables are set later. - # --AR = ar --RANLIB = ranlib --CC = $(GCC) --CXX = $(GXX) -+AR ?= ar -+RANLIB ?= ranlib -+CC ?= $(GCC) -+CXX ?= $(GXX) - RM = rm -f - COPY = cp - COPY_R = cp -r -@@ -144,7 +142,7 @@ - PNGCRUSH = $(COPY) - PNGCRUSH_LABEL = COPY - ADVPNG = advpng -z -4 --PKGCONFIG = pkg-config -+PKGCONFIG ?= pkg-config - DOXYGEN = doxygen - DOXYGEN_SIMPLE_CONF = crawl_simple.doxy - DOXYGEN_ALL_CONF = crawl_all.doxy -@@ -1143,7 +1141,6 @@ - endif - [ -d $(prefix_fp)/$(bin_prefix) ] || mkdir -p $(prefix_fp)/$(bin_prefix) - $(COPY) $(GAME) $(prefix_fp)/$(bin_prefix)/ -- $(STRIP) $(prefix_fp)/$(bin_prefix)/$(GAME) - mkdir -p $(datadir_fp)/dat/des - mkdir -p $(datadir_fp)/dat/dlua - mkdir -p $(datadir_fp)/dat/lua -@@ -1339,7 +1336,7 @@ - - .PHONY: build-rltiles - build-rltiles: .contrib-libs $(RLTILES)/dc-unrand.txt -- +$(MAKE) -C $(RLTILES) all ARCH=$(ARCH) TILES=$(TILES)$(WEBTILES) -+ +$(MAKE) -C $(RLTILES) all ARCH=$(ARCH) DEBUG=$(DEBUG) TILES=$(TILES)$(WEBTILES) - - $(TILEDEFSRCS) $(TILEDEFHDRS) $(ORIGTILEFILES): build-rltiles - ---- rltiles/Makefile -+++ rltiles/Makefile -@@ -1,7 +1,7 @@ - uname_S := $(shell uname -s) - - ifneq (,$(findstring MINGW,$(uname_S))) --LDFLAGS += -lmingw32 -+LIBS += -lmingw32 - endif - - # Note: since generation of tiles is done on the host, we don't care about -@@ -10,7 +10,7 @@ - # Also, cross-compilation with no system libraries for host rather than target - # is not supported. If host=target, contribs are enough. - --CFLAGS := -O2 -g -Wall -Wextra -Wno-parentheses -Wno-unused-parameter -+CXXFLAGS += -Wall -Wextra -Wno-parentheses -Wno-unused-parameter - - ifdef TILES - ifndef CONTRIB_SDL -@@ -29,24 +29,24 @@ - PNG_LIB := ../contrib/install/$(ARCH)/lib/libpng.a ../contrib/install/$(ARCH)/lib/libz.a - endif - -- CFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE) -- LDFLAGS += $(SDL_LDFLAGS) $(PNG_LIB) -+ CXXFLAGS += $(SDL_CFLAGS) $(PNG_INCLUDE) -+ LIBS += $(SDL_LDFLAGS) $(PNG_LIB) - -- CFLAGS += -DUSE_TILE -+ CXXFLAGS += -DUSE_TILE - endif - - ifdef DEBUG --CFLAGS += -O0 -DDEBUG -ggdb -+CXXFLAGS += -DDEBUG - endif - - ifneq (,$(findstring MINGW,$(uname_S))) --LDFLAGS += -lgdi32 -lwinmm -+LIBS += -lgdi32 -lwinmm - endif - ifeq ($(uname_S),Darwin) --LDFLAGS += -framework AppKit -framework AudioUnit -framework Carbon -framework IOKit -framework OpenGL -+LIBS += -framework AppKit -framework AudioUnit -framework Carbon -framework IOKit -framework OpenGL - endif - ifeq ($(uname_S),Linux) --LDFLAGS += -ldl -lpthread -+LIBS += -ldl -lpthread - endif - - # Attempt to use a full compiler name, to make -@@ -129,9 +129,9 @@ - distclean: clean - - %.o: %.cc .cflags -- $(QUIET_HOSTCXX)$(HOSTCXX) $(CFLAGS) -Wp,-MD,$*.d,-MT,$@ -c $< -o $@ -+ $(CXX) $(CXXFLAGS) -Wp,-MD,$*.d,-MT,$@ -c $< -o $@ - - $(TILEGEN): $(OBJECTS) -- $(QUIET_HOSTLINK)$(HOSTCXX) $(OBJECTS) -o $@ $(LDFLAGS) -+ $(CXX) $(CXXFLAGS) $(OBJECTS) -o $@ $(LDFLAGS) $(LIBS) - - .PHONY: all clean distclean diff --git a/games-roguelike/stone-soup/stone-soup-0.10.3.ebuild b/games-roguelike/stone-soup/stone-soup-0.10.3.ebuild deleted file mode 100644 index de1cdd446af6..000000000000 --- a/games-roguelike/stone-soup/stone-soup-0.10.3.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/stone-soup/stone-soup-0.10.3.ebuild,v 1.3 2012/12/13 17:18:41 hasufell Exp $ - -## TODO -# add sound support (no build switch, no sound files) - -EAPI=4 -VIRTUALX_REQUIRED="manual" -inherit eutils gnome2-utils virtualx games - -MY_P="stone_soup-${PV}" -DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons" -HOMEPAGE="http://crawl.develz.org/wordpress/" -SRC_URI="mirror://sourceforge/crawl-ref/Stone%20Soup/${PV}/${MY_P}-nodeps.tar.xz - http://dev.gentoo.org/~hasufell/distfiles/${PN}.png - http://dev.gentoo.org/~hasufell/distfiles/${PN}.svg" - -# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h -# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs -# Public Domain|CC0: most of tiles -# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/ -LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0-Universal MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug test +tiles" -# test is broken -# see https://crawl.develz.org/mantis/view.php?id=6121 -#RESTRICT="!debug? ( test )" -RESTRICT="test" - -RDEPEND=" - dev-db/sqlite:3 - sys-libs/zlib - tiles? ( - media-libs/freetype:2 - media-libs/libpng:0 - media-libs/libsdl[X,opengl,video] - media-libs/sdl-image[png] - ) - !tiles? ( sys-libs/ncurses ) - >=dev-lang/lua-5.1.0[deprecated]" -DEPEND="${RDEPEND} - dev-lang/perl - sys-devel/flex - virtual/yacc - tiles? ( - sys-libs/ncurses - virtual/pkgconfig - test? ( ${VIRTUALX_DEPEND} ) - )" - -S=${WORKDIR}/${MY_P}/source - -src_prepare() { - epatch "${FILESDIR}"/${P}-build.patch - -# if use test ; then -# cp -av "${WORKDIR}/${MY_P}" "${WORKDIR}/${MY_P}_test" \ -# || die "setting up test-dir failed" -# fi -} - -src_compile() { - S_TEST=${WORKDIR}/${MY_P}_test/source - - # leave DATADIR at the top - myemakeargs=( - DATADIR="${GAMES_DATADIR}/${PN}" - V=1 - prefix="${GAMES_PREFIX}" - SAVEDIR="~/.crawl" - $(usex debug "FULLDEBUG=y DEBUG=y" "") - $(usex tiles "TILES=y" "") - ) - - emake ${myemakeargs[@]} - - # for test to work we need to compile with unset DATADIR -# if use test ; then -# emake ${myemakeargs[@]:1} -C "${S_TEST}" -# fi -} - -src_install() { - emake ${myemakeargs[@]} DESTDIR="${D}" install - - # don't relocate docs, needed at runtime - rm -rf "${D}${GAMES_DATADIR}"/${PN}/docs/license - dodoc "${WORKDIR}"/${MY_P}/README.{txt,pdf} - - # icons and menu for graphical build - if use tiles ; then - doicon -s 48 "${DISTDIR}"/${PN}.png - doicon -s scalable "${DISTDIR}"/${PN}.svg - make_desktop_entry crawl - fi - - prepgamesdirs -} - -src_test() { - $(usex tiles "X" "")emake ${myemakeargs[@]:1} -C "${S_TEST}" test -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-roguelike/stone-soup/stone-soup-0.11.1.ebuild b/games-roguelike/stone-soup/stone-soup-0.11.1.ebuild deleted file mode 100644 index 71f7672490a5..000000000000 --- a/games-roguelike/stone-soup/stone-soup-0.11.1.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/stone-soup/stone-soup-0.11.1.ebuild,v 1.2 2012/12/13 17:18:41 hasufell Exp $ - -## TODO -# add sound support (no build switch, no sound files) - -EAPI=4 -VIRTUALX_REQUIRED="manual" -inherit eutils gnome2-utils virtualx games - -MY_P="stone_soup-${PV}" -DESCRIPTION="Role-playing roguelike game of exploration and treasure-hunting in dungeons" -HOMEPAGE="http://crawl.develz.org/wordpress/" -SRC_URI="mirror://sourceforge/crawl-ref/Stone%20Soup/${PV}/${MY_P}-nodeps.tar.xz - http://dev.gentoo.org/~hasufell/distfiles/${PN}.png - http://dev.gentoo.org/~hasufell/distfiles/${PN}.svg" - -# 3-clause BSD: mt19937ar.cc, MSVC/stdint.h -# 2-clause BSD: all contributions by Steve Noonan and Jesse Luehrs -# Public Domain|CC0: most of tiles -# MIT: json.cc/json.h, some .js files in webserver/static/scripts/contrib/ -LICENSE="GPL-2 BSD BSD-2 public-domain CC0-1.0-Universal MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug +tiles" -# test is broken -# see https://crawl.develz.org/mantis/view.php?id=6121 -#RESTRICT="!debug? ( test )" -RESTRICT="test" - -RDEPEND=" - dev-db/sqlite:3 - sys-libs/zlib - tiles? ( - media-libs/freetype:2 - media-libs/libpng:0 - media-libs/libsdl[X,opengl,video] - media-libs/sdl-image[png] - ) - !tiles? ( sys-libs/ncurses ) - >=dev-lang/lua-5.1.0[deprecated]" -DEPEND="${RDEPEND} - dev-lang/perl - sys-devel/flex - virtual/yacc - tiles? ( - sys-libs/ncurses - virtual/pkgconfig - test? ( ${VIRTUALX_DEPEND} ) - )" - -S=${WORKDIR}/${MY_P}/source - -src_prepare() { - epatch "${FILESDIR}"/${P}-build.patch - -# if use test ; then -# cp -av "${WORKDIR}/${MY_P}" "${WORKDIR}/${MY_P}_test" \ -# || die "setting up test-dir failed" -# fi -} - -src_compile() { - S_TEST=${WORKDIR}/${MY_P}_test/source - - # leave DATADIR at the top - myemakeargs=( - DATADIR="${GAMES_DATADIR}/${PN}" - V=1 - prefix="${GAMES_PREFIX}" - SAVEDIR="~/.crawl" - $(usex debug "FULLDEBUG=y DEBUG=y" "") - $(usex tiles "TILES=y" "") - ) - - emake ${myemakeargs[@]} - - # for test to work we need to compile with unset DATADIR -# if use test ; then -# emake ${myemakeargs[@]:1} -C "${S_TEST}" -# fi -} - -src_install() { - emake ${myemakeargs[@]} DESTDIR="${D}" install - - # don't relocate docs, needed at runtime - rm -rf "${D}${GAMES_DATADIR}"/${PN}/docs/license - dodoc "${WORKDIR}"/${MY_P}/README.{txt,pdf} - - # icons and menu for graphical build - if use tiles ; then - doicon -s 48 "${DISTDIR}"/${PN}.png - doicon -s scalable "${DISTDIR}"/${PN}.svg - make_desktop_entry crawl - fi - - prepgamesdirs -} - -src_test() { - $(usex tiles "X" "")emake ${myemakeargs[@]:1} -C "${S_TEST}" test -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update - - echo - elog "Your old config folder under '~/.crawl' is not compatible" - elog "with the new version. Remove it." - echo -} - -pkg_postrm() { - gnome2_icon_cache_update -} |