Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-games/irrlicht: ChangeLog irrlicht-1.5.1.ebuild
Date: Wed, 05 Aug 2009 16:51:38
Message-Id: E1MYjiC-0008Lh-V0@stork.gentoo.org
1 mr_bones_ 09/08/05 16:51:36
2
3 Modified: ChangeLog
4 Added: irrlicht-1.5.1.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.6.13/cvs/Linux i686)
8
9 Revision Changes Path
10 1.32 dev-games/irrlicht/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/ChangeLog?rev=1.32&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/ChangeLog?rev=1.32&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/ChangeLog?r1=1.31&r2=1.32
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v
19 retrieving revision 1.31
20 retrieving revision 1.32
21 diff -u -r1.31 -r1.32
22 --- ChangeLog 17 Jan 2009 14:36:56 -0000 1.31
23 +++ ChangeLog 5 Aug 2009 16:51:36 -0000 1.32
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-games/irrlicht
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.31 2009/01/17 14:36:56 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.32 2009/08/05 16:51:36 mr_bones_ Exp $
29 +
30 +*irrlicht-1.5.1 (05 Aug 2009)
31 +
32 + 05 Aug 2009; Michael Sterrett <mr_bones_@g.o>
33 + +irrlicht-1.5.1.ebuild, +files/irrlicht-1.5.1-config.patch,
34 + +files/irrlicht-1.5.1-demoMake.patch:
35 + version bump
36
37 17 Jan 2009; nixnut <nixnut@g.o> irrlicht-1.5.ebuild:
38 ppc stable #253659
39
40
41
42 1.1 dev-games/irrlicht/irrlicht-1.5.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/irrlicht-1.5.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/irrlicht/irrlicht-1.5.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: irrlicht-1.5.1.ebuild
48 ===================================================================
49 # Copyright 1999-2009 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.5.1.ebuild,v 1.1 2009/08/05 16:51:36 mr_bones_ Exp $
52
53 EAPI=2
54 inherit eutils toolchain-funcs
55
56 DESCRIPTION="open source high performance realtime 3D engine written in C++"
57 HOMEPAGE="http://irrlicht.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
59
60 LICENSE="ZLIB"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="doc"
64
65 RDEPEND="media-libs/jpeg
66 media-libs/libpng
67 virtual/opengl
68 virtual/glu
69 x11-libs/libX11"
70 DEPEND="${RDEPEND}
71 app-arch/unzip
72 x11-proto/xproto
73 x11-proto/xf86vidmodeproto"
74
75 S=${WORKDIR}/${P}/source/Irrlicht
76
77 src_prepare() {
78 cd "${WORKDIR}"/${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 }