DESCRIPTION = "HTML rendering/editing library"
SECTION = "x11/libs"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "gtk+ virtual/gail libbonoboui libgnomeprintui libgnomeui"
PR = "r2"
SRC_URI = "${GNOME_MIRROR}/gtkhtml/3.12/gtkhtml-${PV}.tar.bz2 \
file://60_glib-2.15-g-gnuc-function.patch"
S = "${WORKDIR}/gtkhtml-${PV}"
inherit autotools pkgconfig
EXTRA_OECONF = "--disable-gtk-doc"
ORBIT_IDL = "${STAGING_BINDIR_NATIVE}/orbit-idl-2"
do_configure_append() {
find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
find ${S} -name Makefile | xargs sed -i s:'-I${prefix}/include':'-I.':g
find ${S} -name Makefile | xargs sed -i 's|ORBIT_IDL =.*|ORBIT_IDL = ${ORBIT_IDL}|'
}
FILES_${PN} += "${datadir}/gtkhtml-3.8"
SRC_URI[md5sum] = "b580590014988b02e51b66be65319570"
SRC_URI[sha256sum] = "666849b22375efbaf2ab506b33868ac64126728a8e509f055882ae6940999847"