summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2005-11-04 18:30:03 +0000
committerSeemant Kulleen <seemant@gentoo.org>2005-11-04 18:30:03 +0000
commitd66e8c1250b10171fa5db780e9726211188e3777 (patch)
treef5fedab6aef99610ac8c59422c9632c4bc780603 /media-libs/ftgl
parentFix xproto dep. (diff)
downloadgentoo-2-d66e8c1250b10171fa5db780e9726211188e3777.tar.gz
gentoo-2-d66e8c1250b10171fa5db780e9726211188e3777.tar.bz2
gentoo-2-d66e8c1250b10171fa5db780e9726211188e3777.zip
now it actually installs the shared library thanks to ilya kriveshko, and libtool fixes, thanks to az.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-libs/ftgl')
-rw-r--r--media-libs/ftgl/ChangeLog8
-rw-r--r--media-libs/ftgl/Manifest12
-rw-r--r--media-libs/ftgl/files/digest-ftgl-2.1.2-r11
-rw-r--r--media-libs/ftgl/ftgl-2.1.2-r1.ebuild54
4 files changed, 64 insertions, 11 deletions
diff --git a/media-libs/ftgl/ChangeLog b/media-libs/ftgl/ChangeLog
index ef6d4383901c..b9e87be5c9eb 100644
--- a/media-libs/ftgl/ChangeLog
+++ b/media-libs/ftgl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/ftgl
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ftgl/ChangeLog,v 1.3 2005/06/12 21:49:25 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ftgl/ChangeLog,v 1.4 2005/11/04 18:30:03 seemant Exp $
+
+*ftgl-2.1.2-r1 (04 Nov 2005)
+
+ 04 Nov 2005; Seemant Kulleen <seemant@gentoo.org> +ftgl-2.1.2-r1.ebuild:
+ now it actually installs the shared library thanks to ilya kriveshko, and
+ libtool fixes, thanks to az.
12 Jun 2005; Marcus D. Hanwell <marcus@gentoo.org> ftgl-2.1.2.ebuild:
Stable on amd64.
diff --git a/media-libs/ftgl/Manifest b/media-libs/ftgl/Manifest
index 4c235dc7e020..7f8124b7c981 100644
--- a/media-libs/ftgl/Manifest
+++ b/media-libs/ftgl/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 46c4d107d84a7a753bcc92941e0e596e ChangeLog 586
MD5 8c117c40c473625c657ecb59b535caa1 files/2.1.2-ftgl.pc.in.patch 334
MD5 2c668ede6711942506740cffd25b1245 files/digest-ftgl-2.1.2 62
+MD5 2c668ede6711942506740cffd25b1245 files/digest-ftgl-2.1.2-r1 62
+MD5 f1578f6cfd20a773ea33be798d92940c ftgl-2.1.2-r1.ebuild 1197
MD5 613e2395bb6b970f07a5cdeca30de753 ftgl-2.1.2.ebuild 1082
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFC1SSnI1lqEGTUzyQRApgEAJ9TDg/VOpTyYthiLhOeE6MzqYDk1gCdF/jL
-gDm/gHhA4kpuyb83Wlqt4/c=
-=BPGj
------END PGP SIGNATURE-----
diff --git a/media-libs/ftgl/files/digest-ftgl-2.1.2-r1 b/media-libs/ftgl/files/digest-ftgl-2.1.2-r1
new file mode 100644
index 000000000000..4ec703e7b5ae
--- /dev/null
+++ b/media-libs/ftgl/files/digest-ftgl-2.1.2-r1
@@ -0,0 +1 @@
+MD5 3eabec9ad37371c4d139408c7ffd2429 ftgl-2.1.2.tar.gz 568497
diff --git a/media-libs/ftgl/ftgl-2.1.2-r1.ebuild b/media-libs/ftgl/ftgl-2.1.2-r1.ebuild
new file mode 100644
index 000000000000..fc7abcba9b4c
--- /dev/null
+++ b/media-libs/ftgl/ftgl-2.1.2-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2005 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-r1.ebuild,v 1.1 2005/11/04 18:30:03 seemant Exp $
+
+inherit eutils libtool
+
+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="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~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 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"
+
+ elibtoolize
+}
+
+src_compile() {
+ econf \
+ --enable-shared \
+ $(use_enable static) || die
+
+ emake || die
+}
+
+src_install() {
+ einstall || die
+ dodoc README.txt
+}