Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-games/clanlib: ChangeLog clanlib-0.8.1.ebuild
Date: Wed, 30 Apr 2008 20:03:51
Message-Id: E1JrIWZ-0006bQ-6s@stork.gentoo.org
1 nyhm 08/04/30 20:03:31
2
3 Modified: ChangeLog
4 Added: clanlib-0.8.1.ebuild
5 Log:
6 Version bump, bug #214860
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.41 dev-games/clanlib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/clanlib/ChangeLog?rev=1.41&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/clanlib/ChangeLog?rev=1.41&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/clanlib/ChangeLog?r1=1.40&r2=1.41
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v
19 retrieving revision 1.40
20 retrieving revision 1.41
21 diff -u -r1.40 -r1.41
22 --- ChangeLog 29 Oct 2007 22:07:43 -0000 1.40
23 +++ ChangeLog 30 Apr 2008 20:03:30 -0000 1.41
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-games/clanlib
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.40 2007/10/29 22:07:43 mr_bones_ Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.41 2008/04/30 20:03:30 nyhm Exp $
30 +
31 +*clanlib-0.8.1 (30 Apr 2008)
32 +
33 + 30 Apr 2008; Tristan Heaven <nyhm@g.o>
34 + +files/clanlib-0.8.1-gcc43.patch, +files/clanlib-0.8.1-ndebug.patch,
35 + +clanlib-0.8.1.ebuild:
36 + Version bump, bug #214860
37
38 29 Oct 2007; Michael Sterrett <mr_bones_@g.o>
39 +files/clanlib-0.7.8-ndebug.patch, +files/clanlib-0.8.0-ndebug.patch,
40
41
42
43 1.1 dev-games/clanlib/clanlib-0.8.1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/clanlib/clanlib-0.8.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/clanlib/clanlib-0.8.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: clanlib-0.8.1.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/clanlib-0.8.1.ebuild,v 1.1 2008/04/30 20:03:30 nyhm Exp $
53
54 inherit flag-o-matic eutils
55
56 DESCRIPTION="multi-platform game development library"
57 HOMEPAGE="http://www.clanlib.org/"
58 SRC_URI="http://clanlib.org/download/releases-${PV:0:3}/ClanLib-${PV}.tgz"
59
60 LICENSE="ZLIB"
61 SLOT="0.8"
62 KEYWORDS="~amd64 ~x86" #not big endian safe #82779
63 IUSE="opengl sdl vorbis doc mikmod ipv6"
64
65 # opengl keyword does not drop the GL/GLU requirement.
66 # Autoconf files need to be fixed
67 RDEPEND="media-libs/libpng
68 media-libs/jpeg
69 virtual/opengl
70 virtual/glu
71 sdl? (
72 media-libs/libsdl
73 media-libs/sdl-gfx
74 )
75 x11-libs/libXt
76 x11-libs/libXmu
77 x11-libs/libXxf86vm
78 mikmod? ( media-libs/libmikmod )
79 vorbis? ( media-libs/libvorbis )"
80 DEPEND="${RDEPEND}
81 x11-proto/xf86vidmodeproto"
82
83 S=${WORKDIR}/ClanLib-${PV}
84
85 src_unpack() {
86 unpack ${A}
87 cd "${S}"
88 epatch \
89 "${FILESDIR}"/${P}-ndebug.patch \
90 "${FILESDIR}"/${P}-gcc43.patch
91 }
92
93 src_compile() {
94 #clanSound only controls mikmod/vorbis so there's
95 # no need to pass --{en,dis}able-clanSound ...
96 #clanDisplay only controls X, SDL, OpenGL plugins
97 # so no need to pass --{en,dis}able-clanDisplay
98 # also same reason why we don't have to use clanGUI
99 econf \
100 --enable-dyn \
101 --enable-clanNetwork \
102 --disable-dependency-tracking \
103 $(use_enable x86 asm386) \
104 $(use_enable doc docs) \
105 $(use_enable opengl clanGL) \
106 $(use_enable sdl clanSDL) \
107 $(use_enable vorbis clanVorbis) \
108 $(use_enable mikmod clanMikMod) \
109 $(use_enable ipv6 getaddr) \
110 || die
111 emake || die "emake failed"
112 }
113
114 src_install() {
115 emake DESTDIR="${D}" install || die "emake install failed"
116 if use doc ; then
117 dodir /usr/share/doc/${PF}/html
118 mv "${D}"/usr/share/doc/clanlib/* "${D}"/usr/share/doc/${PF}/html/ || die
119 rm -rf "${D}"/usr/share/doc/clanlib
120 cp -r Examples Resources "${D}"/usr/share/doc/${PF}/ || die
121 fi
122 dodoc CODING_STYLE CREDITS NEWS PATCHES README* INSTALL.linux
123 }
124
125
126
127 --
128 gentoo-commits@l.g.o mailing list