fizmo: Add 0.7.3, bump to EAPI 4, suppress parallel make, disable --as-needed
authorNikos Chantziaras <realnc@gmail.com>
Fri, 10 Aug 2012 12:37:09 +0000 (10 15:37 +0300)
committerNikos Chantziaras <realnc@gmail.com>
Fri, 10 Aug 2012 14:15:50 +0000 (10 17:15 +0300)
games-engines/fizmo/Manifest
games-engines/fizmo/fizmo-0.7.3.ebuild [new file with mode: 0644]

dissimilarity index 100%
index f38db57..f88e58e 100644 (file)
@@ -1,7 +1,9 @@
-AUX fizmo-0.6.9-build-system.patch 3771 RMD160 cf3cf88479aad1daa54b1942f5b6d31ddadc22f4 SHA1 439bc41f9e461474b5046186f02c6868fa9a61be SHA256 307ed4f1655acb08bbee5cc7b3de4e4ed8145c0e52e03d7e32251cc4c6218360
-AUX fizmo-0.7.2-build-system.patch 3633 RMD160 b7801a9b2f75477ffa0123240fd08379af4a6d4a SHA1 b3667c11909c4ee1cbeebcfd6c498f11ffb6c818 SHA256 c1d5209389b553cea527587a1683f2833a7b26d2f40619871b57f879d74e922d
-DIST fizmo-0.6.10.tar.gz 214759 RMD160 78c96833c95621831e871f4a36b3c1c0f3f198ff SHA1 858a8e1f7f2fcc01b5bc9a42459f6ae4ce166b6b SHA256 a57d3e1a1f7e7fdd6419a770e4a93f9e44b45bb22ca1b09a9cae97f9e8e15d62
-DIST fizmo-0.7.2.tar.gz 2202690 RMD160 f5e8f31db5a84c2e18a2a12b17d54a29ceb87e47 SHA1 73cfd0562a3cf12e696d2260362d1bd4fc47cfc4 SHA256 9d9f6121e6a7cb67a3ffdcd182fc8a1840f01faae6ec1dfb85b1c4fbd2bdb7ed
-EBUILD fizmo-0.6.10.ebuild 1275 RMD160 546ff2474998227d9feba68db5e8671ab1b60549 SHA1 197083af2de0ea70c31082d2b2fe5bc179677a5c SHA256 97282f7bdfddcca0ae48a7e71ce498df36e7043ab0b9f2d8c66b636e6a50f433
-EBUILD fizmo-0.7.2.ebuild 1867 RMD160 4f535b53dbe24c258a0f573a3af84d9cc1b0f247 SHA1 c77be72c89e0f95b63bbc4e3d452938a7ba32989 SHA256 0e12d1ebe9133129e67badd17fff27c5f31765e7057d1b8133a6e1e29ea16908
-MISC metadata.xml 1115 RMD160 bf54c2f4809be43f41f5d545dfa298bcfc2b3553 SHA1 0d4fc8944f82ab512a2f0d120d3f5dab717708c1 SHA256 db9b23f4d40a5d94032e20de1f7bdf3f0bbb58ef280d036c8ec9bb858e7edefd
+AUX fizmo-0.6.9-build-system.patch 3771 SHA256 307ed4f1655acb08bbee5cc7b3de4e4ed8145c0e52e03d7e32251cc4c6218360 SHA512 e5280a58ff1ed286db1102621137d696f5c619f827a8aa00e4f1539f8095b98c25adc8f2a1073a5e3e548cc667bf0f3ec3fc1e07ef1f44b2a52125687456989b WHIRLPOOL 0ccc8b17d207def401dfd08882d6ec97d12236d44c2356341ca7902d9239a262dae6e8511e9d97ce0fee5843b8a9d9aa17a6f2c2edc4aa7d58b015f4d11ecf1c
+AUX fizmo-0.7.2-build-system.patch 3633 SHA256 c1d5209389b553cea527587a1683f2833a7b26d2f40619871b57f879d74e922d SHA512 ab1b807f95e9f53dbbf0a6a09644029fcfb7ebd9c612280a656fee1a3f162ec06b88243c2027d18db32bed28ff3cf3b142b6d145c1606b6657b48c2d4c7136c7 WHIRLPOOL 5bb482be54b3fe7a8dfa25a07d3f17f3bae15abbeb7357745e650874531150a8496d9d4e2e2b93fa35a0ff67995ee283891fbb9daccb4fe0f4b885bd03e4101b
+DIST fizmo-0.6.10.tar.gz 214759 SHA256 a57d3e1a1f7e7fdd6419a770e4a93f9e44b45bb22ca1b09a9cae97f9e8e15d62
+DIST fizmo-0.7.2.tar.gz 2202690 SHA256 9d9f6121e6a7cb67a3ffdcd182fc8a1840f01faae6ec1dfb85b1c4fbd2bdb7ed
+DIST fizmo-0.7.3.tar.gz 2214625 SHA256 cfc449e843937fcf1e82228d32628b2d57d278d8a9a85e1aa4df001e7ad9f9d2 SHA512 1b4b78f098a5e1c6b08237a0d410507ac4986cc0bd53010d7b848b03765097328c3e93089b58bda781b8a66435310156852714f4cbf838f2a3478d699a9dae6f WHIRLPOOL 5ce1ba33c11384056dcb0972669ffe175bc356d22e54314d378e57e4bb75d26fe88de52397ac11a2c48d56e973a9282a43e66692210e28202c80ed50773d16e4
+EBUILD fizmo-0.6.10.ebuild 1275 SHA256 97282f7bdfddcca0ae48a7e71ce498df36e7043ab0b9f2d8c66b636e6a50f433 SHA512 f3bbe986cc14920d7b868560d6755aaa5f6a0cb529b88d28cf89061211f5f00e332a5f1fa91d9b87ee264e98a4266be9f51d46040e9783ee27755c04f9604397 WHIRLPOOL bb91f3c4bd584f6beba3ed8dd938b91bdd3abc2a0d14527a97c65c745256c62dd2682a529ab0a44e9e4edbdd283de7eb5bd62e60ca6a7fced7adf13c2eea3e82
+EBUILD fizmo-0.7.2.ebuild 1867 SHA256 0e12d1ebe9133129e67badd17fff27c5f31765e7057d1b8133a6e1e29ea16908 SHA512 03de585439a63712c5c8edba46dda07df9e11b73bb8fbc98b23bfc4e91b3bd28c03266a5cb32a6ea76afb0dd48d3656d07d30c4f46c38d59e40cab290a677777 WHIRLPOOL 43aba53682467489afe031d68cfcb8723509e528ac5d60d32f267b9f7148f5fdd69870bdeb69482fa293dc23fe417887f6176af62009f9e281ed715cfc7aa6ba
+EBUILD fizmo-0.7.3.ebuild 1718 SHA256 754e056629cafbc004ead702e9dad52b10a5f07a5a51c562f4443359ed4fb959 SHA512 6cd7484771ef0c8585c9d35429c38156a98c7b943cff0359637e81f58a5796ae81a80ed35b92c0aaaeb729a06db84219f5bfa8d0d12be7d29a626705b8e6ee28 WHIRLPOOL 3737de6da7d5c683a4194a32c3ba5683c8e7f8612c40a776eb2e6e90ff62a3d41a42c5338a7b28d96bd9f31907f12ef2e96f9e8a32039c2f9668311fbad8346e
+MISC metadata.xml 1115 SHA256 db9b23f4d40a5d94032e20de1f7bdf3f0bbb58ef280d036c8ec9bb858e7edefd SHA512 552f79c6d0faad215b74459b7b9a14fa8600caac819b790f0abd07a9b6def7f48cba12424dfb3f4545ce99f3fdb0d6cab7d463eeda311a521e0b19e8dffc4c34 WHIRLPOOL e8c452e45b049c8ff3e60fceddab6fc45df77a2d26ad982ee306214499d5aa32a7bf33ed08a69108161e75c8fbbb29de9ba50f57991a6057543f6c80fa7ef968
diff --git a/games-engines/fizmo/fizmo-0.7.3.ebuild b/games-engines/fizmo/fizmo-0.7.3.ebuild
new file mode 100644 (file)
index 0000000..45d9a69
--- /dev/null
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils multilib toolchain-funcs games flag-o-matic
+
+DESCRIPTION="Yet another Z-machine interpreter"
+HOMEPAGE="http://www.spellbreaker.org/~chrender/fizmo/"
+SRC_URI="http://www.spellbreaker.org/~chrender/fizmo/source/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X glk ncurses sdl xml"
+# only the ncurses UI supports these two features
+REQUIRED_USE="sdl? ( ncurses )
+       X? ( ncurses )"
+
+RDEPEND="X? ( media-libs/libpng
+               virtual/jpeg
+               x11-libs/libX11 )
+       glk? ( dev-games/glkloader )
+       ncurses? ( sys-libs/ncurses[unicode] )
+       sdl? ( media-libs/libsdl
+               media-libs/libsndfile )
+       xml? ( dev-libs/libxml2 )"
+DEPEND="${RDEPEND}
+       dev-util/pkgconfig
+       glk? ( dev-games/glk-headers )"
+
+src_prepare() {
+       epatch "${FILESDIR}"/fizmo-0.7.2-build-system.patch
+}
+
+src_configure() {
+       filter-ldflags -Wl,--as-needed
+       cp config.default.mk config.mk || die "cp config.mk failed"
+       sed -i \
+               -e "s|@CC@|$(tc-getCC)|" \
+               -e "s|@CFLAGS@|${CFLAGS}|" \
+               -e "s|@LDFLAGS@|${LDFLAGS}|" \
+               -e "s|@DISABLE_BABEL@|$(usex xml "" 1)|" \
+               -e "s|@ENABLE_X11_IMAGES@|$(usex X 1 "")|" \
+               -e "s|@SOUND_INTERFACE_NAME@|$(usex sdl libsndifsdl "")|" \
+               config.mk || die "sed failed"
+}
+
+src_compile() {
+       emake -j1 fizmo-console
+       use glk && { emake -j1 fizmo-glktermw; }
+       use ncurses && { emake -j1 fizmo-ncursesw; }
+}
+
+src_install() {
+       emake -j1 DESTDIR="${D}" install-locales install-fizmo-console
+       use glk && { emake -j1 DESTDIR="${D}" install-fizmo-glktermw; }
+       use ncurses && { emake -j1 DESTDIR="${D}" install-fizmo-ncursesw; }
+
+       dodoc README.txt README-0.7.txt CHANGELOG.txt
+
+       prepgamesdirs
+}