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/irrlicht: ChangeLog irrlicht-1.4.2.ebuild
Date: Thu, 09 Oct 2008 06:25:54
Message-Id: E1Knoy7-000256-0k@stork.gentoo.org
1 nyhm 08/10/09 06:25:51
2
3 Modified: ChangeLog
4 Added: irrlicht-1.4.2.ebuild
5 Log:
6 Version bump, bug #239029
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.26.5 x86_64)
8
9 Revision Changes Path
10 1.28 dev-games/irrlicht/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/ChangeLog?rev=1.28&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/ChangeLog?rev=1.28&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/ChangeLog?r1=1.27&r2=1.28
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v
19 retrieving revision 1.27
20 retrieving revision 1.28
21 diff -u -r1.27 -r1.28
22 --- ChangeLog 4 Jun 2008 08:26:15 -0000 1.27
23 +++ ChangeLog 9 Oct 2008 06:25:50 -0000 1.28
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-games/irrlicht
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.27 2008/06/04 08:26:15 nyhm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.28 2008/10/09 06:25:50 nyhm Exp $
29 +
30 +*irrlicht-1.4.2 (09 Oct 2008)
31 +
32 + 09 Oct 2008; Tristan Heaven <nyhm@g.o>
33 + +files/irrlicht-1.4.2-config.patch, +files/irrlicht-1.4.2-demoMake.patch,
34 + +irrlicht-1.4.2.ebuild:
35 + Version bump, bug #239029
36
37 *irrlicht-1.4.1 (04 Jun 2008)
38
39
40
41
42 1.1 dev-games/irrlicht/irrlicht-1.4.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/irrlicht-1.4.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/irrlicht-1.4.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: irrlicht-1.4.2.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/irrlicht-1.4.2.ebuild,v 1.1 2008/10/09 06:25:50 nyhm Exp $
52
53 inherit eutils
54
55 DESCRIPTION="open source high performance realtime 3D engine written in C++"
56 HOMEPAGE="http://irrlicht.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
58
59 LICENSE="ZLIB"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE="doc"
63
64 RDEPEND="media-libs/jpeg
65 media-libs/libpng
66 virtual/opengl
67 virtual/glu
68 x11-libs/libX11"
69 DEPEND="${RDEPEND}
70 app-arch/unzip
71 x11-proto/xproto
72 x11-proto/xf86vidmodeproto"
73
74 S=${WORKDIR}/${P}/source/Irrlicht
75
76 src_unpack() {
77 unpack ${A}
78 cd ${P}
79 epatch \
80 "${FILESDIR}"/${P}-config.patch \
81 "${FILESDIR}"/${P}-demoMake.patch
82
83 cd "${S}"
84 sed -i \
85 -e '/^CXXFLAGS/s:=:+=:' \
86 -e '/^CXXINCS/s:-Izlib -Ijpeglib -Ilibpng::' \
87 -e '/^ZLIBOBJ/d' \
88 -e '/^JPEGLIBOBJ/d' \
89 -e '/^LIBPNGOBJ/d' \
90 Makefile || die "sed failed"
91 }
92
93 src_compile() {
94 emake CXX="$(tc-getCXX)" || die "emake failed"
95 }
96
97 src_install() {
98 cd ../..
99 dolib.a lib/Linux/libIrrlicht.a || die "dolib.a failed"
100 insinto /usr/include/${PN}
101 doins include/* || die "doins failed"
102 dodoc changes.txt readme.txt
103 if use doc ; then
104 insinto /usr/share/doc/${PF}
105 doins -r examples media || die "doins failed"
106 fi
107 }