summaryrefslogtreecommitdiff
path: root/recipes/gtkhtml/gtkhtml-3.8_3.12.3.bb
blob: 6a48e837a611c85f1449cea9a6c533e56b45fc96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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;patch=1"

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}|'
}

do_stage() {
	autotools_stage_all
}

FILES_${PN} += "${datadir}/gtkhtml-3.8"