From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-libs/ftgl/Manifest | 7 ++++ media-libs/ftgl/files/ftgl-2.1.3_rc5-gentoo.patch | 42 +++++++++++++++++++ .../ftgl/files/ftgl-2.1.3_rc5-underlink.patch | 11 +++++ media-libs/ftgl/ftgl-2.1.3_rc5.ebuild | 47 ++++++++++++++++++++++ media-libs/ftgl/metadata.xml | 11 +++++ 5 files changed, 118 insertions(+) create mode 100644 media-libs/ftgl/Manifest create mode 100644 media-libs/ftgl/files/ftgl-2.1.3_rc5-gentoo.patch create mode 100644 media-libs/ftgl/files/ftgl-2.1.3_rc5-underlink.patch create mode 100644 media-libs/ftgl/ftgl-2.1.3_rc5.ebuild create mode 100644 media-libs/ftgl/metadata.xml (limited to 'media-libs/ftgl') diff --git a/media-libs/ftgl/Manifest b/media-libs/ftgl/Manifest new file mode 100644 index 000000000000..06d5efe58922 --- /dev/null +++ b/media-libs/ftgl/Manifest @@ -0,0 +1,7 @@ +AUX ftgl-2.1.3_rc5-gentoo.patch 1399 SHA256 1c5d8e3e0d37db1174bc00e9876c306fbda1491ec6216c5bd3f3e2856d629f58 SHA512 6dc2ef3467bf57a1fc62fcb512d3e5235f086d1f837768a7ddd1af5dbf0a91104e706e3ef8c875ef0fa38d2f8f934c874ff570f5fa2066abc74d4af15f30a0cd WHIRLPOOL d5a2fe4a71194eeaf65f4715cd5058fa9867f995e2696f5834a2f5370135ef35103c199938a238be1f09cfa8fbaf5f002bda8b375ba9cb8acc0da2f78e36dd80 +AUX ftgl-2.1.3_rc5-underlink.patch 349 SHA256 9a3540ff4705476f22718a5614aa3a7f64b8e748839e92d1bcbc8a29364ca590 SHA512 aa7a33577a7096e68b47d6e623f99511b54d277ed334e0a2aff6e69e3d915f575e943a556aa22c5f4fe5d884eb6b4425f2b0ecb0aea95f9a36799ad65c1b7399 WHIRLPOOL a35ae3e743778e1fb05853271d5e689347c5634ef0612bae2c6a6a03179fa3711e6ca37d7ec58a3cb70a031510065cf879db2935d29ef3c433639f82f502070c +DIST ftgl-2.1.3-rc5.tar.bz2 707854 SHA256 521ff7bd62c459ff5372e269c223e2a6107a6a99a36afdc2ae634a973af70c59 SHA512 9841bdbe7e299dd0ae3bcbef08dc3a8787a863389bf242aa023b1c2442f3ffc8a2c6768a35d093d27e3ad7197c8228a9b15e795a36824424f05bef66b68c89a4 WHIRLPOOL 330e19923e51739d336c3c44345e1f8ae6907606be0635c55536409c7bb0caea6a61ede49b793c25c1542f60575cdf04f656e9b6436e8f8a43dcfea784e0056c +EBUILD ftgl-2.1.3_rc5.ebuild 1147 SHA256 2e97c65563e2c457a36c2aadfbe31d0b6db1fc6f612262dde8b6934e9513fbd9 SHA512 9d0d05385c320296ee6ef9f369da873b770cc7dce96805b9f016531b6aae62b0a39dd3f909deda3f105e3a3d9bc8da2540fb1b3952339d32626e01096e241740 WHIRLPOOL b66e545b9b3cc93ceaa68ad86a9a02ccc4532b7b3f42c118591b09ee8ce8e32502bc4e5431f07f4e41a1cd037579ba06e8c5cc0abe1ed4e3ff7d8d5d4a07ed54 +MISC ChangeLog 2643 SHA256 7e114e7bf68b3662c1a487f81bd7bb63dfa8156ea4c46dff72b60632609321c4 SHA512 bab5dcdead87bfe29f1e917365d4177d9500028c3066683a656f0bea2a094c9b2ac724d3ec955b68210052c4527d8b16b7ff832b8e71df1722367102184e36b8 WHIRLPOOL 0dd707bb354a940f99fd4ddefb869b4019be11f4e71db519ef034c1a8100b766b306db5c3e8ecba86408e7504f955584200bd868626e49c4273d99e4ce28d595 +MISC ChangeLog-2015 4982 SHA256 afbad625c678688f21ac4ed5b33412e427e120d638aa8c57f290f1de590195d9 SHA512 8c0b76bf79923c5d7e8af08a2ad685a47f6c712c5455f5dc94a69b56cf18de4d539c23b76f1e256447baa2f12b5eab6f9d21f3ede8d48f94ac399e565ff96e01 WHIRLPOOL 1257055c0a86dfda7dfa8179813cc56c47174c39d7a8195b8ab5741a30a92c7165b4568a8706ba9421b97618ec084256858388478bd02b014c35576d01edcf4a +MISC metadata.xml 327 SHA256 6fa3eeca60274a8c4f0b4d62c3c4435249e277eed5adcc45eed8231b09cd3f23 SHA512 d5fb9210e27a2e5687f6a223885f6f5ea023c0da51e594c12fb3b07521f3fd882bcc19829d0ccbfaebcfe7e4e15df897c70eabb2fab0d29f8f4b45dbfe710d56 WHIRLPOOL 003e8214c3919d414f49c067f030870f798d8d41e350d8aefe151a9b133b049ffe4f724cf6494e67c978f7df357124857cec86ab6af4df0257af2186b946a5ba 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..3e89417da633 --- /dev/null +++ b/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +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.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} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-underlink.patch + 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() { + DOCS="AUTHORS BUGS ChangeLog NEWS README TODO docs/projects_using_ftgl.txt" \ + default + rm -rf "${D}"/usr/share/doc/ftgl || die + prune_libtool_files +} diff --git a/media-libs/ftgl/metadata.xml b/media-libs/ftgl/metadata.xml new file mode 100644 index 000000000000..97563af29338 --- /dev/null +++ b/media-libs/ftgl/metadata.xml @@ -0,0 +1,11 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + ftgl + + -- cgit v1.2.3