summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-06 03:11:50 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-06 03:11:50 +0000
commitef05cdf64bf62d794424411b51087843c4664341 (patch)
tree7de5515fc5bac36d33616faad62a7cc4ce4c2b92 /games-board
parentmake sure we inherit multilib and move the readline-4 upgrade to pkg_postinst() (diff)
downloadhistorical-ef05cdf64bf62d794424411b51087843c4664341.tar.gz
historical-ef05cdf64bf62d794424411b51087843c4664341.tar.bz2
historical-ef05cdf64bf62d794424411b51087843c4664341.zip
Initial import. Ebuild submitted by Yannick Heneault #99474.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'games-board')
-rw-r--r--games-board/hearts/ChangeLog8
-rw-r--r--games-board/hearts/Manifest15
-rw-r--r--games-board/hearts/files/digest-hearts-1.981
-rw-r--r--games-board/hearts/files/hearts-1.98-gcc.patch28
-rw-r--r--games-board/hearts/hearts-1.98.ebuild25
-rw-r--r--games-board/hearts/metadata.xml5
6 files changed, 82 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..2b4cc88e1042
--- /dev/null
+++ b/games-board/hearts/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 5fbdc578e04be20f0403d881ffb9afeb hearts-1.98.ebuild 673
+MD5 222fc0d1f3856713f0659f8c76b2f3e9 ChangeLog 353
+MD5 f400d638fd3e3879f01904a1cca864c5 files/digest-hearts-1.98 64
+MD5 7ae96bbe4ec91232491891b183247700 files/hearts-1.98-gcc.patch 752
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFC9CqSgIKl8Uu19MoRAj7TAJ9+N2/oYRLZ5tAgNzkb/yye0dDwxwCfRmSC
+yWP+76Tnf6zC335YDJUDrjw=
+=vanG
+-----END PGP SIGNATURE-----
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>