summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/ftgl
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/ftgl')
-rw-r--r--media-libs/ftgl/Manifest1
-rw-r--r--media-libs/ftgl/files/ftgl-2.1.3_rc5-gentoo.patch42
-rw-r--r--media-libs/ftgl/files/ftgl-2.1.3_rc5-underlink.patch11
-rw-r--r--media-libs/ftgl/ftgl-2.1.3_rc5.ebuild52
-rw-r--r--media-libs/ftgl/metadata.xml8
5 files changed, 114 insertions, 0 deletions
diff --git a/media-libs/ftgl/Manifest b/media-libs/ftgl/Manifest
new file mode 100644
index 000000000000..6757b4e4b4d4
--- /dev/null
+++ b/media-libs/ftgl/Manifest
@@ -0,0 +1 @@
+DIST ftgl-2.1.3-rc5.tar.bz2 707854 SHA256 521ff7bd62c459ff5372e269c223e2a6107a6a99a36afdc2ae634a973af70c59 SHA512 9841bdbe7e299dd0ae3bcbef08dc3a8787a863389bf242aa023b1c2442f3ffc8a2c6768a35d093d27e3ad7197c8228a9b15e795a36824424f05bef66b68c89a4 WHIRLPOOL 330e19923e51739d336c3c44345e1f8ae6907606be0635c55536409c7bb0caea6a61ede49b793c25c1542f60575cdf04f656e9b6436e8f8a43dcfea784e0056c
diff --git a/media-libs/ftgl/files/ftgl-2.1.3_rc5-gentoo.patch b/media-libs/ftgl/files/ftgl-2.1.3_rc5-gentoo.patch
new file mode 100644
index 000000000000..43571d5a07db
--- /dev/null
+++ b/media-libs/ftgl/files/ftgl-2.1.3_rc5-gentoo.patch
@@ -0,0 +1,42 @@
+--- configure.ac.old 2008-11-21 14:41:15.000000000 +0100
++++ configure.ac 2008-11-21 14:44:19.000000000 +0100
+@@ -64,19 +64,11 @@
+ CFLAGS="${CFLAGS} -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs"
+
+ # Build HTML documentatin?
+-AC_PATH_PROG(DOXYGEN, doxygen, no)
++DOXYGEN="no"
+ AM_CONDITIONAL(HAVE_DOXYGEN, test "x$DOXYGEN" != "xno")
+
+ # Build PDF documentation?
+-AC_PATH_PROG(LATEX, pdflatex, no)
+-AC_PATH_PROG(KPSEWHICH, kpsewhich, no)
+-AC_PATH_PROG(DVIPS, dvips, no)
+-AC_PATH_PROG(CONVERT, convert, no)
+-AC_PATH_PROG(EPSTOPDF, epstopdf, no)
+-if test "${DVIPS}" = "no" -o "${KPSEWHICH}" = "no" -o "${EPSTOPDF}" = "no" \
+- -o "${CONVERT}" = "no"; then
+ LATEX="no"
+-fi
+ if test "x${LATEX}" != "xno"; then
+ AC_MSG_CHECKING(for a4.sty and a4wide.sty)
+ if "${KPSEWHICH}" a4.sty >/dev/null 2>&1; then
+--- Makefile.am.old 2008-11-24 22:35:16.000000000 +0100
++++ Makefile.am 2008-11-24 22:36:32.000000000 +0100
+@@ -24,16 +24,6 @@
+ m4 \
+ $(NULL)
+
+-# Print out an informative summary.
+-all-local:
+- @$(ECHO) "Done."
+- @$(ECHO)
+- @if test "x$(MAKECMDGOALS)" = "xall-am" -o "x$(.TARGETS)" = "xall-am" -o "x$(MAKECMDGOALS)" = "x" -o "x$(.TARGETS)" = "x" ; then \
+- $(ECHO) "---" ;\
+- $(ECHO) "Run 'make install' to begin installation into $(prefix)" ;\
+- fi
+- @$(ECHO)
+-
+ # Upload documentation
+ DOC = docs/html docs/latex/ftgl.pdf
+ HOST = ftgl.sf.net
diff --git a/media-libs/ftgl/files/ftgl-2.1.3_rc5-underlink.patch b/media-libs/ftgl/files/ftgl-2.1.3_rc5-underlink.patch
new file mode 100644
index 000000000000..30bfba04c7d4
--- /dev/null
+++ b/media-libs/ftgl/files/ftgl-2.1.3_rc5-underlink.patch
@@ -0,0 +1,11 @@
+--- demo/Makefile.am.old 2011-05-20 11:13:18.822445466 +0200
++++ demo/Makefile.am 2011-05-20 11:13:28.271042994 +0200
+@@ -17,7 +17,7 @@
+ $(NULL)
+ c_demo_CFLAGS = $(FT2_CFLAGS) $(GL_CFLAGS)
+ c_demo_LDFLAGS = $(FT2_LIBS) $(GLUT_LIBS)
+-c_demo_LDADD = ../src/libftgl.la
++c_demo_LDADD = ../src/libftgl.la -lm
+
+ FTGLDemo_SOURCES = \
+ FTGLDemo.cpp \
diff --git a/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild b/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild
new file mode 100644
index 000000000000..c34e22fc8d36
--- /dev/null
+++ b/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils flag-o-matic autotools
+
+MY_PV=${PV/_/-}
+MY_PV2=${PV/_/\~}
+MY_P=${PN}-${MY_PV}
+MY_P2=${PN}-${MY_PV2}
+
+DESCRIPTION="library to use arbitrary fonts in OpenGL applications"
+HOMEPAGE="http://ftgl.wiki.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+DEPEND=">=media-libs/freetype-2.0.9
+ virtual/opengl
+ virtual/glu
+ media-libs/freeglut"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P2}
+
+DOCS="AUTHORS BUGS ChangeLog INSTALL NEWS README TODO docs/projects_using_ftgl.txt"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch \
+ "${FILESDIR}"/${P}-underlink.patch
+# AT_M4DIR=m4 eautoreconf
+ sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ strip-flags # ftgl is sensitive - bug #112820
+ econf \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ rm -rf "${D}"/usr/share/doc/ftgl
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
diff --git a/media-libs/ftgl/metadata.xml b/media-libs/ftgl/metadata.xml
new file mode 100644
index 000000000000..cf3590a61d88
--- /dev/null
+++ b/media-libs/ftgl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">ftgl</remote-id>
+ </upstream>
+</pkgmetadata>