From 52e8d20bf475995f6adde873b87393223096bcde Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Mon, 9 Oct 2006 17:04:33 +0000 Subject: Initial import. Ebuild by Dietrich Heise and edited by Rafael Kolles , Mike Frysinger , and me. Closing bug #113501. Package-Manager: portage-2.1.2_pre1-r4 --- games-board/freedoko/ChangeLog | 13 ++++ games-board/freedoko/Manifest | 35 +++++++++ games-board/freedoko/files/Fix_Cardset_Make.patch | 12 +++ games-board/freedoko/files/digest-freedoko-0.7.3 | 12 +++ games-board/freedoko/files/nodoc.patch | 10 +++ games-board/freedoko/files/nonet.patch | 11 +++ games-board/freedoko/files/portage-cxx.patch | 12 +++ games-board/freedoko/freedoko-0.7.3.ebuild | 89 +++++++++++++++++++++++ games-board/freedoko/metadata.xml | 9 +++ 9 files changed, 203 insertions(+) create mode 100644 games-board/freedoko/ChangeLog create mode 100644 games-board/freedoko/Manifest create mode 100644 games-board/freedoko/files/Fix_Cardset_Make.patch create mode 100644 games-board/freedoko/files/digest-freedoko-0.7.3 create mode 100644 games-board/freedoko/files/nodoc.patch create mode 100644 games-board/freedoko/files/nonet.patch create mode 100644 games-board/freedoko/files/portage-cxx.patch create mode 100644 games-board/freedoko/freedoko-0.7.3.ebuild create mode 100644 games-board/freedoko/metadata.xml (limited to 'games-board') diff --git a/games-board/freedoko/ChangeLog b/games-board/freedoko/ChangeLog new file mode 100644 index 000000000000..8a738bee265e --- /dev/null +++ b/games-board/freedoko/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for games-board/freedoko +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/freedoko/ChangeLog,v 1.1 2006/10/09 17:04:33 wolf31o2 Exp $ + +*freedoko-0.7.3 (09 Oct 2006) + + 09 Oct 2006; Chris Gianelloni + +files/Fix_Cardset_Make.patch, +files/nodoc.patch, +files/nonet.patch, + +files/portage-cxx.patch, +metadata.xml, +freedoko-0.7.3.ebuild: + Initial import. Ebuild by Dietrich Heise and edited + by Rafael Kolles , Mike Frysinger , + and me. Closing bug #113501. + diff --git a/games-board/freedoko/Manifest b/games-board/freedoko/Manifest new file mode 100644 index 000000000000..a7c720a29ffc --- /dev/null +++ b/games-board/freedoko/Manifest @@ -0,0 +1,35 @@ +AUX Fix_Cardset_Make.patch 498 RMD160 2000df1c9401800fd11abdfdaa6f459a3125c576 SHA1 c372123f4f101564cf749f340469566292d91481 SHA256 933b819fdd660a8a7ac5bec560f5b6047732351847c61970c8c9e40652cec39a +MD5 69792c452ae73677daee1ffa4cd727d7 files/Fix_Cardset_Make.patch 498 +RMD160 2000df1c9401800fd11abdfdaa6f459a3125c576 files/Fix_Cardset_Make.patch 498 +SHA256 933b819fdd660a8a7ac5bec560f5b6047732351847c61970c8c9e40652cec39a files/Fix_Cardset_Make.patch 498 +AUX nodoc.patch 368 RMD160 220eb20e38556d2b029092a91f698a0150bc9974 SHA1 471f5def092b812f49d2d7019c4e86eea7e70d6e SHA256 c31e2c78a9a6f81c2e0db5c8a5943ffd68146df6fcd2705410bff21b6236a3f6 +MD5 c34de1b73f9226aaa48d946ebc3fba80 files/nodoc.patch 368 +RMD160 220eb20e38556d2b029092a91f698a0150bc9974 files/nodoc.patch 368 +SHA256 c31e2c78a9a6f81c2e0db5c8a5943ffd68146df6fcd2705410bff21b6236a3f6 files/nodoc.patch 368 +AUX nonet.patch 421 RMD160 c283ea36b61cda2e98fe9f89d21118e207fbf256 SHA1 f0fc2a78a438625382bc8d5f728a7792b0ab7e2e SHA256 72fe58f2afd6bff66776bfe6f7045b39e8264e684cf15a001a28bc992d041289 +MD5 5afbf816aa2d95d3f0771ef1afeb6d36 files/nonet.patch 421 +RMD160 c283ea36b61cda2e98fe9f89d21118e207fbf256 files/nonet.patch 421 +SHA256 72fe58f2afd6bff66776bfe6f7045b39e8264e684cf15a001a28bc992d041289 files/nonet.patch 421 +AUX portage-cxx.patch 481 RMD160 629a23c217f468b9c4f30f1b713a03da3d6a472b SHA1 9b75cfa34f67cbdd1481ea459dc966643a69ee69 SHA256 cca8736b219e27d02b0ca82f11cbb8030b48128bf255d845b6277806347770d7 +MD5 fdb0dbabc1a2bef4fead829bcf71d81f files/portage-cxx.patch 481 +RMD160 629a23c217f468b9c4f30f1b713a03da3d6a472b files/portage-cxx.patch 481 +SHA256 cca8736b219e27d02b0ca82f11cbb8030b48128bf255d845b6277806347770d7 files/portage-cxx.patch 481 +DIST FreeDoko_0.7.3.src.zip 2759310 RMD160 1c9a4c84d06a2941aa910438cfbd64afab34e7ec SHA1 7f051c97cac2035b646f592b333017e8259cfb71 SHA256 ea5cb508be0f2935caa4142401971d88d568221dd811a712fc0bef7c9f963fdd +DIST kdecarddecks.zip 3370611 RMD160 c99a94e52e697c49068a31a0fc10acca7f528c86 SHA1 d01d92bdeb6fa1c9d73987269484940319353970 SHA256 07b17aaef44c5643b12089da7ffd8f8b18f8f5541e7d01fc04e53c964780cdac +DIST pysol.zip 26314316 RMD160 0ceb36c33e3de983e7a60df13367857fe14ddba7 SHA1 2ebe408cdfa9e40277727033fe7306438976c120 SHA256 94d0e2d6aa13e5b007efaf08af0f506f48708e3243186db77f23e2e4660c0aa6 +DIST xskat.zip 666085 RMD160 c4e10c6ca9753a544fa1197d45a6759363742f7e SHA1 af209c9b1b8b33bae657e049d146d58541296fad SHA256 77cd3d7b3305ef1c201963e512557637929b394f4c1b19d838395dda3c9f8a1d +EBUILD freedoko-0.7.3.ebuild 2618 RMD160 d70701db591a267f4c869421f5be9dd4117dcfd2 SHA1 61b82ecb982790d7bd12eaeddfc8a0096806638f SHA256 3ba91d69cce2d2613500b1b7f14ca4b3fefefb17d8eaa690e1bd28c645e0e3ce +MD5 3fe1c4fa3b2b433d8661398cb4ad60ff freedoko-0.7.3.ebuild 2618 +RMD160 d70701db591a267f4c869421f5be9dd4117dcfd2 freedoko-0.7.3.ebuild 2618 +SHA256 3ba91d69cce2d2613500b1b7f14ca4b3fefefb17d8eaa690e1bd28c645e0e3ce freedoko-0.7.3.ebuild 2618 +MISC ChangeLog 533 RMD160 3e3bca7edfaa279a01a983c27dcbe5a08157dec0 SHA1 ff07b41e9b9dad3bb5e6f6d2b23dd06ea828f446 SHA256 e7331ea3219c18f62adeaff3856dbcb2fa6ef04184d6810537954d7f3397a323 +MD5 586a10a058d6252417ad677649edd9cd ChangeLog 533 +RMD160 3e3bca7edfaa279a01a983c27dcbe5a08157dec0 ChangeLog 533 +SHA256 e7331ea3219c18f62adeaff3856dbcb2fa6ef04184d6810537954d7f3397a323 ChangeLog 533 +MISC metadata.xml 268 RMD160 74f5698fdd987ab4243142670f6187ea52309855 SHA1 3bbfb68c9834d103ffbc6a96a7d9cd2138eacb31 SHA256 c7ea9de18028a312baccee287f8cf85d632771548009b43880a0b1b57fb78641 +MD5 2ef03d4b3061c58d483bc88edea9b4a6 metadata.xml 268 +RMD160 74f5698fdd987ab4243142670f6187ea52309855 metadata.xml 268 +SHA256 c7ea9de18028a312baccee287f8cf85d632771548009b43880a0b1b57fb78641 metadata.xml 268 +MD5 1956e75efa8bd9890578583b9b5bbe28 files/digest-freedoko-0.7.3 904 +RMD160 e11e0a680ad6afeba59478e488877d2388a09a77 files/digest-freedoko-0.7.3 904 +SHA256 5d36ebcfada9dfa2ece7f5b53a10680073be7060529f0ed5f966ff5795f98ea1 files/digest-freedoko-0.7.3 904 diff --git a/games-board/freedoko/files/Fix_Cardset_Make.patch b/games-board/freedoko/files/Fix_Cardset_Make.patch new file mode 100644 index 000000000000..0f1ddc6bff83 --- /dev/null +++ b/games-board/freedoko/files/Fix_Cardset_Make.patch @@ -0,0 +1,12 @@ +--- data/cardsets/Makefile.orig 2006-07-27 10:21:57.000000000 +0200 ++++ data/cardsets/Makefile 2006-07-28 17:30:58.776317496 +0200 +@@ -12,8 +12,7 @@ + @# In order to add all cardsets to the release + @# uncomment the following line, add a trailing backslash + @# and remove the line after +- @#for d in Altenburg xskat kdecarddecks pysol; do +- for d in Altenburg; do \ ++ for d in Altenburg xskat kdecarddecks pysol; do \ + cp -r $$d $(DEPTH)/release/FreeDoko_$(VERSION)/cardsets/; \ + done + endif diff --git a/games-board/freedoko/files/digest-freedoko-0.7.3 b/games-board/freedoko/files/digest-freedoko-0.7.3 new file mode 100644 index 000000000000..9158126dc229 --- /dev/null +++ b/games-board/freedoko/files/digest-freedoko-0.7.3 @@ -0,0 +1,12 @@ +MD5 78a5c89b865f5366e1dc83f7714725a8 FreeDoko_0.7.3.src.zip 2759310 +RMD160 1c9a4c84d06a2941aa910438cfbd64afab34e7ec FreeDoko_0.7.3.src.zip 2759310 +SHA256 ea5cb508be0f2935caa4142401971d88d568221dd811a712fc0bef7c9f963fdd FreeDoko_0.7.3.src.zip 2759310 +MD5 782be8cbf41b3dd1be6643baf6c8d0a6 kdecarddecks.zip 3370611 +RMD160 c99a94e52e697c49068a31a0fc10acca7f528c86 kdecarddecks.zip 3370611 +SHA256 07b17aaef44c5643b12089da7ffd8f8b18f8f5541e7d01fc04e53c964780cdac kdecarddecks.zip 3370611 +MD5 bb35d79812ea73310fa017c26565856e pysol.zip 26314316 +RMD160 0ceb36c33e3de983e7a60df13367857fe14ddba7 pysol.zip 26314316 +SHA256 94d0e2d6aa13e5b007efaf08af0f506f48708e3243186db77f23e2e4660c0aa6 pysol.zip 26314316 +MD5 d8d4339d2d94eafbab3f2f7653097acf xskat.zip 666085 +RMD160 c4e10c6ca9753a544fa1197d45a6759363742f7e xskat.zip 666085 +SHA256 77cd3d7b3305ef1c201963e512557637929b394f4c1b19d838395dda3c9f8a1d xskat.zip 666085 diff --git a/games-board/freedoko/files/nodoc.patch b/games-board/freedoko/files/nodoc.patch new file mode 100644 index 000000000000..3d62d92c6a7d --- /dev/null +++ b/games-board/freedoko/files/nodoc.patch @@ -0,0 +1,10 @@ +--- Makefile.orig 2006-08-12 16:26:20.366547794 +0200 ++++ Makefile 2006-08-12 16:26:51.066037961 +0200 +@@ -139,7 +139,6 @@ + $(MAKE) Version + cp AUTHORS COPYING ChangeLog README LIESMICH Version release/FreeDoko_$(VERSION)/ + $(MAKE) -C data release +- $(MAKE) -C doc release + $(RM) -r `find release/FreeDoko_$(VERSION)/ -name ".svn"` + + .PHONY: release_linux_binary diff --git a/games-board/freedoko/files/nonet.patch b/games-board/freedoko/files/nonet.patch new file mode 100644 index 000000000000..4881dc0f68df --- /dev/null +++ b/games-board/freedoko/files/nonet.patch @@ -0,0 +1,11 @@ +--- src/Makefile.modules.orig 2006-08-12 16:56:49.150314837 +0200 ++++ src/Makefile.modules 2006-08-12 17:15:29.231357349 +0200 +@@ -11,7 +11,7 @@ + # The network code + # It is not necessary for single players + # The network does use the 'GNet' library (http://www.gnetlibrary.org/) +-USE_NETWORK ?= true ++USE_NETWORK ?= false + + # whether to use thread support (experimental, use at your own risk) + #USE_THREADS ?= true diff --git a/games-board/freedoko/files/portage-cxx.patch b/games-board/freedoko/files/portage-cxx.patch new file mode 100644 index 000000000000..5a3e40e2f084 --- /dev/null +++ b/games-board/freedoko/files/portage-cxx.patch @@ -0,0 +1,12 @@ +--- src/Makefile.rules.orig 2006-10-05 21:59:41.915041312 +0200 ++++ src/Makefile.rules 2006-10-05 21:59:50.259772720 +0200 +@@ -5,8 +5,7 @@ + $(DEPTH)/Makefile.os + # Gentoo users do want to see the real compile line. + # So remove the next line and remove the '@' in the line after. +- @echo $(CXX) -c $< +- @$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $< ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $< + + -include $(OBJECTS:.o=.d) + diff --git a/games-board/freedoko/freedoko-0.7.3.ebuild b/games-board/freedoko/freedoko-0.7.3.ebuild new file mode 100644 index 000000000000..f213ab691b70 --- /dev/null +++ b/games-board/freedoko/freedoko-0.7.3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/freedoko/freedoko-0.7.3.ebuild,v 1.1 2006/10/09 17:04:33 wolf31o2 Exp $ + +inherit eutils games + +DESCRIPTION="FreeDoko is a Doppelkopf-game" +HOMEPAGE="http://free-doko.sourceforge.net" +SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip + kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip ) + xskatcards? ( mirror://sourceforge/free-doko/xskat.zip ) + pysolcards? ( mirror://sourceforge/free-doko/pysol.zip ) + !altenburgcards? ( + !xskatcards? ( + !kdecards? ( + !pysolcards? ( mirror://sourceforge/free-doko/xskat.zip ) ) ) )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="xskatcards kdecards altenburgcards pysolcards net doc" + +RDEPEND="net? ( net-libs/gnet ) + dev-cpp/gtkmm" + +DEPEND="${RDEPEND} + app-arch/unzip + doc? ( app-text/tetex ) + app-text/dos2unix" + +S=${WORKDIR}/FreeDoko_${PV} + +src_unpack() { + unpack FreeDoko_${PV}.src.zip + cd ${S} + dos2unix ${S}/src/Makefile.rules + epatch ${FILESDIR}/portage-cxx.patch + epatch ${FILESDIR}/Fix_Cardset_Make.patch + use !doc && epatch ${FILESDIR}/nodoc.patch + use !net && epatch ${FILESDIR}/nonet.patch + sed -i -e 's/linux binary/Gentoo '${ARCH}' binary/g' Makefile + + + cd ${S}/data/cardsets + use xskatcards && unpack xskat.zip + use kdecards && unpack kdecarddecks.zip + use pysolcards && unpack pysol.zip + if use xskatcards || use kdecards || use pysolcards ; then + use altenburgcards || rm -r Altenburg + fi + if use !altenburgcards && use !xskatcards && use !kdecards && use !pysolcards ; then + ewarn "You did not choose any cardset!" + ewarn "I will install the cardset xskat" + ewarn "You may change your mind and hit" + ewarn "CTRL+C NOW to choose the cardsets" + ewarn "with the USE-Flags" + ebeep + rm -r Altenburg && unpack xskat.zip + fi + +} + +src_compile() { + export CPPFLAGS="${CPPFLAGS} -DPUBLIC_DATA_DIRECTORY_VALUE='\"${GAMES_DATADIR}/${PN}\"'" + export OSTYPE=Linux + emake release_directory || die "build failed" + emake release_data || die "build failed" + emake release_linux_binary || die "build failed" +} + +src_install() { + newgamesbin release/FreeDoko_${PV}/FreeDoko freedoko || die "installing the binary failed" + rm -f release/FreeDoko_${PV}/FreeDoko + insinto "${GAMES_DATADIR}"/${PN}/ + doins -r release/FreeDoko_${PV}/* || die "Installation failed" + dodoc README LIESMICH ChangeLog + doicon src/FreeDoko.png + make_desktop_entry freedoko FreeDoko FreeDoko.png + prepgamesdirs +} + +pkg_postinst () { + if use altenburgcards; then + einfo "License Info:" + einfo "Verwendung der ASS Altenburger Spielkarten mit Genehmigung" + einfo "der Spielkartenfabrik Altenburg GmbH" + fi +} + diff --git a/games-board/freedoko/metadata.xml b/games-board/freedoko/metadata.xml new file mode 100644 index 000000000000..4ff04afa0a6b --- /dev/null +++ b/games-board/freedoko/metadata.xml @@ -0,0 +1,9 @@ + + + +games + +The Linux version of the popular german cardgame "Doppelkopf" + + + -- cgit v1.2.3-65-gdbad