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 media-libs/ftgl: ChangeLog ftgl-2.1.2-r2.ebuild
Date: Sat, 05 Jan 2008 01:15:08
Message-Id: E1JAxct-0003hz-8o@stork.gentoo.org
1 mr_bones_ 08/01/05 01:15:03
2
3 Modified: ChangeLog
4 Added: ftgl-2.1.2-r2.ebuild
5 Log:
6 add patch from Cedric Pinson to correct version in .pc file (bug #171047)
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.20 media-libs/ftgl/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ftgl/ChangeLog?rev=1.20&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ftgl/ChangeLog?rev=1.20&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ftgl/ChangeLog?r1=1.19&r2=1.20
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/ftgl/ChangeLog,v
19 retrieving revision 1.19
20 retrieving revision 1.20
21 diff -u -r1.19 -r1.20
22 --- ChangeLog 27 Dec 2007 06:52:37 -0000 1.19
23 +++ ChangeLog 5 Jan 2008 01:15:02 -0000 1.20
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-libs/ftgl
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/ftgl/ChangeLog,v 1.19 2007/12/27 06:52:37 mr_bones_ Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/ftgl/ChangeLog,v 1.20 2008/01/05 01:15:02 mr_bones_ Exp $
30 +
31 +*ftgl-2.1.2-r2 (05 Jan 2008)
32 +
33 + 05 Jan 2008; Michael Sterrett <mr_bones_@g.o>
34 + +files/ftgl-2.1.2-configure.ac.patch, +files/ftgl-2.1.2-ftgl.pc.in.patch,
35 + +ftgl-2.1.2-r2.ebuild:
36 + add patch from Cedric Pinson to correct version in .pc file (bug #171047)
37
38 27 Dec 2007; Michael Sterrett <mr_bones_@g.o> ftgl-2.1.2-r1.ebuild:
39 license should have been LGPL-2 (bug #174440)
40
41
42
43 1.1 media-libs/ftgl/ftgl-2.1.2-r2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ftgl/ftgl-2.1.2-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/ftgl/ftgl-2.1.2-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ftgl-2.1.2-r2.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/media-libs/ftgl/ftgl-2.1.2-r2.ebuild,v 1.1 2008/01/05 01:15:02 mr_bones_ Exp $
53
54 WANT_AUTOMAKE=latest
55 WANT_AUTOCONF=latest
56 inherit eutils flag-o-matic autotools
57
58 DESCRIPTION="library to use arbitrary fonts in OpenGL applications"
59 HOMEPAGE="http://homepages.paradise.net.nz/henryj/code/#FTGL"
60 SRC_URI="http://opengl.geek.nz/ftgl/${P}.tar.gz"
61
62 LICENSE="LGPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65 IUSE=""
66
67 DEPEND=">=media-libs/freetype-2.0.9
68 virtual/opengl
69 virtual/glut"
70 RDEPEND="${DEPEND}"
71
72 S=${WORKDIR}/FTGL/unix
73
74 src_unpack() {
75 unpack ${A}
76
77 # Use the correct includedir for pkg-config
78 epatch \
79 "${FILESDIR}"/${P}-ftgl.pc.in.patch \
80 "${FILESDIR}"/${P}-gcc41.patch \
81 "${FILESDIR}"/${P}-configure.ac.patch
82 if ! has_version app-doc/doxygen ; then
83 cd FTGL/docs
84 tar xzf html.tar.gz || die "unpack html.tar.gz"
85 ln -fs ../../docs/html "${S}/docs"
86 fi
87 sed -i \
88 -e "s:\((PACKAGE_NAME)\):\1-${PVR}:g" "${S}"/docs/Makefile \
89 || die "sed failed"
90 sed -i \
91 -e "s: \\$:\t\\$:g" "${S}"/src/Makefile \
92 || die "sed failed"
93
94 cd "${S}"
95 AT_M4DIR=m4 eautoreconf
96 }
97
98 src_compile() {
99 strip-flags # ftgl is sensitive - bug #112820
100 econf \
101 --enable-shared \
102 || die
103 emake || die
104 }
105
106 src_install() {
107 einstall || die
108 dodoc README.txt
109 }
110
111
112
113 --
114 gentoo-commits@g.o mailing list