diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-06 03:11:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-06 03:11:50 +0000 |
commit | 89ecaecd6d4a5e020a02bde6b8b20bf5f5ab94ad (patch) | |
tree | cbf6f762b237096dff6c5d9c8d672e5f85dc9139 /games-board | |
parent | make sure we inherit multilib and move the readline-4 upgrade to pkg_postinst() (diff) | |
download | gentoo-2-89ecaecd6d4a5e020a02bde6b8b20bf5f5ab94ad.tar.gz gentoo-2-89ecaecd6d4a5e020a02bde6b8b20bf5f5ab94ad.tar.bz2 gentoo-2-89ecaecd6d4a5e020a02bde6b8b20bf5f5ab94ad.zip |
Initial import. Ebuild submitted by Yannick Heneault #99474.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/hearts/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/hearts/Manifest | 2 | ||||
-rw-r--r-- | games-board/hearts/files/digest-hearts-1.98 | 1 | ||||
-rw-r--r-- | games-board/hearts/files/hearts-1.98-gcc.patch | 28 | ||||
-rw-r--r-- | games-board/hearts/hearts-1.98.ebuild | 25 | ||||
-rw-r--r-- | games-board/hearts/metadata.xml | 5 |
6 files changed, 69 insertions, 0 deletions
diff --git a/games-board/hearts/ChangeLog b/games-board/hearts/ChangeLog new file mode 100644 index 000000000000..38f59b549d51 --- /dev/null +++ b/games-board/hearts/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for games-board/hearts +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/hearts/ChangeLog,v 1.1 2005/08/06 03:11:50 vapier Exp $ + +*hearts-1.98 (05 Aug 2005) + + 05 Aug 2005; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Yannick Heneault #99474. diff --git a/games-board/hearts/Manifest b/games-board/hearts/Manifest new file mode 100644 index 000000000000..ebe6a1c0cc6d --- /dev/null +++ b/games-board/hearts/Manifest @@ -0,0 +1,2 @@ +MD5 28da59f8499ffa18bd556b80a789a0b4 hearts-1.98.ebuild 372 +MD5 f400d638fd3e3879f01904a1cca864c5 files/digest-hearts-1.98 64 diff --git a/games-board/hearts/files/digest-hearts-1.98 b/games-board/hearts/files/digest-hearts-1.98 new file mode 100644 index 000000000000..830e1cd18125 --- /dev/null +++ b/games-board/hearts/files/digest-hearts-1.98 @@ -0,0 +1 @@ +MD5 160c349537d963234aa9b984cb124bb5 hearts-1.98.tar.bz2 563077 diff --git a/games-board/hearts/files/hearts-1.98-gcc.patch b/games-board/hearts/files/hearts-1.98-gcc.patch new file mode 100644 index 000000000000..10dc619e3351 --- /dev/null +++ b/games-board/hearts/files/hearts-1.98-gcc.patch @@ -0,0 +1,28 @@ +Update gcc syntax. + +Patch by Yannick Heneault. + +http://bugs.gentoo.org/99474 + +--- common/general/circular_iterator.h ++++ common/general/circular_iterator.h +@@ -137,7 +137,7 @@ + inline circular_iterator<It>& circular_iterator<It>::operator += ( circular_iterator<It>::difference_type n ) + { + n %= last - first; // put it in range +- circular_iterator::difference_type d = last - cur; ++ typename circular_iterator::difference_type d = last - cur; + if ( d > n ) { + cur += n; + return *this; +--- common/network/message.h ++++ common/network/message.h +@@ -129,7 +129,7 @@ + } + + template <typename T> +-inline const T Message::arg( size_t idx ) const ++inline const T Message::arg( unsigned idx ) const + { + QString rep = arg( idx ); + return to<T>( rep ); diff --git a/games-board/hearts/hearts-1.98.ebuild b/games-board/hearts/hearts-1.98.ebuild new file mode 100644 index 000000000000..91f3edfeffa8 --- /dev/null +++ b/games-board/hearts/hearts-1.98.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/hearts/hearts-1.98.ebuild,v 1.1 2005/08/06 03:11:50 vapier Exp $ + +inherit kde + +DESCRIPTION="clone of the hearts game for KDE that comes with Windows" +HOMEPAGE="http://hearts.luispedro.org/index.php" +SRC_URI="mirror://sourceforge/hearts/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +need-kde 3 + +PATCHES="${FILESDIR}/${P}-gcc.patch" + +src_install() { + kde_src_install + insinto /usr/share/applications + doins "${D}"/usr/share/applnk/Games/Card/hearts.desktop || die + rm -r "${D}"/usr/share/applnk +} diff --git a/games-board/hearts/metadata.xml b/games-board/hearts/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-board/hearts/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> |