"${WORKDIR}"/patches/ # bug fix cherry-picks from master by 20190216; each patch has commit id of origin/master included and will be part of 1.43.1/1.44
"${FILESDIR}"/${PV}-CVE-2019-1010238.patch
)
src_prepare(){
gnome2_src_prepare
# This should be updated if next release fails to pre-generate the manpage as well, or src_prepare removed if is properly generated
# https://gitlab.gnome.org/GNOME/pango/issues/270
cp -v "${FILESDIR}"/${PV}-pango-view.1.in "${S}/utils/pango-view.1.in"|| die
}
multilib_src_configure(){
tc-export CXX
ECONF_SOURCE=${S}\
gnome2_src_configure \
--with-cairo \
$(multilib_native_use_enable introspection)\
$(use_with X xft)\
"$(usex X --x-includes="${EPREFIX}/usr/include""")"\
"$(usex X --x-libraries="${EPREFIX}/usr/$(get_libdir)""")"