# $Id$ PNAME="pango" PVER="1.44.6" 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.62 >= dev-libs/fribidi-1.0 >= media-libs/fontconfig-2.11 >= media-libs/freetype-2.6 >= media-libs/harfbuzz-libs-2.4 >= x11-libs/cairo-1.16 >= sys-libs/libstdc++-9.2" SDEPEND=">= dev-util/pkgconfig-0.25 >= media-libs/harfbuzz-2.4 >= dev-libs/gobject-introspection-1.62" # simul linux32 to get config things right EMUL_LINUX_32=true sminclude multilib meson 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() { meson_src_compile $(meson_opt gir true) $(meson_opt enable_docs false) || 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 }