Add initial winnt ftgl-2.1.3
This commit is contained in:
parent
1168fab2eb
commit
79b43bc95f
2
media-libs/ftgl/Manifest
Normal file
2
media-libs/ftgl/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST ftgl-2.1.3-rc5.tar.bz2 707854 SHA256 521ff7bd62c459ff5372e269c223e2a6107a6a99a36afdc2ae634a973af70c59 SHA512 9841bdbe7e299dd0ae3bcbef08dc3a8787a863389bf242aa023b1c2442f3ffc8a2c6768a35d093d27e3ad7197c8228a9b15e795a36824424f05bef66b68c89a4 WHIRLPOOL 330e19923e51739d336c3c44345e1f8ae6907606be0635c55536409c7bb0caea6a61ede49b793c25c1542f60575cdf04f656e9b6436e8f8a43dcfea784e0056c
|
||||||
|
EBUILD ftgl-2.1.3_rc5.ebuild 1310 SHA256 0aeadb7155f53d8d60a125e317e0d707e94d62e9529317c15196ec347782b932 SHA512 6796842410785360d5714f5c1692376b8efb496ce76d63f39a518e2155e21aa2f8c67d1dfa575aa16959af1e45e0af59f3c1d3b74dbc790f87732b97c741516d WHIRLPOOL a06bd69d0a21530344d097ec8842186e39a5d0aab84db4135135b14a14ed19b1c7cbbc6703dd5bf234aa13fab709d168331b54a79d3053232e04173e56713384
|
52
media-libs/ftgl/ftgl-2.1.3_rc5.ebuild
Normal file
52
media-libs/ftgl/ftgl-2.1.3_rc5.ebuild
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild,v 1.19 2013/04/27 06:55:20 patrick Exp $
|
||||||
|
|
||||||
|
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 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 {} +
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user