diff options
author | Steve Dibb <beandog@gentoo.org> | 2007-03-09 23:46:42 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2007-03-09 23:46:42 +0000 |
commit | 6c52dc56491d6e4cb08e5175b3ebb7e3c763a19e (patch) | |
tree | a257db2695199d6f08eb2fe49535c0d4b15a9252 /media-libs | |
parent | Add mono useflag and give shared library a SONAME (diff) | |
download | gentoo-2-6c52dc56491d6e4cb08e5175b3ebb7e3c763a19e.tar.gz gentoo-2-6c52dc56491d6e4cb08e5175b3ebb7e3c763a19e.tar.bz2 gentoo-2-6c52dc56491d6e4cb08e5175b3ebb7e3c763a19e.zip |
version bumpage
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/freetype/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/freetype/files/digest-freetype-2.3.2 | 6 | ||||
-rw-r--r-- | media-libs/freetype/freetype-2.3.2.ebuild | 82 | ||||
-rw-r--r-- | media-libs/freetype/metadata.xml | 3 |
4 files changed, 97 insertions, 2 deletions
diff --git a/media-libs/freetype/ChangeLog b/media-libs/freetype/ChangeLog index 17593337f1a0..6d5777dae279 100644 --- a/media-libs/freetype/ChangeLog +++ b/media-libs/freetype/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/freetype # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.106 2007/02/15 20:45:13 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.107 2007/03/09 23:46:42 beandog Exp $ + +*freetype-2.3.2 (09 Mar 2007) + + 09 Mar 2007; Steve Dibb <beandog@gentoo.org> metadata.xml, + +freetype-2.3.2.ebuild: + version bumpage 15 Feb 2007; Fabian Groffen <grobian@gentoo.org> freetype-2.1.9-r1.ebuild: Dropped ppc-macos keyword, see you in prefix diff --git a/media-libs/freetype/files/digest-freetype-2.3.2 b/media-libs/freetype/files/digest-freetype-2.3.2 new file mode 100644 index 000000000000..526b40efbcfe --- /dev/null +++ b/media-libs/freetype/files/digest-freetype-2.3.2 @@ -0,0 +1,6 @@ +MD5 119e1fe126fcfa5a70bc56db55f573d5 freetype-2.3.2.tar.bz2 1252007 +RMD160 e4da77b6f8956d69e57269c5681560beda0ddb27 freetype-2.3.2.tar.bz2 1252007 +SHA256 ba97537c711ea1970ccd97f957cabd63474de9c05aff0fc5ae931f8c90a47e7e freetype-2.3.2.tar.bz2 1252007 +MD5 d732b9b5971d019fab9c695dfa496247 freetype-doc-2.3.2.tar.bz2 98679 +RMD160 ecd619ded06bf5bf144c18c8d981aec88bab6370 freetype-doc-2.3.2.tar.bz2 98679 +SHA256 c30052d7d860b45edde95075525dd1c9d477d2b7ab5d99b5c601ac0a44b7d75c freetype-doc-2.3.2.tar.bz2 98679 diff --git a/media-libs/freetype/freetype-2.3.2.ebuild b/media-libs/freetype/freetype-2.3.2.ebuild new file mode 100644 index 000000000000..6f0de91661ab --- /dev/null +++ b/media-libs/freetype/freetype-2.3.2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.3.2.ebuild,v 1.1 2007/03/09 23:46:42 beandog Exp $ + +inherit eutils flag-o-matic libtool + +DESCRIPTION="A high-quality and portable font engine" +HOMEPAGE="http://www.freetype.org/" +SRC_URI="mirror://sourceforge/freetype/${P/_/}.tar.bz2 + doc? ( mirror://sourceforge/${PN}/${PN}-doc-${PV}.tar.bz2 )" + +LICENSE="FTL GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="zlib bindist doc" + +# The RDEPEND below makes sure that if there is a version of moz/ff/tb +# installed, then it will have the freetype-2.1.8+ binary compatibility patch. +# Otherwise updating freetype will cause moz/ff/tb crashes. #59849 +# 20 Nov 2004 agriffis +DEPEND="zlib? ( sys-libs/zlib )" + +RDEPEND="${DEPEND} + !<www-client/mozilla-1.7.3-r3 + !<www-client/mozilla-firefox-1.0-r3 + !<mail-client/mozilla-thunderbird-0.9-r3 + !<media-libs/libwmf-0.2.8.2" + +src_unpack() { + + unpack ${A} + cd "${S}" + + enable_option() { + sed -i -e "/#define $1/a #define $1" \ + include/freetype/config/ftoption.h \ + || die "unable to enable option $1" + } + + disable_option() { + sed -i -e "/#define $1/ { s:^:/*:; s:$:*/: }" \ + include/freetype/config/ftoption.h \ + || die "unable to disable option $1" + } + + if ! use bindist; then + # Bytecodes and subpixel hinting supports are patented + # in United States; for safety, disable them while building + # binaries, so that no risky code is distributed. + # See http://freetype.org/patents.html + + enable_option TT_CONFIG_OPTION_BYTECODE_INTERPRETER + enable_option FT_CONFIG_OPTION_SUBPIXEL_RENDERING + disable_option TT_CONFIG_OPTION_UNPATENTED_HINTING + fi + + disable_option FT_CONFIG_OPTION_OLD_INTERNALS + + elibtoolize + epunt_cxx + +} + +src_compile() { + # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118021 + append-flags "-fno-strict-aliasing" + + type -p gmake &> /dev/null && export GNUMAKE=gmake + econf $(use_with zlib) || die + + emake || die +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die + + dodoc ChangeLog README + dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,*.txt,PATENTS,TODO} + + cd "${WORKDIR}"/${PN}-doc-${PV} + use doc && dohtml -r docs/* +} diff --git a/media-libs/freetype/metadata.xml b/media-libs/freetype/metadata.xml index 7e9356c2bab5..3df4e881910d 100644 --- a/media-libs/freetype/metadata.xml +++ b/media-libs/freetype/metadata.xml @@ -6,8 +6,9 @@ <email>foser@gentoo.org</email> </maintainer> <maintainer restrict=">=media-libs/freetype-2.2"> - <email>flameeyes@gentoo.org</email> + <email>flameeyes@gmail.com</email> <description> + Proxied maintainer Assign to me bugs that come from versions 2.2, as I unmasked it myself. </description> </maintainer> |