summaryrefslogtreecommitdiff
path: root/recipes/gtk-webcore/midori_git.bb
blob: 89182c28b488bcbcfe94541755c37678609d5be9 (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
require midori.inc

DEPENDS += "python-native python-docutils-native"

# increment PR every time SRCREV is updated!
SRCREV = "400139644371c0b675723f9a986ddab4445a8794"
PR = "r3"
PV = "0.1.7+${PR}+gitr${SRCPV}"

SRC_URI = "git://git.xfce.org/apps/midori;protocol=git \
           file://waf \
           file://wscript-fix.patch"

S = "${WORKDIR}/git"



do_configure() {
	cp -f ${WORKDIR}/waf ${S}/
	./configure \
            --prefix=${prefix} \
            --bindir=${bindir} \
            --sbindir=${sbindir} \
            --libexecdir=${libexecdir} \
            --datadir=${datadir} \
            --sysconfdir=${sysconfdir} \
            --sharedstatedir=${sharedstatedir} \
            --localstatedir=${localstatedir} \
            --libdir=${libdir} \
            --includedir=${includedir} \
            --infodir=${infodir} \
            --mandir=${mandir} \
            ${EXTRA_OECONF} 
 
	sed -i /LINK_CC/d ./_build_/c4che/default.cache.py 
	echo "LINK_CC = '${CXX}'" >>  ./_build_/c4che/default.cache.py
}