# $Id$ PNAME="fontconfig" PVER="2.13.1" PBUILD="r1" PCAT="media-libs" DESCRIPTION="fontconfig is a library for configuring and customizing font access." HOMEPAGE="http://fontconfig.org/" DEPEND=">= media-libs/freetype-2.6 >= dev-libs/expat-2" ALX_DEV_DEPEND=">= dev-libs/expat-dev-2" SDEPEND=">= virtual/sed >= dev-util/gperf-3.1 ${ALX_DEV_DEPEND} >= media-libs/freetype-dev-2.6" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" ALX_PKG_KEEP="etc usr/bin/fc-cache usr/$(mlibdir)/*.so.* usr/share/fontconfig/conf.avail" sminclude multilib mbuild mtools alx-split SRC_URI=( http://fontconfig.org/release/${SRCFILE} mirror://${PNAME}/${SRCFILE} "mirror://${PNAME}/man-2.3.1/fc-cache.man man-2.3.1" "mirror://${PNAME}/man-2.3.1/fc-list.man man-2.3.1" ) UP2DATE="updatecmd http://fontconfig.org/release/ | grep ${PNAME}- | highesttarball gz" src_compile() { mconfigure \ --disable-docs \ --with-docdir=/usr/share/doc/${PNAME}-${PVER} \ --x-includes=/usr/include \ --x-libraries=/usr/$(mlibdir) \ --with-default-fonts=/usr/share/fonts \ --with-add-fonts=/usr/local/share/fonts \ || die # does not like optimations mmake -j1 || die # remove Luxi TTF fonts from the list, the Type1 are much better # all-abis 'sed -i "s: