summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-05-11 02:50:38 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-05-11 02:50:38 +0000
commit83741d62ea7537d6e49e040371dbb7655f3ad571 (patch)
tree1d885574a3cbfdb517ab58d50f192224db0adf31 /dev-games/clanlib
parentfixed gtk+-2.4 compilation issues (diff)
downloadhistorical-83741d62ea7537d6e49e040371dbb7655f3ad571.tar.gz
historical-83741d62ea7537d6e49e040371dbb7655f3ad571.tar.bz2
historical-83741d62ea7537d6e49e040371dbb7655f3ad571.zip
version bump (bug #50686)
Diffstat (limited to 'dev-games/clanlib')
-rw-r--r--dev-games/clanlib/ChangeLog7
-rw-r--r--dev-games/clanlib/Manifest13
-rw-r--r--dev-games/clanlib/clanlib-0.7.8.ebuild81
-rw-r--r--dev-games/clanlib/files/0.7.8-port.patch11
-rw-r--r--dev-games/clanlib/files/digest-clanlib-0.7.81
5 files changed, 107 insertions, 6 deletions
diff --git a/dev-games/clanlib/ChangeLog b/dev-games/clanlib/ChangeLog
index 0f588f222290..287d2bc2d058 100644
--- a/dev-games/clanlib/ChangeLog
+++ b/dev-games/clanlib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-games/clanlib
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.13 2004/04/29 19:57:10 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.14 2004/05/11 02:50:38 mr_bones_ Exp $
+
+*clanlib-0.7.8 (10 May 2004)
+
+ 10 May 2004; Michael Sterrett <mr_bones_@gentoo.org> clanlib-0.7.8.ebuild:
+ version bump (bug #50686)
29 Apr 2004; Aron Griffis <agriffis@gentoo.org> clanlib-0.6.5-r1.ebuild,
clanlib-0.7.7.ebuild:
diff --git a/dev-games/clanlib/Manifest b/dev-games/clanlib/Manifest
index 322e03700184..343cc2bfde9a 100644
--- a/dev-games/clanlib/Manifest
+++ b/dev-games/clanlib/Manifest
@@ -1,11 +1,14 @@
+MD5 ae0c4a0282f944be68d1b7051c206f3c ChangeLog 4233
MD5 92cea8f867360c1136f45477e205ef43 clanlib-0.6.5-r1.ebuild 1957
+MD5 7432ad61decc2e32f66fd38446f59aff clanlib-0.7.8.ebuild 2328
MD5 2824d8fc7f285fdf00bd6b4629399598 clanlib-0.7.7.ebuild 2165
-MD5 3d68b44b399f4331e2c83e24a5ced3a2 ChangeLog 4096
MD5 33ee8adc6546aef9881086d98bfadb79 metadata.xml 3010
+MD5 940618fa67a1354533249defe3a89739 files/0.7.8-port.patch 305
+MD5 bc345d3a4ee0ea2456a34e07440f64a1 files/0.6.5-gcc3.patch 1518
+MD5 940618fa67a1354533249defe3a89739 files/0.7.6-port.patch 305
MD5 26dcf3921a83e1671ba72cd1ee82c6ed files/clanlib-config 580
+MD5 96c4aa6ca05f84d43464c80d9e7565d9 files/digest-clanlib-0.7.8 69
+MD5 15f71a052d34aa42549c5ff3b6cf53ee files/0.7.7-gl-prototype.patch 569
MD5 3e439d751339f684be1c709644d71a4d files/digest-clanlib-0.6.5-r1 68
-MD5 940618fa67a1354533249defe3a89739 files/0.7.6-port.patch 305
-MD5 b9b3a8d6abbc0d37df1a96c3b1f3c3fc files/digest-clanlib-0.7.7 69
MD5 940618fa67a1354533249defe3a89739 files/0.7.7-port.patch 305
-MD5 15f71a052d34aa42549c5ff3b6cf53ee files/0.7.7-gl-prototype.patch 569
-MD5 bc345d3a4ee0ea2456a34e07440f64a1 files/0.6.5-gcc3.patch 1518
+MD5 b9b3a8d6abbc0d37df1a96c3b1f3c3fc files/digest-clanlib-0.7.7 69
diff --git a/dev-games/clanlib/clanlib-0.7.8.ebuild b/dev-games/clanlib/clanlib-0.7.8.ebuild
new file mode 100644
index 000000000000..02de70a54f60
--- /dev/null
+++ b/dev-games/clanlib/clanlib-0.7.8.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/clanlib-0.7.8.ebuild,v 1.1 2004/05/11 02:50:38 mr_bones_ Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="multi-platform game development library"
+HOMEPAGE="http://www.clanlib.org/"
+SRC_URI="http://www.clanlib.org/~sphair/download/ClanLib-${PV}-1.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0.7"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE="opengl X sdl oggvorbis doc mikmod clanVoice clanJavaScript ipv6"
+
+RDEPEND=">=media-libs/hermes-1.3.2
+ media-libs/libpng
+ media-libs/jpeg
+ opengl? ( virtual/opengl )
+ sdl? ( media-libs/libsdl )
+ X? ( virtual/x11 )
+ mikmod? ( >=media-libs/libmikmod-3.1.9 )
+ oggvorbis? ( media-libs/libvorbis )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+S="${WORKDIR}/ClanLib-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ find . -name .cvsignore -exec rm -f \{\} \;
+ epatch "${FILESDIR}/${PV}-port.patch"
+ if ! use doc ; then
+ sed -i \
+ -e '/^SUBDIRS/s:Documentation::' Makefile.in \
+ || die "sed Makefile.in failed"
+ fi
+}
+
+src_compile() {
+ #clanSound only controls mikmod/vorbis so there's
+ # no need to pass --{en,dis}able-clanSound ...
+ #clanDisplay only controls X, SDL, OpenGL plugins
+ # so no need to pass --{en,dis}able-clanDisplay
+ # also same reason why we don't have to use clanGUI
+ econf \
+ --libdir="/usr/lib/${P}" \
+ --enable-dyn \
+ --enable-clanNetwork \
+ --disable-dependency-tracking \
+ $(use_enable x86 asm386) \
+ $(use_enable doc docs) \
+ $(use_enable clanVoice) \
+ $(use_enable clanJavaScript) \
+ $(use_enable opengl clanGL) \
+ $(use_enable sdl clanSDL) \
+ $(use_enable oggvorbis clanVorbis) \
+ $(use_enable mikmod clanMikMod) \
+ $(use_enable ipv6 getaddr) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ if use doc ; then
+ dodir "/usr/share/doc/${PF}/html"
+ mv "${D}/usr/share/doc/clanlib/"* "${D}/usr/share/doc/${PF}/html/"
+ rm -rf "${D}/usr/share/doc/clanlib"
+ cp -r Examples "${D}/usr/share/doc/${PF}/"
+ fi
+ mv "${D}"/usr/include/{ClanLib-*/ClanLib,"${P}"}
+ rm -rf "${D}/usr/include/ClanLib-"*
+ dobin "${FILESDIR}/clanlib-config"
+ dodoc CODING_STYLE CREDITS NEWS PATCHES README* INSTALL.linux
+}
+
+pkg_postinst() {
+ clanlib-config "${PV}"
+}
diff --git a/dev-games/clanlib/files/0.7.8-port.patch b/dev-games/clanlib/files/0.7.8-port.patch
new file mode 100644
index 000000000000..a1da63f81147
--- /dev/null
+++ b/dev-games/clanlib/files/0.7.8-port.patch
@@ -0,0 +1,11 @@
+--- Sources/Network/Socket/ip_address_getsock.h.orig 2003-11-15 17:33:34.075094400 -0500
++++ Sources/Network/Socket/ip_address_getsock.h 2003-11-15 17:33:39.688241072 -0500
+@@ -105,7 +105,7 @@
+ unsigned int ip;
+
+ // IP port in host byte order.
+- unsigned short port;
++ unsigned int port;
+ };
+
+ #endif
diff --git a/dev-games/clanlib/files/digest-clanlib-0.7.8 b/dev-games/clanlib/files/digest-clanlib-0.7.8
new file mode 100644
index 000000000000..e274dd29062d
--- /dev/null
+++ b/dev-games/clanlib/files/digest-clanlib-0.7.8
@@ -0,0 +1 @@
+MD5 c034e1cf0485cdc377e1e4e83f99640b ClanLib-0.7.8-1.tar.bz2 6567261