diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-board/freedoko | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-board/freedoko')
-rw-r--r-- | games-board/freedoko/Manifest | 7 | ||||
-rw-r--r-- | games-board/freedoko/files/Fix_Cardset_Make.patch | 12 | ||||
-rw-r--r-- | games-board/freedoko/files/freedoko-0.7.13-gentoo.patch | 45 | ||||
-rw-r--r-- | games-board/freedoko/files/nodoc.patch | 10 | ||||
-rw-r--r-- | games-board/freedoko/files/nonet.patch | 11 | ||||
-rw-r--r-- | games-board/freedoko/files/portage-cxx.patch | 12 | ||||
-rw-r--r-- | games-board/freedoko/freedoko-0.7.13.ebuild | 98 | ||||
-rw-r--r-- | games-board/freedoko/metadata.xml | 20 |
8 files changed, 215 insertions, 0 deletions
diff --git a/games-board/freedoko/Manifest b/games-board/freedoko/Manifest new file mode 100644 index 000000000000..8e3103e324cc --- /dev/null +++ b/games-board/freedoko/Manifest @@ -0,0 +1,7 @@ +DIST FreeDoko_0.7.13.src.zip 17463949 SHA256 256187c8a5bf6f21cf8c57e40fe25391e371d028d5adff67114c5a8576938cac SHA512 c352419764a6fcaa72946adc77293bcf34b80bcdea4b34422e7c48cb0f9c464a53eafb009d146930bcdb95e1010aed93380cfd8b8826647c547edfbc10d00465 WHIRLPOOL f95239b551a709eada50267bf53006201013a2ac2fca89d2bc053783b2eb70aee93c005f40e2104425f1ef8e68379680ed2c7e18cfe65dde96503405148a996f +DIST freedoko-backgrounds.zip 1067740 SHA256 70129744d330976da17675b59ad3f2bc088e77a7b6b8279e866da8e74ed385ee SHA512 66f118a5440b854c7ad4b1bdfd63e7f3bc16e66c921a6f632637269ca8855a6a45eb05a71bfb9105abda20285e35994ff3c9c50649f70ab6de4a082e092c3a14 WHIRLPOOL 060378fa787c12b5a422acceb71526882d1ac9ebfedca7b10cb703a3c6bed183788a27cefef39d618ba130579005ae32eee8e1cb04065097f524dc3e517cf92c +DIST gnome-games.zip 3338038 SHA256 bf4ba39f8a95f8881c58327803ff144181f6100f9bd1ad9c383b8d500dc32cf8 SHA512 42dd63c4eb696d7964b0ad30ff0032c80c93e8bd0a2517b0938005eaf8b12a584d7ce7901c6b3bb0bb55372e484162240c7719d2bf102035870b9c57f1930ec1 WHIRLPOOL c61c4f1f9c66af8c459e7210b9cee0b077d1ef6b5fc0e0df3863db2839111927a131bdd91c78676366e46fadd65fc4262465ae8e4df6046372c9e4e15c5423e0 +DIST kdecarddecks.zip 3370611 SHA256 07b17aaef44c5643b12089da7ffd8f8b18f8f5541e7d01fc04e53c964780cdac SHA512 4f3fdac3c672fd1de3db2f6603919a242db73e2445a8dac07d45dcf284cfbb56948925d6e512f15a0b4c762b71758c0755312624a0030a4d8f11dbfe65666c44 WHIRLPOOL 84998d7ff4de194cce090ac66e3cbf4dbbc27519ece008cc8c2744f900bea06d6a716279e8d6d496b463d0895077bf5d5533a7d0dcee410e717823d0228e8578 +DIST openclipart.zip 1251509 SHA256 68b1c83e7c8325d5d2dfd4cc846571640d21af820fb675e253f8834436e15d3a SHA512 8c5e84d8f8f011cfc84f7d012c97e606f80c2254336518c9b9563315bd63971e7211b762effbb841e74603e0f02bb12ae9e91d1be6a4e23c243691b025874ec2 WHIRLPOOL 38e4b30191a499d6defb8509bd7a208f2b8199e075763f2f67b4c34e2b6c152a604e4efb77e74f217bdd9071cea9edddfc77bfef5f2843621accf233189ae760 +DIST pysol.zip 26314316 SHA256 94d0e2d6aa13e5b007efaf08af0f506f48708e3243186db77f23e2e4660c0aa6 SHA512 951891631c6890144361d779bc52aed2b94a87e810de65f7ef240193c49a243e2f1a93f3e170eacb19080dd28beb99b279d7e0bc16d7cb54553e27d29e65b1f7 WHIRLPOOL b2d7a1fc3bedc16d2f179ddef809038f63dcba0382241032cca85b7e876cb33245425b907bd72156c1289a78a3b748ae0ea946fd6017bde5a9bc9bc600397322 +DIST xskat.zip 666085 SHA256 77cd3d7b3305ef1c201963e512557637929b394f4c1b19d838395dda3c9f8a1d SHA512 725bb12e983e8c1494748faf78b2e1c76c424806eeb7a88aafecf580aa63703c166907aea2bbd7890d2f972ffacc5dde78d01a82b72ab87cccf1a8e50d1034f9 WHIRLPOOL a6788d22b46873f17822e7146426ead03b5e417db6e0c264691c6885432bb2979b4deff77d314c575ed197f8c62966966b7a322dd445c9cd2cefcd7ac31b2fea 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..32bdc32885aa --- /dev/null +++ b/games-board/freedoko/files/Fix_Cardset_Make.patch @@ -0,0 +1,12 @@ +--- data/cardsets/Makefile.orig ++++ data/cardsets/Makefile +@@ -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/freedoko-0.7.13-gentoo.patch b/games-board/freedoko/files/freedoko-0.7.13-gentoo.patch new file mode 100644 index 000000000000..91bd228186b6 --- /dev/null +++ b/games-board/freedoko/files/freedoko-0.7.13-gentoo.patch @@ -0,0 +1,45 @@ +diff -ru FreeDoko_0.7.13.orig/src/Makefile FreeDoko_0.7.13/src/Makefile +--- FreeDoko_0.7.13.orig/src/Makefile 2014-12-29 15:41:58.000000000 -0500 ++++ FreeDoko_0.7.13/src/Makefile 2015-01-27 13:23:11.498892598 -0500 +@@ -242,15 +242,7 @@ + # compile FreeDoko + $(PROGRAM) : show_settings objects $(DIRECTORIES) + @echo 'compiling $(PROGRAM)...' +-# Gentoo users do want to see the real compile line. +-# So remove the next five lines (the echo lines) +-# and remove the '@' in the line after. +- @echo '$(CXX) $(CXXFLAGS)' +- @echo ' $$(OBJECTS)' +- @echo ' $(INCLUDE_ALL)' +- @echo ' $(LIBS_ALL)' +- @echo ' -o $@' +- @$(CXX) $(CXXFLAGS) \ ++ $(CXX) $(CXXFLAGS) \ + $(OBJECTS_ALL:%.o=$(FREEDOKO_WORKING_DIRECTORY)/%.o) \ + $(INCLUDE_ALL) \ + $(LIBS_ALL) \ +diff -ru FreeDoko_0.7.13.orig/src/Makefile.os FreeDoko_0.7.13/src/Makefile.os +--- FreeDoko_0.7.13.orig/src/Makefile.os 2014-12-29 15:41:58.000000000 -0500 ++++ FreeDoko_0.7.13/src/Makefile.os 2015-01-27 13:23:22.185483548 -0500 +@@ -1,6 +1,5 @@ + include $(DEPTH)/../Makefile.os + +-include $(DEPTH)/Makefile.local + include $(DEPTH)/Makefile.modules + + ifeq ($(OPERATING_SYSTEM), Linux) +diff -ru FreeDoko_0.7.13.orig/src/Makefile.rules FreeDoko_0.7.13/src/Makefile.rules +--- FreeDoko_0.7.13.orig/src/Makefile.rules 2014-12-29 15:41:58.000000000 -0500 ++++ FreeDoko_0.7.13/src/Makefile.rules 2015-01-27 13:23:44.780618643 -0500 +@@ -80,10 +80,7 @@ + $(DEPTH)/Makefile.modules \ + $(DEPTH)/Makefile.local \ + $(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 $(SUBDIR)/$< +- @$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $< ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $< + + + -include $(OBJECTS:%.o=$(TARGET_DIR_LOCAL)%.d) diff --git a/games-board/freedoko/files/nodoc.patch b/games-board/freedoko/files/nodoc.patch new file mode 100644 index 000000000000..b3741a3aaf22 --- /dev/null +++ b/games-board/freedoko/files/nodoc.patch @@ -0,0 +1,10 @@ +--- Makefile.orig ++++ Makefile +@@ -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..1902dd5668bd --- /dev/null +++ b/games-board/freedoko/files/nonet.patch @@ -0,0 +1,11 @@ +--- src/Makefile.modules.orig ++++ src/Makefile.modules +@@ -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..894b48010e39 --- /dev/null +++ b/games-board/freedoko/files/portage-cxx.patch @@ -0,0 +1,12 @@ +--- src/Makefile.rules.orig ++++ src/Makefile.rules +@@ -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.13.ebuild b/games-board/freedoko/freedoko-0.7.13.ebuild new file mode 100644 index 000000000000..9af95db6d06c --- /dev/null +++ b/games-board/freedoko/freedoko-0.7.13.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils gnome2-utils games + +DESCRIPTION="FreeDoko is a Doppelkopf-game" +HOMEPAGE="http://free-doko.sourceforge.net" +SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip + backgrounds? ( mirror://sourceforge/free-doko/backgrounds.zip -> ${PN}-backgrounds.zip ) + kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip ) + xskatcards? ( mirror://sourceforge/free-doko/xskat.zip ) + pysolcards? ( mirror://sourceforge/free-doko/pysol.zip ) + gnomecards? ( mirror://sourceforge/free-doko/gnome-games.zip ) + openclipartcards? ( mirror://sourceforge/free-doko/openclipart.zip ) + !xskatcards? ( + !kdecards? ( + !gnomecards? ( + !openclipartcards? ( + !pysolcards? ( + mirror://sourceforge/free-doko/xskat.zip ) ) ) ) )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="+xskatcards +gnomecards +kdecards +openclipartcards +pysolcards +backgrounds net" + +RDEPEND="net? ( net-libs/gnet dev-libs/glib:2 ) + >=dev-cpp/gtkmm-2.4:2.4" +DEPEND="${RDEPEND} + app-arch/unzip + virtual/pkgconfig" + +S=${WORKDIR}/FreeDoko_${PV} + +src_unpack() { + local cards=0 + + unpack_cards() { + use $1 && { unpack $2 ; cards=$(( $cards + 1 )); }; + } + unpack FreeDoko_${PV}.src.zip + cp /dev/null "${S}"/src/Makefile.local + + cd "${S}"/data/cardsets + + unpack_cards xskatcards xskat.zip + unpack_cards kdecards kdecarddecks.zip + unpack_cards pysolcards pysol.zip + unpack_cards gnomecards gnome-games.zip + unpack_cards openclipartcards openclipart.zip + [ $cards ] || unpack xskat.zip # fall back to xskat + + if use backgrounds ; then + cd "${S}"/data/backgrounds + unpack ${PN}-backgrounds.zip + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_compile() { + export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"${GAMES_DATADIR}/${PN}\"'" + export CPPFLAGS+=" -DMANUAL_DIRECTORY_VALUE='\"/usr/share/doc/${PF}/html\"'" + export OSTYPE=Linux + export USE_NETWORK=$(use net && echo true || echo false) + export USE_SOUND_ALUT=false # still marked experimental + emake Version + emake -C src FreeDoko +} + +src_install() { + newgamesbin src/FreeDoko freedoko + insinto "${GAMES_DATADIR}"/${PN}/ + doins -r data/{ai,cardsets,backgrounds,rules,sounds,translations,*png} + find "${D}${GAMES_DATADIR}"/${PN} -name Makefile -delete + dodoc AUTHORS README ChangeLog + newicon -s 32 src/FreeDoko.png ${PN}.png + make_desktop_entry ${PN} FreeDoko + prepgamesdirs +} + +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-board/freedoko/metadata.xml b/games-board/freedoko/metadata.xml new file mode 100644 index 000000000000..336865a45f21 --- /dev/null +++ b/games-board/freedoko/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <longdescription lang="en"> +The Linux version of the popular german cardgame "Doppelkopf" +</longdescription> + <use> + <flag name="kdecards">Install the KDE card set</flag> + <flag name="net">Enable network game support</flag> + <flag name="pysolcards">Install the PySol card set</flag> + <flag name="xskatcards">Install the XSkat card set</flag> + <flag name="gnomecards">Install the gnome-games card set</flag> + <flag name="openclipartcards">Install the openclipartcards card set</flag> + <flag name="backgrounds">Install additional background images</flag> + </use> + <upstream> + <remote-id type="sourceforge">free-doko</remote-id> + </upstream> +</pkgmetadata> |