summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-12-17 11:29:59 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-12-17 11:29:59 +0000
commit8f03c9bff3e174ee46df04d8db29411e0f38f8ca (patch)
tree7c52cea2ff4807576da0878cea73782145665be7 /media-libs/ftgl
parentStable on alpha, bug 74547. (Manifest recommit) (diff)
downloadgentoo-2-8f03c9bff3e174ee46df04d8db29411e0f38f8ca.tar.gz
gentoo-2-8f03c9bff3e174ee46df04d8db29411e0f38f8ca.tar.bz2
gentoo-2-8f03c9bff3e174ee46df04d8db29411e0f38f8ca.zip
initial commit - ebuild provided by Jordi Vilalta via bug #47048
Diffstat (limited to 'media-libs/ftgl')
-rw-r--r--media-libs/ftgl/ChangeLog10
-rw-r--r--media-libs/ftgl/Manifest5
-rw-r--r--media-libs/ftgl/files/2.1.2-ftgl.pc.in.patch8
-rw-r--r--media-libs/ftgl/files/digest-ftgl-2.1.21
-rw-r--r--media-libs/ftgl/ftgl-2.1.2.ebuild44
5 files changed, 68 insertions, 0 deletions
diff --git a/media-libs/ftgl/ChangeLog b/media-libs/ftgl/ChangeLog
new file mode 100644
index 000000000000..d2f57e4a78e3
--- /dev/null
+++ b/media-libs/ftgl/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/ftgl
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ftgl/ChangeLog,v 1.1 2004/12/17 11:29:59 mr_bones_ Exp $
+
+*ftgl-2.1.2 (17 Dec 2004)
+
+ 17 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/2.1.2-ftgl.pc.in.patch, +ftgl-2.1.2.ebuild:
+ initial commit - ebuild provided by Jordi Vilalta via bug #47048
+
diff --git a/media-libs/ftgl/Manifest b/media-libs/ftgl/Manifest
new file mode 100644
index 000000000000..66353f307af9
--- /dev/null
+++ b/media-libs/ftgl/Manifest
@@ -0,0 +1,5 @@
+MD5 9aa4e3b27a4b2b67f1804309601e86f9 ftgl-2.0.11.ebuild 640
+MD5 daf59b5707ef001777667ca2e85747f6 ftgl-2.1.2.ebuild 1194
+MD5 41b399e918b6e460ee3f7262360b8c6f files/digest-ftgl-2.0.11 63
+MD5 2c668ede6711942506740cffd25b1245 files/digest-ftgl-2.1.2 62
+MD5 8c117c40c473625c657ecb59b535caa1 files/2.1.2-ftgl.pc.in.patch 334
diff --git a/media-libs/ftgl/files/2.1.2-ftgl.pc.in.patch b/media-libs/ftgl/files/2.1.2-ftgl.pc.in.patch
new file mode 100644
index 000000000000..4c070eec3976
--- /dev/null
+++ b/media-libs/ftgl/files/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/files/digest-ftgl-2.1.2 b/media-libs/ftgl/files/digest-ftgl-2.1.2
new file mode 100644
index 000000000000..4ec703e7b5ae
--- /dev/null
+++ b/media-libs/ftgl/files/digest-ftgl-2.1.2
@@ -0,0 +1 @@
+MD5 3eabec9ad37371c4d139408c7ffd2429 ftgl-2.1.2.tar.gz 568497
diff --git a/media-libs/ftgl/ftgl-2.1.2.ebuild b/media-libs/ftgl/ftgl-2.1.2.ebuild
new file mode 100644
index 000000000000..940a105c65e1
--- /dev/null
+++ b/media-libs/ftgl/ftgl-2.1.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 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.ebuild,v 1.1 2004/12/17 11:29:59 mr_bones_ Exp $
+
+inherit eutils
+
+DESCRIPTION="A free, open source library to enable developers to use arbitrary fonts in their OpenGL applications"
+HOMEPAGE="http://homepages.paradise.net.nz/henryj/code/#FTGL"
+SRC_URI="http://opengl.geek.nz/ftgl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=media-libs/freetype-2.0.9
+ virtual/opengl
+ virtual/glut"
+
+S="${WORKDIR}/FTGL/unix"
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}"
+
+ # Use the correct includedir for pkg-config
+ epatch "${FILESDIR}/${PV}-ftgl.pc.in.patch"
+ if ! has_version doxygen; then
+ cd FTGL/docs
+ tar xzf 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"
+}
+
+src_install() {
+ einstall || die
+ dodoc README.txt
+}