diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2003-09-07 14:24:43 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2003-09-07 14:24:43 +0000 |
commit | 921f7093576ae74e2a009d2e658b6aec9164bf11 (patch) | |
tree | 23fbc68f4e4d38b9306cec2157a6cfc33b961d0d /dev-games | |
parent | New upstream version. (diff) | |
download | gentoo-2-921f7093576ae74e2a009d2e658b6aec9164bf11.tar.gz gentoo-2-921f7093576ae74e2a009d2e658b6aec9164bf11.tar.bz2 gentoo-2-921f7093576ae74e2a009d2e658b6aec9164bf11.zip |
New upstream version.
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/clanlib/ChangeLog | 9 | ||||
-rw-r--r-- | dev-games/clanlib/Manifest | 6 | ||||
-rw-r--r-- | dev-games/clanlib/clanlib-0.7.3.ebuild | 80 | ||||
-rw-r--r-- | dev-games/clanlib/files/clanlib-config-0.7.in | 28 | ||||
-rw-r--r-- | dev-games/clanlib/files/digest-clanlib-0.7.3 | 1 |
5 files changed, 120 insertions, 4 deletions
diff --git a/dev-games/clanlib/ChangeLog b/dev-games/clanlib/ChangeLog index 14c67c4b7ce6..fd589f94736e 100644 --- a/dev-games/clanlib/ChangeLog +++ b/dev-games/clanlib/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-games/clanlib # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.4 2003/09/02 16:06:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.5 2003/09/07 14:24:33 karltk Exp $ + +*clanlib-0.7.3 (07 Sep 2003) + + 07 Sep 2003; Karl Trygve Kalleberg <karltk@gentoo.org> + clanlib-0.7.3.ebuild: + New upstream version. Reworked clanlib-config slightly. More specific + SLOTing, as upstream is very unstable. *clanlib-0.7.2-r1 (16 Jul 2003) diff --git a/dev-games/clanlib/Manifest b/dev-games/clanlib/Manifest index 63128a491b25..15de558061c0 100644 --- a/dev-games/clanlib/Manifest +++ b/dev-games/clanlib/Manifest @@ -1,5 +1,5 @@ -MD5 ca0e6fd811b998e111fd99ffae13d77e ChangeLog 2926 -MD5 62c2bd38c15c7bab966df4896f9b5e27 clanlib-0.7.3.ebuild 2028 +MD5 b963af2468fd528182c8fd141f8b90f7 ChangeLog 3153 +MD5 80edec9c7b49aa605d2d124760ecfdc3 clanlib-0.7.3.ebuild 2287 MD5 03cbccb6c4090d5be3b53e08c878232f clanlib-0.6.5.ebuild 1819 MD5 896de8fa3660ab63de3ca6e3f3a3c63c clanlib-0.6.5-r1.ebuild 1826 MD5 e7a1f3bc72ec1c7b2ba485f7d34cdfab clanlib-0.7.2-r1.ebuild 1812 @@ -10,4 +10,4 @@ MD5 bc345d3a4ee0ea2456a34e07440f64a1 files/0.6.5-gcc3.patch 1518 MD5 26dcf3921a83e1671ba72cd1ee82c6ed files/clanlib-config 580 MD5 3e439d751339f684be1c709644d71a4d files/digest-clanlib-0.6.5-r1 68 MD5 4e2de6bff20d9fd5f2df68d686773d03 files/0.7.2-gcc3.patch 422 -MD5 0037c560d9d2daa632005b978e892402 files/clanlib-config-0.7.3 729 +MD5 af53cae04024e14d32df343a2cd6f66c files/clanlib-config-0.7.in 542 diff --git a/dev-games/clanlib/clanlib-0.7.3.ebuild b/dev-games/clanlib/clanlib-0.7.3.ebuild new file mode 100644 index 000000000000..dc6e79776efd --- /dev/null +++ b/dev-games/clanlib/clanlib-0.7.3.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2003 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.3.ebuild,v 1.1 2003/09/07 14:24:33 karltk Exp $ + +inherit flag-o-matic +replace-flags -O? -O2 + +DESCRIPTION="multi-platform game development library" +HOMEPAGE="http://www.clanlib.org/" +SRC_URI="http://www.clanlib.org/~sphair/download/ClanLib-${PV}-3.tar.bz2" + +LICENSE="LGPL-2" +# 2003-09-07: karltk +# NOTE! According to the ClanLib developers, 0.<odd> are always unstable, +# so we must slot major.minor.patch +SLOT="0.7.3" +KEYWORDS="~x86" +IUSE="arts oss esd alsa png opengl truetype X oggvorbis mikmod jpeg directfb joystick" + +DEPEND=">=media-libs/hermes-1.3.2 + media-libs/libpng + >=media-libs/jpeg-6b + || ( + opengl? ( virtual/opengl ) + >=media-libs/libsdl-1.2.5 + ) + X? ( virtual/x11 ) + mikmod? ( >=media-libs/libmikmod-3.1.9 ) + truetype? ( >=media-libs/freetype-2.0 ) + directfb? ( dev-libs/DirectFB ) + oggvorbis? ( media-libs/libvorbis )" + + +S=${WORKDIR}/ClanLib-${PV} + +src_compile() { + local myconf="" + + use alsa || use oss || use esd || use arts \ + && myconf="${myconf} --enable-clanSound" \ + || myconf="${myconf} --disable-clanSound" + use opengl && myconf="${myconf} --enable-clanGL --disable-clanSDL" \ + || myconf="${myconf} --enable-clanSDL --disable-clanGL" + + WANT_AUTOMAKE=1.6 ./autogen.sh + + econf \ + --libdir=/usr/lib/${P} \ + --enable-network \ + --enable-asm386 \ + --enable-dyn \ + --disable-clanVoice \ + --disable-clanJavaScript \ + --enable-clanDisplay \ + --enable-clanNetwork \ + --enable-clanGUI \ + `use_enable X x11` \ + `use_enable directfb` \ + `use_enable oggvorbis clanVorbis` \ + `use_enable mikmod clanMikMod` \ + `use_enable joystick` \ + --enable-vidmode \ + --enable-getaddr \ + ${myconf} || die + + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + 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 + mv ${D}/usr/include/{ClanLib,${PF}} + dodoc CODING_STYLE CREDITS NEWS PATCHES README* INSTALL.* + dosym /usr/include/${PF} /usr/include/ClanLib + dodir /usr/bin + echo ${FILESDIR}/clanlib-config-0.7.in | sed "s/@VERSION@/${PF}/" \ + > ${D}/usr/bin/clanlib-config +} diff --git a/dev-games/clanlib/files/clanlib-config-0.7.in b/dev-games/clanlib/files/clanlib-config-0.7.in new file mode 100644 index 000000000000..114965a78e6a --- /dev/null +++ b/dev-games/clanlib/files/clanlib-config-0.7.in @@ -0,0 +1,28 @@ +#!/bin/sh +# Copyright (c) 2003 Gentoo Technologies, Inc. +# Copyright (c) 2003 Karl Trygve Kalleberg <karltk@gentoo.org> +# +# Derived from vapier's clanlib-update + +VERSION=@VERSION@ + +if [ ! "`ls /usr/lib/clanlib-* 2> /dev/null`" ] ; then + echo "No installed versions of ClanLib detected!" + exit 1 +fi + +showusage() { + echo "Usage: clanlib-config [options]" + echo "Options: " + echo " [--libs]" + echo " [--version]" +} + +[ -z "${1}" ] && showusage + +case ${1} in + --lib-path) + echo /usr/lib/clanlib-${VERSION} + ;; + --version) + echo ${VERSION} diff --git a/dev-games/clanlib/files/digest-clanlib-0.7.3 b/dev-games/clanlib/files/digest-clanlib-0.7.3 new file mode 100644 index 000000000000..093cf3ae0726 --- /dev/null +++ b/dev-games/clanlib/files/digest-clanlib-0.7.3 @@ -0,0 +1 @@ +MD5 a15af474b631e7ba1eea4f3676b93335 ClanLib-0.7.3-3.tar.bz2 3383949 |