diff options
author | Peter Volkov <pva@gentoo.org> | 2009-03-13 18:33:06 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2009-03-13 18:33:06 +0000 |
commit | 6e927950d0ca900e256ad904c6886a49ef021baa (patch) | |
tree | 52ebb9d1615d772c8e88fadd2bea53b5a4e5d515 /media-libs | |
parent | Add back akonadi dep. Wrongly resolved previously. (diff) | |
download | historical-6e927950d0ca900e256ad904c6886a49ef021baa.tar.gz historical-6e927950d0ca900e256ad904c6886a49ef021baa.tar.bz2 historical-6e927950d0ca900e256ad904c6886a49ef021baa.zip |
Version bump.
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/freetype/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/freetype/Manifest | 6 | ||||
-rw-r--r-- | media-libs/freetype/freetype-2.3.9.ebuild | 123 |
3 files changed, 134 insertions, 2 deletions
diff --git a/media-libs/freetype/ChangeLog b/media-libs/freetype/ChangeLog index f37dad2e5aed..006458907c0a 100644 --- a/media-libs/freetype/ChangeLog +++ b/media-libs/freetype/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/freetype # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.219 2009/03/08 19:05:04 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/ChangeLog,v 1.220 2009/03/13 18:33:06 pva Exp $ + +*freetype-2.3.9 (13 Mar 2009) + + 13 Mar 2009; Peter Volkov <pva@gentoo.org> +freetype-2.3.9.ebuild: + Version bump. 08 Mar 2009; Tobias Klausmann <klausman@gentoo.org> freetype-2.3.8.ebuild: Stable on alpha, bug #260288 diff --git a/media-libs/freetype/Manifest b/media-libs/freetype/Manifest index ce3cc7200fcc..2c084417244e 100644 --- a/media-libs/freetype/Manifest +++ b/media-libs/freetype/Manifest @@ -13,13 +13,17 @@ AUX freetype-2.3.7-no-segfault-on-load_mac_face.patch 1359 RMD160 9acd20df42c1cd DIST freetype-1.4_pre20080316.tar.bz2 1199805 RMD160 5fb5b0737de968602008991c80dac827ea6fdca0 SHA1 73d4289f509213361b040dc9b649e27f810b133a SHA256 b88e8827dfeebcd0c663cac19c798acbd2f1129eaf89172eb26c3594700316a2 DIST freetype-2.3.7.tar.bz2 1310542 RMD160 7333507c5f42d451bf0541f007fe44165f090418 SHA1 f16f849d6e739ce8842008586af36371a32ac064 SHA256 4ecf879eb69fc323669981f02aebff1e3045de415303e86ee67f2080cb3ee888 DIST freetype-2.3.8.tar.bz2 1343318 RMD160 e460e8a3aed21727973ac4add4ac8be70ac18534 SHA1 0a15d4498139c6743c0ea388c40aaf40cafd4f44 SHA256 8acd37c9160a5bdbe73ba925a4e534a5b6d164d95edd0335191c015aea5351e6 +DIST freetype-2.3.9.tar.bz2 1363190 RMD160 c0351c2a3f43e64d26d2a964b1131a3dbf2fa162 SHA1 db08969cb5053879ff9e973fe6dd2c52c7ea2d4e SHA256 51a033bce9904d73e0821e8e2bba24bd319619d7d1b2e9eeccac611580242ab6 DIST freetype-doc-2.3.7.tar.bz2 98646 RMD160 a4a0c92bb85ea9db9cc822a03c6bdbefff1037f9 SHA1 852918fc87dc2a8a8d7fac03ed3ee9750d695bab SHA256 1d57e0b35ecc37828b6326580cb944fa1408b97d16dbbd26d344c48e47222d20 DIST freetype-doc-2.3.8.tar.bz2 98607 RMD160 751f5731e3cc9cabb7627a16ced338bffb28ceae SHA1 76d76ecb4aa7ec0d5a4b34a94a316ada651e9ef1 SHA256 bdd3ef54341b3b828b9853a7ae9e13ac4f81a3cdc63c2276660a3a6f49dc8273 +DIST freetype-doc-2.3.9.tar.bz2 102532 RMD160 4624133b070791ff8dd92cfffb1bb1115393d08d SHA1 ced46581a39f449393bc267f24d0aac08c62559c SHA256 1a06ba5e13c0087cddd1bf0aa7f3622e65389afe3f3beebcd6c76d42b01f8497 DIST ft2demos-2.3.7.tar.bz2 158328 RMD160 a68483711d1ef1867361fe7f74745df982cdbf09 SHA1 e7c7f2a2077b055d0ad11bdc90bc2ebd0d879b5e SHA256 944f0d24df4706c8a077c5d184a42822aaa0a2fbb8b67abe7c0d6920317cd499 DIST ft2demos-2.3.8.tar.bz2 158715 RMD160 2c16c5450772364fa03eae90fabfefa835ebb3ae SHA1 1c75b11988eab25136bcb9846b6bee60d5e4f87b SHA256 a07ed7f965b98eb915e19a9401955b6bf5af267f6e53b3a28801516f94b32a12 +DIST ft2demos-2.3.9.tar.bz2 159111 RMD160 a2f7bd1d48e087270601d58384e3d5c6c2d39966 SHA1 544572b046965d818826da554a49d13648216008 SHA256 c82dcbdb6581c1b5ab01c166fde238d86c55e457c0bd533f2166b7038639b734 EBUILD freetype-1.4_pre20080316-r1.ebuild 3311 RMD160 cdfd2aa4765dd6ceeabec33ab2b78a6720b0b895 SHA1 bde291a2d3edaa6ae4e8aabe4336fb19f2d35f50 SHA256 8ad3a5a388b5e3c49c19d97b3637d3aa30364b54219a2559de2f74f5b35cf0ad EBUILD freetype-2.3.7-r1.ebuild 3461 RMD160 8a66abeddf8eab14ee7496c8e3e7f4e4a14e3c6d SHA1 bb147e60b83433190d5ffd25e35f5c25f0654038 SHA256 d9ef5a459affdbdfc5bc3eae68b55b6364422f50ac95ad7bd86bdf32b31d07a0 EBUILD freetype-2.3.7.ebuild 3190 RMD160 57b1cfff1b4d0441f1822e4f4a2b939dca6b486b SHA1 5784e9188dba2a01926c9e327c922236324957a9 SHA256 2784e1930e65839b4a13f39f1de1f758d35dbd724eb7812a21c81380fef29b86 EBUILD freetype-2.3.8.ebuild 3470 RMD160 13b12ed62896b378fae5705fe5282833c339d371 SHA1 da7ae78cd273b9fb778a36986a00237bfdfcdfc7 SHA256 8edad5eeeb20ce0a2631f25766005bebc1705475ffc0d5a03d9028a620f95c05 -MISC ChangeLog 33590 RMD160 953a1fe0409bd67a9fc7a50c5053364b8c5de619 SHA1 29b1c5478a01acc313014e543c728a7299a41505 SHA256 5c8ad2670b1459d8b2d3d6b3b7557477be30dd495756d5b75a20c1c95c345e7e +EBUILD freetype-2.3.9.ebuild 3471 RMD160 2a1c1c20624568fe902649ef4bdd93fbe3888f70 SHA1 943ea8764943005341408a6f8332bb846e1d98d0 SHA256 bf93f1e947f4e3e52d3f94c8b3c8d15463963fdffa3c7008176771b560656843 +MISC ChangeLog 33702 RMD160 98b76f754fd31894086798e235c42c0ee95103ea SHA1 c7cb0086c0de1742bd5b5a036ea126eed4d507ba SHA256 e7d6e3fcbd9e9e288b65e5bac30b2190e3c14aa5a95d78c801edf8eb5ad2ce45 MISC metadata.xml 484 RMD160 e5cd827ad55a4ffce76f3020ac8ad92e32d152f2 SHA1 d397ad9dc4984f010b4e191bfd0a5f226282010f SHA256 b6cbbcc2408efea4b28a4715a2862e77394c6f33c8f0b2f0a087e890fc4880b2 diff --git a/media-libs/freetype/freetype-2.3.9.ebuild b/media-libs/freetype/freetype-2.3.9.ebuild new file mode 100644 index 000000000000..13cb7749d316 --- /dev/null +++ b/media-libs/freetype/freetype-2.3.9.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.3.9.ebuild,v 1.1 2009/03/13 18:33:06 pva 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 + utils? ( mirror://sourceforge/freetype/ft2demos-${PV}.tar.bz2 ) + doc? ( mirror://sourceforge/freetype/${PN}-doc-${PV}.tar.bz2 )" + +LICENSE="FTL GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="X bindist debug doc utils fontforge" + +DEPEND="X? ( x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp )" + +# We also need a recent fontconfig version to prevent segfaults. #166029 +# July 3 2007 dirtyepic +RDEPEND="${DEPEND} + !<media-libs/fontconfig-2.3.2-r2" + +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 FT_CONFIG_OPTION_SUBPIXEL_RENDERING + enable_option TT_CONFIG_OPTION_BYTECODE_INTERPRETER + disable_option TT_CONFIG_OPTION_UNPATENTED_HINTING + fi + + if use debug; then + enable_option FT_DEBUG_LEVEL_ERROR + enable_option FT_DEBUG_MEMORY + fi + + enable_option FT_CONFIG_OPTION_INCREMENTAL + disable_option FT_CONFIG_OPTION_OLD_INTERNALS + + epatch "${FILESDIR}"/${PN}-2.3.2-enable-valid.patch + + if use utils; then + cd "${WORKDIR}"/ft2demos-${PV} + sed -i -e "s:\.\.\/freetype2$:../freetype-${PV}:" Makefile + + # Disable tests needing X11 when USE="-X". (bug #177597) + if ! use X; then + sed -i -e "/EXES\ +=\ ftview/ s:^:#:" Makefile + fi + fi + + elibtoolize + epunt_cxx +} + +src_compile() { + append-flags -fno-strict-aliasing + + type -P gmake &> /dev/null && export GNUMAKE=gmake + econf + emake || die "emake failed" + + if use utils; then + cd "${WORKDIR}"/ft2demos-${PV} + emake || die "ft2demos emake failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc ChangeLog README + dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,*.txt,PATENTS,TODO} + + use doc && dohtml -r docs/* + + if use utils; then + rm "${WORKDIR}"/ft2demos-${PV}/bin/README + for ft2demo in ../ft2demos-${PV}/bin/*; do + ./builds/unix/libtool --mode=install $(type -P install) -m 755 "$ft2demo" \ + "${D}"/usr/bin + done + fi + # Probably fontforge needs less but this way makes things simplier... + if use fontforge; then + einfo "Installing internal headers required for fontforge" + find src/truetype include/freetype/internal -name '*.h' | \ + while read header; do + mkdir -p "${D}/usr/include/freetype2/internal4fontforge/$(dirname ${header})" + cp ${header} "${D}/usr/include/freetype2/internal4fontforge/$(dirname ${header})" + done + fi +} + +pkg_postinst() { + echo + elog "The utilities and demos previously bundled with freetype are now" + elog "optional. Enable the utils USE flag if you would like them" + elog "to be installed." + echo +} |