summaryrefslogtreecommitdiff
path: root/recipes/gtkhtml2/gtkhtml2_svn.bb
blob: 18122ff8b412ff940f7e886b59b860ce3cf291ae (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
31
32
33
34
35
36
37
38
39
40
SECTION = "libs"
DEPENDS = "gtk+ glib-2.0 libxml2"
DESCRIPTION = "A GTK+ HTML rendering library."
LICENSE = "GPL"
SRCREV = "1158"
PV = "2.11.0+svnr${SRCPV}"

SRC_URI = "svn://anonymous@svn.gnome.org/svn/gtkhtml2/;module=trunk \
	http://svn.o-hand.com/repos/web/trunk/patches/at-import_box-pos.patch;apply=yes;striplevel=0;maxrev=1157;name=patch1 \
	http://svn.o-hand.com/repos/web/trunk/patches/css-stylesheet-user.patch;apply=yes;striplevel=0;maxrev=1157;name=patch2 \
	http://svn.o-hand.com/repos/web/trunk/patches/css-media.patch;apply=yes;striplevel=0;maxrev=1157;name=patch3 \
	http://svn.o-hand.com/repos/web/trunk/patches/add-end-element-signal.patch;apply=yes;striplevel=0;maxrev=1157;name=patch4 \
	http://svn.o-hand.com/repos/web/trunk/patches/add-dom-functions.patch;apply=yes;striplevel=0;maxrev=1157;name=patch5 \
	http://svn.o-hand.com/repos/web/trunk/patches/iain-mem-leak.patch;apply=yes;striplevel=0;maxrev=1157;name=patch6"

S = "${WORKDIR}/trunk"

inherit pkgconfig autotools

EXTRA_OECONF = " --disable-accessibility"

do_stage() {
        oe_libinstall -so -C libgtkhtml libgtkhtml-2 ${STAGING_LIBDIR}
        install -d ${STAGING_INCDIR}/gtkhtml-2.0/libgtkhtml
	( for i in css document dom dom/core dom/events dom/html dom/traversal dom/views graphics layout layout/html util view; do install -d ${STAGING_INCDIR}/gtkhtml-2.0/libgtkhtml/$i; install -m 0644 ${S}/libgtkhtml/$i/*.h ${STAGING_INCDIR}/gtkhtml-2.0/libgtkhtml/$i; done )
	install -m 0644 ${S}/libgtkhtml/*.h ${STAGING_INCDIR}/gtkhtml-2.0/libgtkhtml
}

SRC_URI[patch1.md5sum] = "160c648e29637f2ed6301f4dfdecce21"
SRC_URI[patch1.sha256sum] = "3ec786e6df9e1a935aff4848b6989cad8f87c1fa8813dc033b338e18b17138d8"
SRC_URI[patch2.md5sum] = "05fc3627ca364095702dc804f41c8391"
SRC_URI[patch2.sha256sum] = "df5cca50a8f95333505d7920929fea251daea3be25be6834a1c50a742d9eb674"
SRC_URI[patch3.md5sum] = "d3fe4cda3545f3e4718f1acc186608ab"
SRC_URI[patch3.sha256sum] = "3aefaa17ffa38143bf5df1161c51ab402d35bfbee41ab4643c313edf569165d5"
SRC_URI[patch4.md5sum] = "651b1601d8a1b21c8a3040fadb729043"
SRC_URI[patch4.sha256sum] = "d067e8331bf9c6851f1c6067d991a7f54327f532900b405ebdf8e149c071f381"
SRC_URI[patch5.md5sum] = "041be9711a16e629d01487664ba97152"
SRC_URI[patch5.sha256sum] = "42956fb41341cf82ae8bce18b4cf96a7e2aa631b1b60657afb6d7e9be7cd138c"
SRC_URI[patch6.md5sum] = "4e11dc7899d68f2be2e06ccee01d296d"
SRC_URI[patch6.sha256sum] = "1e2cc080e654c1839c5cb4b4adf4c62a23e7da208427f3ba0b16cfed9e5cfa98"