summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-10-17 00:26:16 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-10-17 00:26:16 +0000
commit6b4bd64ff3a8d094e9083b153a0d3a4dbb0c0301 (patch)
treeea8ad8fbd3355d218dcff65e6817e019082a3bae
parentRemove old version. (diff)
downloadgentoo-2-6b4bd64ff3a8d094e9083b153a0d3a4dbb0c0301.tar.gz
gentoo-2-6b4bd64ff3a8d094e9083b153a0d3a4dbb0c0301.tar.bz2
gentoo-2-6b4bd64ff3a8d094e9083b153a0d3a4dbb0c0301.zip
Version bump, bug #94369
(Portage version: 2.1.2_pre3-r2)
-rw-r--r--games-board/ggz-kde-client/ChangeLog8
-rw-r--r--games-board/ggz-kde-client/files/digest-ggz-kde-client-0.0.133
-rw-r--r--games-board/ggz-kde-client/files/ggz-kde-client-0.0.13-defines.patch15
-rw-r--r--games-board/ggz-kde-client/ggz-kde-client-0.0.13.ebuild45
4 files changed, 70 insertions, 1 deletions
diff --git a/games-board/ggz-kde-client/ChangeLog b/games-board/ggz-kde-client/ChangeLog
index f13617d4087e..7cb557a60854 100644
--- a/games-board/ggz-kde-client/ChangeLog
+++ b/games-board/ggz-kde-client/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/ggz-kde-client
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-client/ChangeLog,v 1.4 2006/07/02 14:56:54 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-client/ChangeLog,v 1.5 2006/10/17 00:26:16 nyhm Exp $
+
+*ggz-kde-client-0.0.13 (17 Oct 2006)
+
+ 17 Oct 2006; Tristan Heaven <nyhm@gentoo.org>
+ +files/ggz-kde-client-0.0.13-defines.patch, +ggz-kde-client-0.0.13.ebuild:
+ Version bump, bug #94369
02 Jul 2006; Lars Weiler <pylon@gentoo.org> ggz-kde-client-0.0.9.ebuild:
Stable on ppc; bug #138482.
diff --git a/games-board/ggz-kde-client/files/digest-ggz-kde-client-0.0.13 b/games-board/ggz-kde-client/files/digest-ggz-kde-client-0.0.13
new file mode 100644
index 000000000000..a9e4c6af5f83
--- /dev/null
+++ b/games-board/ggz-kde-client/files/digest-ggz-kde-client-0.0.13
@@ -0,0 +1,3 @@
+MD5 ea112d9773be8d0025de6c7c18ceee66 ggz-kde-client-0.0.13.tar.gz 1746272
+RMD160 7c461102ddd8980085ba2f8f4440f98c56513def ggz-kde-client-0.0.13.tar.gz 1746272
+SHA256 c8da2b970825dc9474c49a03a09d83499f1f38cfb56e2e9614c20d30160d381e ggz-kde-client-0.0.13.tar.gz 1746272
diff --git a/games-board/ggz-kde-client/files/ggz-kde-client-0.0.13-defines.patch b/games-board/ggz-kde-client/files/ggz-kde-client-0.0.13-defines.patch
new file mode 100644
index 000000000000..b67cd98dfd62
--- /dev/null
+++ b/games-board/ggz-kde-client/files/ggz-kde-client-0.0.13-defines.patch
@@ -0,0 +1,15 @@
+--- ggz-kde/src/KGGZCommon.h
++++ ggz-kde/src/KGGZCommon.h
+@@ -83,12 +83,6 @@
+ //#ifndef __USE_ISO9CX
+ // #define __USE_ISO9CX
+ //#endif
+- #ifndef atoll
+- #define atoll(x) atol(x)
+- #endif
+- #ifndef strdup
+- #define strdup(x) strcpy(((char*)malloc(strlen(x) + 1)), x)
+- #endif
+ #else
+ #define KGGZDEBUGF(fmt, args...) printf("KGGZ >> " fmt, ##args)
+ #define KGGZDEBUG(fmt, args...) printf(">>> " fmt, ##args)
diff --git a/games-board/ggz-kde-client/ggz-kde-client-0.0.13.ebuild b/games-board/ggz-kde-client/ggz-kde-client-0.0.13.ebuild
new file mode 100644
index 000000000000..f2e453aa64cb
--- /dev/null
+++ b/games-board/ggz-kde-client/ggz-kde-client-0.0.13.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-client/ggz-kde-client-0.0.13.ebuild,v 1.1 2006/10/17 00:26:16 nyhm Exp $
+
+inherit eutils kde-functions multilib games
+
+DESCRIPTION="The KDE client for GGZ Gaming Zone"
+HOMEPAGE="http://www.ggzgamingzone.org/"
+SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz
+ http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+RESTRICT="userpriv"
+
+DEPEND="~dev-games/ggz-client-libs-${PV}"
+
+need-kde 3
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i 's:$(prefix)/share:$(datadir):' \
+ ggz-kde/ggzcore++/doc/{,html/}Makefile.in \
+ || die "sed failed"
+ epatch "${FILESDIR}"/${P}-defines.patch
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --libdir=/usr/$(get_libdir) \
+ --datadir=/usr/share \
+ --disable-debug \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS *.GGZ README TODO
+ prepgamesdirs
+}