Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-games/irrlicht: ChangeLog irrlicht-1.8.1.ebuild
Date: Thu, 21 Nov 2013 21:44:19
Message-Id: 20131121214414.6497A2004E@flycatcher.gentoo.org
1 hasufell 13/11/21 21:44:14
2
3 Modified: ChangeLog
4 Added: irrlicht-1.8.1.ebuild
5 Log:
6 version bump wrt #492228
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.69 dev-games/irrlicht/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/irrlicht/ChangeLog?rev=1.69&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/irrlicht/ChangeLog?rev=1.69&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/irrlicht/ChangeLog?r1=1.68&r2=1.69
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v
20 retrieving revision 1.68
21 retrieving revision 1.69
22 diff -u -r1.68 -r1.69
23 --- ChangeLog 8 Mar 2013 14:13:17 -0000 1.68
24 +++ ChangeLog 21 Nov 2013 21:44:14 -0000 1.69
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-games/irrlicht
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.68 2013/03/08 14:13:17 hasufell Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.69 2013/11/21 21:44:14 hasufell Exp $
30 +
31 +*irrlicht-1.8.1 (21 Nov 2013)
32 +
33 + 21 Nov 2013; Julian Ospald <hasufell@g.o> +irrlicht-1.8.1.ebuild,
34 + +files/irrlicht-1.8.1-config.patch, +files/irrlicht-1.8.1-demoMake.patch,
35 + +files/irrlicht-1.8.1-gentoo.patch:
36 + version bump wrt #492228
37
38 08 Mar 2013; Julian Ospald <hasufell@g.o> -irrlicht-1.8-r1.ebuild,
39 -files/irrlicht-1.8-gentoo.patch:
40
41
42
43 1.1 dev-games/irrlicht/irrlicht-1.8.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/irrlicht/irrlicht-1.8.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/irrlicht/irrlicht-1.8.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: irrlicht-1.8.1.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/irrlicht-1.8.1.ebuild,v 1.1 2013/11/21 21:44:14 hasufell Exp $
53
54 EAPI=5
55 inherit eutils multilib toolchain-funcs
56
57 DESCRIPTION="open source high performance realtime 3D engine written in C++"
58 HOMEPAGE="http://irrlicht.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/irrlicht/${P}.zip"
60
61 LICENSE="ZLIB"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="debug doc static-libs"
65
66 RDEPEND="virtual/jpeg
67 media-libs/libpng:0
68 app-arch/bzip2
69 sys-libs/zlib
70 virtual/opengl
71 x11-libs/libX11
72 x11-libs/libXxf86vm"
73 DEPEND="${RDEPEND}
74 app-arch/unzip
75 x11-proto/xproto
76 x11-proto/xf86vidmodeproto"
77
78 S=${WORKDIR}/${P}/source/Irrlicht
79
80 src_prepare() {
81 cd "${WORKDIR}"/${P} || die
82 edos2unix include/IrrCompileConfig.h
83
84 epatch \
85 "${FILESDIR}"/${P}-gentoo.patch \
86 "${FILESDIR}"/${P}-config.patch \
87 "${FILESDIR}"/${P}-demoMake.patch
88
89 sed -i \
90 -e 's:\.\./\.\./media:../media:g' \
91 $(grep -rl '\.\./\.\./media' examples) \
92 || die 'sed failed'
93 }
94
95 src_compile() {
96 tc-export CXX CC AR
97 emake NDEBUG=$(usex debug "" "1") sharedlib $(usex static-libs "staticlib" "")
98 }
99
100 src_install() {
101 cd "${WORKDIR}"/${P} || die
102
103 use static-libs && dolib.a lib/Linux/libIrrlicht.a
104 dolib.so lib/Linux/libIrrlicht.so*
105
106 # create library symlinks
107 dosym libIrrlicht.so.1.8.0 /usr/$(get_libdir)/libIrrlicht.so.1.8
108 dosym libIrrlicht.so.1.8.0 /usr/$(get_libdir)/libIrrlicht.so
109
110 insinto /usr/include/${PN}
111 doins include/*
112
113 dodoc changes.txt readme.txt
114 if use doc ; then
115 insinto /usr/share/doc/${PF}
116 doins -r examples media
117 fi
118 }