# $Id$ PNAME="pango" PVER="1.42.0" PBUILD="r1" PCAT="x11-libs" DESCRIPTION="Library for layout and rendering of internationalized text." HOMEPAGE="http://www.pango.org/" DEPEND=">= x11-libs/libXrender-0.9 >= x11-libs/libX11-1.6 >= x11-libs/libXft-2 >= dev-libs/glib2-2.54 >= media-libs/fontconfig-2.11 >= media-libs/freetype-2.6 >= media-libs/harfbuzz-libs-1.5 >= x11-libs/cairo-1.14 >= sys-libs/libstdc++-6.3" SDEPEND=">= dev-util/pkgconfig-0.25 >= media-libs/harfbuzz-1.5 >= dev-libs/gobject-introspection-1.54" # simul linux32 to get config things right EMUL_LINUX_32=true sminclude multilib mbuild mtools msetfeature "!check" SRCFILE="${PNAME}-${PVER}.tar.xz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" SRC_URI=( gnome://${PNAME}/${PVER%.*}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd_gnome ${PNAME}" src_compile() { local myconf # build basic-fc as included module myconf+=" --with-included-modules=basic-fc" mconfigure --disable-gtk-doc --enable-introspection ${myconf} || die mmake || die } postinstall() { # remove deprecated pango.modules files local confdir if [[ ${ARCH} = x86_64 ]] then confdir=/etc/pango/i686-pc-linux-gnu if [ -f ${MROOT}/${confdir}/pango.modules ] then rm ${MROOT}/${confdir}/pango.modules fi fi confdir=/etc/pango/${CHOST} if [ -f ${MROOT}/${confdir}/pango.modules ] then rm ${MROOT}/${confdir}/pango.modules fi }