initial commit - ebuild provided by Jordi Vilalta via bug #47048
authorMichael Sterrett <mr_bones_@gentoo.org>
Fri, 17 Dec 2004 11:29:59 +0000 (11:29 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Fri, 17 Dec 2004 11:29:59 +0000 (11:29 +0000)
media-libs/ftgl/ChangeLog [new file with mode: 0644]
media-libs/ftgl/Manifest [new file with mode: 0644]
media-libs/ftgl/files/2.1.2-ftgl.pc.in.patch [new file with mode: 0644]
media-libs/ftgl/files/digest-ftgl-2.1.2 [new file with mode: 0644]
media-libs/ftgl/ftgl-2.1.2.ebuild [new file with mode: 0644]

diff --git a/media-libs/ftgl/ChangeLog b/media-libs/ftgl/ChangeLog
new file mode 100644 (file)
index 0000000..d2f57e4
--- /dev/null
@@ -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 (file)
index 0000000..7eafe94
--- /dev/null
@@ -0,0 +1,4 @@
+MD5 7101bcca115a202a027be77568bfffa8 ftgl-2.1.2.ebuild 1078
+MD5 b9ac9145e9baf74157c47cf626ef5836 ChangeLog 409
+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 (file)
index 0000000..4c070ee
--- /dev/null
@@ -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 (file)
index 0000000..4ec703e
--- /dev/null
@@ -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 (file)
index 0000000..940a105
--- /dev/null
@@ -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
+}