diff options
author | David Seifert <soap@gentoo.org> | 2017-11-18 17:35:31 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-11-18 17:36:10 +0100 |
commit | 4a76a27157a7138c64368d4b597faedeebdf45b8 (patch) | |
tree | a29d243d99661106ba2cc8b42e99bb8d34e13fc5 /games-rpg/daimonin-client | |
parent | sys-kernel/dracut: bump to 046 (diff) | |
download | gentoo-4a76a27157a7138c64368d4b597faedeebdf45b8.tar.gz gentoo-4a76a27157a7138c64368d4b597faedeebdf45b8.tar.bz2 gentoo-4a76a27157a7138c64368d4b597faedeebdf45b8.zip |
games-rpg/daimonin-client: Version bump to 0.10.8
Closes: https://bugs.gentoo.org/612832
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'games-rpg/daimonin-client')
3 files changed, 136 insertions, 0 deletions
diff --git a/games-rpg/daimonin-client/Manifest b/games-rpg/daimonin-client/Manifest index 2c32333321b9..cda190378b0e 100644 --- a/games-rpg/daimonin-client/Manifest +++ b/games-rpg/daimonin-client/Manifest @@ -1,2 +1,4 @@ DIST daimonin-client-0.10.5.tar.gz 15554328 SHA256 07bc94207dc77e0cae2bc949fd9df92da853f70343927d39f31e439d2d7ea3c9 SHA512 7f961105f368d7b4279c03e90028581a0efe998311f334f87d4ca6ff22df1a62f9b5911adf20822a282d7ed3796d8cb0643ab458cc51fb46cf3b90815164ac04 WHIRLPOOL e5141b02cb581f391609031b18626cd37eb2ed69dcfc7dc2e53d7b019747a5e63bf9f2cbcb7751b936c8c9e7f1637fe92151ac0370fb6dab3511fca0e8ea2dc4 +DIST daimonin-client-0.10.8.zip 51894462 SHA256 f2757b082aa16fe4b9241f5c0d5609c63fd793c2f1099aa5869709f2983f3009 SHA512 f4f5891697f96a60a8ee79973b0172b544cbae25b2d8787e0a4e9113d95be3b41b8c29c80ba5cbaf7548055e4c847456fa364346489f4d6ad165b984cfd64531 WHIRLPOOL 9fb55a307e519e6badb029a0cacd04c1180447be0756159e047d51a56957a5dbf4b6718bcdb7becab513526c98dba7be372215c1afec9896f099e95e76030d7d DIST daimonin-client-AllMusic-20100827.zip 86844919 SHA256 0732fde7f39b34057d72ab65b00ddefc1c84fcf8ef8fdf00d72fb67f2144d867 SHA512 50ec9524bd934a715271ddef1ea2cec855e93607e5befd1b18b74493400c9e1b2e6e5d829f3b21088b28c67635c0d1479eec53e1626c680f1d34081292607c9f WHIRLPOOL 91d485e1b816c6ee06cca9c18185b2a58f1da1f4231139dbb183a14a2ce3a12bab1891a9506bfe7ee2d9ff91d63801b160a4b67a52be8d2f2c4615d2568edd93 +DIST daimoninMusicLQ20100827.zip 24293301 SHA256 44d77d419ee58d340bb10d5fcea5df7b491f4c49b5b06cc37c8ed8ae9f1eb1a4 SHA512 f24bba24c0e9a79469511315c608c464568f3ee0dc05b3d83c791512fa51eae07669dc175e7672cc8b31764a7bdff5c975ac2b13e2d7b0e5287717e188f1d439 WHIRLPOOL 19bd35bedf9a4c173314242a481393e36b1c09915b12e8cfc6e78c16df435174e153ae9ed808b1e7e9c74f59474ad7d303f6c7ca9645e7c313461aa021f58460 diff --git a/games-rpg/daimonin-client/daimonin-client-0.10.8.ebuild b/games-rpg/daimonin-client/daimonin-client-0.10.8.ebuild new file mode 100644 index 000000000000..e1dc786d730d --- /dev/null +++ b/games-rpg/daimonin-client/daimonin-client-0.10.8.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils + +DESCRIPTION="A graphical 2D tile-based MMORPG" +HOMEPAGE="http://daimonin.sourceforge.net/" +SRC_URI="https://dev.gentoo.org/~soap/distfiles/${P}.zip + music? ( mirror://sourceforge/daimonin/daimoninMusicLQ20100827.zip )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug music" +REQUIRED_USE="music" + +RDEPEND=" + dev-games/physfs + media-libs/libsdl[sound,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + net-misc/curl + sys-libs/zlib:=" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR}/daimonin-code-8183-trunk/client/make/linux + +src_unpack() { + unpack ${P}.zip + if use music; then + rm -f daimonin-code-8183-trunk/client/media/* || die + cd daimonin-code-8183-trunk/client || die + unpack daimoninMusicLQ20100827.zip + fi +} + +src_prepare() { + eapply "${FILESDIR}"/${PN}-0.10.5-nozlib.patch + eapply "${FILESDIR}"/${PN}-0.10.8-fix-build-system.patch + + pushd ../../src >/dev/null || die + eapply "${FILESDIR}"/${PN}-0.10.5-datadir.patch + popd >/dev/null || die + + eapply_user + + # remove bundled zlib + rm ../../src/include/z{lib,conf}.h || die + + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf \ + --disable-simplelayout \ + $(use_enable debug) +} + +src_install() { + default + + cd ../.. || die + dodoc README* + newicon bitmaps/pentagram.png "daimonin.png" + make_desktop_entry "daimonin" "Daimonin" "daimonin" "Game;Amusement" +} diff --git a/games-rpg/daimonin-client/files/daimonin-client-0.10.8-fix-build-system.patch b/games-rpg/daimonin-client/files/daimonin-client-0.10.8-fix-build-system.patch new file mode 100644 index 000000000000..a6171896bfac --- /dev/null +++ b/games-rpg/daimonin-client/files/daimonin-client-0.10.8-fix-build-system.patch @@ -0,0 +1,64 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,5 +1,5 @@ + daimonindir=$(d_bindir) +-daimonin_PROGRAMS = daimonin daimonin-updater ++daimonin_PROGRAMS = daimonin + + daimonin_SOURCES = \ + ../../src/adler32.c \ +@@ -72,30 +72,30 @@ + # echo '***'; \ + # exit 42; \ + # fi; +- $(MKDIR) -p $(d_datadir)/sfx +- $(MKDIR) -p $(d_datadir)/man +- $(MKDIR) -p $(d_datadir)/media +- $(MKDIR) -p $(d_datadir)/cache +- $(MKDIR) -p $(d_datadir)/logs +- $(MKDIR) -p $(d_datadir)/gfx_user +- $(MKDIR) -p $(d_datadir)/srv_files +- $(MKDIR) -p $(d_datadir)/bitmaps +- $(MKDIR) -p $(d_datadir)/icons +- $(MKDIR) -p $(d_datadir)/settings +- $(MKDIR) -p $(d_datadir)/update +- $(CP) ../../sfx/*.* $(d_datadir)/sfx +- $(CP) -R ../../man/* $(d_datadir)/man +- $(CP) ../../media/*.* $(d_datadir)/media +- $(CP) ../../cache/*.* $(d_datadir)/cache +- $(CP) ../../bitmaps/* $(d_datadir)/bitmaps +- $(CP) ../../icons/* $(d_datadir)/icons +- $(CP) -R ../../settings/*.* $(d_datadir)/settings +- $(CP) ../../srv_files/*.* $(d_datadir)/srv_files +- $(CP) ../../update/version $(d_datadir)/update +- $(CP) ../../gfx_user/*.* $(d_datadir)/gfx_user +- $(CP) ../../daimonin.p0 $(d_datadir) +- $(CP) ../../License $(d_datadir) +- $(CP) ../../archdef.dat $(d_datadir) ++ $(MKDIR) -p $(DESTDIR)$(d_datadir)/sfx ++ $(MKDIR) -p $(DESTDIR)$(d_datadir)/man ++ $(MKDIR) -p $(DESTDIR)$(d_datadir)/media ++ $(MKDIR) -p $(DESTDIR)$(d_datadir)/cache ++ $(MKDIR) -p $(DESTDIR)$(d_datadir)/logs ++ $(MKDIR) -p $(DESTDIR)$(d_datadir)/gfx_user ++ $(MKDIR) -p $(DESTDIR)$(d_datadir)/srv_files ++ $(MKDIR) -p $(DESTDIR)$(d_datadir)/bitmaps ++ $(MKDIR) -p $(DESTDIR)$(d_datadir)/icons ++ $(MKDIR) -p $(DESTDIR)$(d_datadir)/settings ++ $(MKDIR) -p $(DESTDIR)$(d_datadir)/update ++ $(CP) ../../sfx/*.* $(DESTDIR)$(d_datadir)/sfx ++ $(CP) -R ../../man/* $(DESTDIR)$(d_datadir)/man ++ $(CP) ../../media/*.* $(DESTDIR)$(d_datadir)/media ++ $(CP) ../../cache/*.* $(DESTDIR)$(d_datadir)/cache ++ $(CP) ../../bitmaps/* $(DESTDIR)$(d_datadir)/bitmaps ++ $(CP) ../../icons/* $(DESTDIR)$(d_datadir)/icons ++ $(CP) -R ../../settings/*.* $(DESTDIR)$(d_datadir)/settings ++ $(CP) ../../srv_files/*.* $(DESTDIR)$(d_datadir)/srv_files ++ $(CP) ../../update/version $(DESTDIR)$(d_datadir)/update ++ $(CP) ../../gfx_user/*.* $(DESTDIR)$(d_datadir)/gfx_user ++ $(CP) ../../daimonin.p0 $(DESTDIR)$(d_datadir) ++ $(CP) ../../License $(DESTDIR)$(d_datadir) ++ $(CP) ../../archdef.dat $(DESTDIR)$(d_datadir) + @echo "*** Daimonin client successful installed in $(daimonindir)!" + @echo "*** Enter your install folder and type ./daimonin" + @echo "*** to start the game!" |