diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/ftgl/ftgl-2.1.3_rc5.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/ftgl/ftgl-2.1.3_rc5.ebuild')
-rw-r--r-- | media-libs/ftgl/ftgl-2.1.3_rc5.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
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 +} |