summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/ftgl/ChangeLog11
-rw-r--r--media-libs/ftgl/Manifest23
-rw-r--r--media-libs/ftgl/files/digest-ftgl-2.1.2-r23
-rw-r--r--media-libs/ftgl/files/ftgl-2.1.2-configure.ac.patch8
-rw-r--r--media-libs/ftgl/files/ftgl-2.1.2-ftgl.pc.in.patch8
-rw-r--r--media-libs/ftgl/ftgl-2.1.2-r2.ebuild60
6 files changed, 107 insertions, 6 deletions
diff --git a/media-libs/ftgl/ChangeLog b/media-libs/ftgl/ChangeLog
index 27b46e147277..fb2579dda167 100644
--- a/media-libs/ftgl/ChangeLog
+++ b/media-libs/ftgl/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/ftgl
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ftgl/ChangeLog,v 1.19 2007/12/27 06:52:37 mr_bones_ Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ftgl/ChangeLog,v 1.20 2008/01/05 01:15:02 mr_bones_ Exp $
+
+*ftgl-2.1.2-r2 (05 Jan 2008)
+
+ 05 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/ftgl-2.1.2-configure.ac.patch, +files/ftgl-2.1.2-ftgl.pc.in.patch,
+ +ftgl-2.1.2-r2.ebuild:
+ add patch from Cedric Pinson to correct version in .pc file (bug #171047)
27 Dec 2007; Michael Sterrett <mr_bones_@gentoo.org> ftgl-2.1.2-r1.ebuild:
license should have been LGPL-2 (bug #174440)
diff --git a/media-libs/ftgl/Manifest b/media-libs/ftgl/Manifest
index a373f61815ae..c1c16dece233 100644
--- a/media-libs/ftgl/Manifest
+++ b/media-libs/ftgl/Manifest
@@ -2,6 +2,14 @@ AUX 2.1.2-ftgl.pc.in.patch 334 RMD160 7adc21f49591fce7f5ec8224aa359ed1fe470f3e S
MD5 8c117c40c473625c657ecb59b535caa1 files/2.1.2-ftgl.pc.in.patch 334
RMD160 7adc21f49591fce7f5ec8224aa359ed1fe470f3e files/2.1.2-ftgl.pc.in.patch 334
SHA256 fc5e76c57bf97204f0b3550f9ffa637bbdd11b7b140c887b5a156af8514d80b9 files/2.1.2-ftgl.pc.in.patch 334
+AUX ftgl-2.1.2-configure.ac.patch 314 RMD160 f510e3fec9fc3383f0e3c3a2f649add4591beb5c SHA1 d917aa84bf156d13e8e2ac9afd357d23fd271917 SHA256 22fe650505fc2d53a280fe856109d7138e026f9f467509ae3d762f043e2929a4
+MD5 f122c69529a6d93241b2f2a85efebdd5 files/ftgl-2.1.2-configure.ac.patch 314
+RMD160 f510e3fec9fc3383f0e3c3a2f649add4591beb5c files/ftgl-2.1.2-configure.ac.patch 314
+SHA256 22fe650505fc2d53a280fe856109d7138e026f9f467509ae3d762f043e2929a4 files/ftgl-2.1.2-configure.ac.patch 314
+AUX ftgl-2.1.2-ftgl.pc.in.patch 334 RMD160 7adc21f49591fce7f5ec8224aa359ed1fe470f3e SHA1 d3f8cb465662e833197678cd16dfde37d57876d4 SHA256 fc5e76c57bf97204f0b3550f9ffa637bbdd11b7b140c887b5a156af8514d80b9
+MD5 8c117c40c473625c657ecb59b535caa1 files/ftgl-2.1.2-ftgl.pc.in.patch 334
+RMD160 7adc21f49591fce7f5ec8224aa359ed1fe470f3e files/ftgl-2.1.2-ftgl.pc.in.patch 334
+SHA256 fc5e76c57bf97204f0b3550f9ffa637bbdd11b7b140c887b5a156af8514d80b9 files/ftgl-2.1.2-ftgl.pc.in.patch 334
AUX ftgl-2.1.2-gcc41.patch 524 RMD160 25bd6585949085275d94c102fe65beaa3576dbc8 SHA1 c42f2411c6046100c8d316147630505e8412df35 SHA256 a3a550f02e8db6cb8a66071f67493f1fc3f57188a98a33797f37b81a1322ec13
MD5 522cd2e1e818d657e3e56f2ad3ab67c9 files/ftgl-2.1.2-gcc41.patch 524
RMD160 25bd6585949085275d94c102fe65beaa3576dbc8 files/ftgl-2.1.2-gcc41.patch 524
@@ -11,10 +19,14 @@ EBUILD ftgl-2.1.2-r1.ebuild 1384 RMD160 b94d838c74ad897a613a70b592fa94a55def70d9
MD5 f2f4f37570d762d09235b1c11cb924fb ftgl-2.1.2-r1.ebuild 1384
RMD160 b94d838c74ad897a613a70b592fa94a55def70d9 ftgl-2.1.2-r1.ebuild 1384
SHA256 5983e87e62cf8b347de6527084c23664b5fff21ea88e5d0b0bc2d79dc6cd14cd ftgl-2.1.2-r1.ebuild 1384
-MISC ChangeLog 2513 RMD160 d99f4cba63ff719173c20afe111619c62ec46c92 SHA1 54e492f8572a8f67f994f711f1bb068df49d6c93 SHA256 a8f17369c842f69debe2958d6caeec1b0510f6610e7d4c07145c08d9d78abb5b
-MD5 577f5350a50fc69accf0fbc9413f4a72 ChangeLog 2513
-RMD160 d99f4cba63ff719173c20afe111619c62ec46c92 ChangeLog 2513
-SHA256 a8f17369c842f69debe2958d6caeec1b0510f6610e7d4c07145c08d9d78abb5b ChangeLog 2513
+EBUILD ftgl-2.1.2-r2.ebuild 1432 RMD160 fe93a27f45effc295e71a63e2093e7ea96a771cd SHA1 992a61431c3223a485d483278a12098de1ad6e31 SHA256 2a8af952d2110b7f7a40a71efaa62e0c62fb2474f66f71f0de85e68e6448f9fa
+MD5 d4a12816c8a2f3b73968ce0f1bf1e795 ftgl-2.1.2-r2.ebuild 1432
+RMD160 fe93a27f45effc295e71a63e2093e7ea96a771cd ftgl-2.1.2-r2.ebuild 1432
+SHA256 2a8af952d2110b7f7a40a71efaa62e0c62fb2474f66f71f0de85e68e6448f9fa ftgl-2.1.2-r2.ebuild 1432
+MISC ChangeLog 2776 RMD160 dc66d3d4cdacc8eea71deebdab3512b62789966e SHA1 e665e913ea9e5ea7ae648555689b04972e1305f6 SHA256 da696af62337cfae9ac2d0ced50d588d319c9dd4353f5d98d8b272bbeb77a886
+MD5 1d49f2724dba3e14bbaa735978e5ca5d ChangeLog 2776
+RMD160 dc66d3d4cdacc8eea71deebdab3512b62789966e ChangeLog 2776
+SHA256 da696af62337cfae9ac2d0ced50d588d319c9dd4353f5d98d8b272bbeb77a886 ChangeLog 2776
MISC metadata.xml 159 RMD160 9ce79fb2f245a86f0fd9896ef34c65b6dc2a97bf SHA1 e8d4e28f664e8bd524cb04b5077852adc2f57d90 SHA256 a222ada7640e6dfb21d27151813829e91a72a6878d809dfddaa41581455f6b69
MD5 69bd61de16c74c22893bb09f29950ee1 metadata.xml 159
RMD160 9ce79fb2f245a86f0fd9896ef34c65b6dc2a97bf metadata.xml 159
@@ -22,3 +34,6 @@ SHA256 a222ada7640e6dfb21d27151813829e91a72a6878d809dfddaa41581455f6b69 metadata
MD5 f3a1d4b170b3d3e121b240ba1554dacd files/digest-ftgl-2.1.2-r1 232
RMD160 f517ca3c84db1ff6d3585ebe475f8169ec4d50de files/digest-ftgl-2.1.2-r1 232
SHA256 7c427c61f2ed3bc510628bdd46846133b53f0673fc43c92211dc62e4abd43385 files/digest-ftgl-2.1.2-r1 232
+MD5 f3a1d4b170b3d3e121b240ba1554dacd files/digest-ftgl-2.1.2-r2 232
+RMD160 f517ca3c84db1ff6d3585ebe475f8169ec4d50de files/digest-ftgl-2.1.2-r2 232
+SHA256 7c427c61f2ed3bc510628bdd46846133b53f0673fc43c92211dc62e4abd43385 files/digest-ftgl-2.1.2-r2 232
diff --git a/media-libs/ftgl/files/digest-ftgl-2.1.2-r2 b/media-libs/ftgl/files/digest-ftgl-2.1.2-r2
new file mode 100644
index 000000000000..c8d4079593a4
--- /dev/null
+++ b/media-libs/ftgl/files/digest-ftgl-2.1.2-r2
@@ -0,0 +1,3 @@
+MD5 3eabec9ad37371c4d139408c7ffd2429 ftgl-2.1.2.tar.gz 568497
+RMD160 561635a5ad871ea1a80997d3d6a0411825724920 ftgl-2.1.2.tar.gz 568497
+SHA256 83bf45ce03495bb0c0159a678144877b0dbc7d2f3d8e9f0aa006e72c5198d15f ftgl-2.1.2.tar.gz 568497
diff --git a/media-libs/ftgl/files/ftgl-2.1.2-configure.ac.patch b/media-libs/ftgl/files/ftgl-2.1.2-configure.ac.patch
new file mode 100644
index 000000000000..1ff868f44b64
--- /dev/null
+++ b/media-libs/ftgl/files/ftgl-2.1.2-configure.ac.patch
@@ -0,0 +1,8 @@
+--- FTGL/unix/configure.ac 2003-08-25 06:18:22.000000000 +0200
++++ FTGL/unix/configure.ac.patch 2007-04-08 20:08:28.000000000 +0200
+@@ -1,4 +1,4 @@
+-AC_INIT(ftgl, 2.0.5, henryj@paradise.net.nz)
++AC_INIT(ftgl, 2.1.2, henryj@paradise.net.nz)
+ AC_CONFIG_SRCDIR([Make.conf.in])
+ dnl AC_CONFIG_HEADER([src/config.h])
+
diff --git a/media-libs/ftgl/files/ftgl-2.1.2-ftgl.pc.in.patch b/media-libs/ftgl/files/ftgl-2.1.2-ftgl.pc.in.patch
new file mode 100644
index 000000000000..4c070eec3976
--- /dev/null
+++ b/media-libs/ftgl/files/ftgl-2.1.2-ftgl.pc.in.patch
@@ -0,0 +1,8 @@
+--- FTGL/unix/ftgl.pc.in.old 2003-08-24 23:18:22.000000000 -0500
++++ FTGL/unix/ftgl.pc.in 2004-09-07 13:47:35.429653782 -0500
+@@ -8,4 +8,4 @@
+ Version: @PACKAGE_VERSION@
+ Requires:
+ Libs: @GL_LIBS@ @FT2_LIBS@ -L${libdir} -lftgl
+-Cflags: -I${includedir} @GL_CFLAGS@ @FT2_CFLAGS@
++Cflags: -I${includedir}/FTGL @GL_CFLAGS@ @FT2_CFLAGS@
diff --git a/media-libs/ftgl/ftgl-2.1.2-r2.ebuild b/media-libs/ftgl/ftgl-2.1.2-r2.ebuild
new file mode 100644
index 000000000000..7ea0c41d360a
--- /dev/null
+++ b/media-libs/ftgl/ftgl-2.1.2-r2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+WANT_AUTOMAKE=latest
+WANT_AUTOCONF=latest
+inherit eutils flag-o-matic autotools
+
+DESCRIPTION="library to use arbitrary fonts in OpenGL applications"
+HOMEPAGE="http://homepages.paradise.net.nz/henryj/code/#FTGL"
+SRC_URI="http://opengl.geek.nz/ftgl/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=media-libs/freetype-2.0.9
+ virtual/opengl
+ virtual/glut"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/FTGL/unix
+
+src_unpack() {
+ unpack ${A}
+
+ # Use the correct includedir for pkg-config
+ epatch \
+ "${FILESDIR}"/${P}-ftgl.pc.in.patch \
+ "${FILESDIR}"/${P}-gcc41.patch \
+ "${FILESDIR}"/${P}-configure.ac.patch
+ if ! has_version app-doc/doxygen ; then
+ cd FTGL/docs
+ tar xzf html.tar.gz || die "unpack html.tar.gz"
+ ln -fs ../../docs/html "${S}/docs"
+ fi
+ sed -i \
+ -e "s:\((PACKAGE_NAME)\):\1-${PVR}:g" "${S}"/docs/Makefile \
+ || die "sed failed"
+ sed -i \
+ -e "s: \\$:\t\\$:g" "${S}"/src/Makefile \
+ || die "sed failed"
+
+ cd "${S}"
+ AT_M4DIR=m4 eautoreconf
+}
+
+src_compile() {
+ strip-flags # ftgl is sensitive - bug #112820
+ econf \
+ --enable-shared \
+ || die
+ emake || die
+}
+
+src_install() {
+ einstall || die
+ dodoc README.txt
+}