now it actually installs the shared library thanks to ilya kriveshko, and libtool...
authorSeemant Kulleen <seemant@gentoo.org>
Fri, 4 Nov 2005 18:30:03 +0000 (18:30 +0000)
committerSeemant Kulleen <seemant@gentoo.org>
Fri, 4 Nov 2005 18:30:03 +0000 (18:30 +0000)
Package-Manager: portage-2.0.53_rc7

media-libs/ftgl/ChangeLog
media-libs/ftgl/Manifest
media-libs/ftgl/files/digest-ftgl-2.1.2-r1 [new file with mode: 0644]
media-libs/ftgl/ftgl-2.1.2-r1.ebuild [new file with mode: 0644]

index ef6d4383901c44486d1dbfb1be6525d3a0590473..b9e87be5c9eb9ab26f1de7076f79a2ec3d335693 100644 (file)
@@ -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.
index 4c235dc7e0202918c53924af45b4c467533d3495..5561b091e54c02a75ef68b410a6bbbbdd1dda245 100644 (file)
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 46c4d107d84a7a753bcc92941e0e596e ChangeLog 586
+MD5 66f1198b197efa70dee27fd2c22b0c83 ChangeLog 801
 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 e73aec3d7201363528db96e6bf725624 ftgl-2.1.2-r1.ebuild 1202
 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 (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-r1.ebuild b/media-libs/ftgl/ftgl-2.1.2-r1.ebuild
new file mode 100644 (file)
index 0000000..fc7abcb
--- /dev/null
@@ -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
+}