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.ebuild
Date: Fri, 30 Nov 2007 16:17:14
Message-Id: E1Iy8Y7-00034j-Ee@stork.gentoo.org
1 nyhm 07/11/30 16:17:07
2
3 Modified: ChangeLog
4 Added: irrlicht-1.4.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4_rc4)
8
9 Revision Changes Path
10 1.23 dev-games/irrlicht/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/ChangeLog?rev=1.23&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/ChangeLog?rev=1.23&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/ChangeLog?r1=1.22&r2=1.23
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v
19 retrieving revision 1.22
20 retrieving revision 1.23
21 diff -u -r1.22 -r1.23
22 --- ChangeLog 23 Jul 2007 19:50:02 -0000 1.22
23 +++ ChangeLog 30 Nov 2007 16:17:06 -0000 1.23
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-games/irrlicht
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.22 2007/07/23 19:50:02 nyhm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.23 2007/11/30 16:17:06 nyhm Exp $
29 +
30 +*irrlicht-1.4 (30 Nov 2007)
31 +
32 + 30 Nov 2007; Tristan Heaven <nyhm@g.o>
33 + +files/irrlicht-1.4-config.patch, +files/irrlicht-1.4-demoMake.patch,
34 + +irrlicht-1.4.ebuild:
35 + Version bump
36
37 *irrlicht-1.3.1 (23 Jul 2007)
38
39
40
41
42 1.1 dev-games/irrlicht/irrlicht-1.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/irrlicht-1.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/irrlicht-1.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: irrlicht-1.4.ebuild
48 ===================================================================
49 # Copyright 1999-2007 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.ebuild,v 1.1 2007/11/30 16:17:06 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 }
108
109
110
111 --
112 gentoo-commits@g.o mailing list