aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/checksums.ini4
-rw-r--r--recipes/gtk-webcore/midori_0.2.2.bb38
2 files changed, 42 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index e62ecfbe66..1799a2a0ff 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -18742,6 +18742,10 @@ sha256=97c79d20807899bad4b241385c7cbf3a4f85d2673b1b6c12059878450e3e971a
md5=3cee94c9a22316504a3ba99bc92e0245
sha256=7d79a45331cfcf002ccd5a386b5597f91e0ee048b2b040a57c6faebc02bba79c
+[http://archive.xfce.org/src/apps/midori/0.2/midori-0.2.2.tar.bz2]
+md5=14f81a7a10f80a173da1b5e88713400b
+sha256=bec38745947b79a80352374937cecb81fd21d30c35f11b11290fabdad1e4cb07
+
[http://git.xfce.org/kalikiana/midori/snapshot/midori-abbfc163a39d7f1f01725fe2cfe3df516f9fa0f4.tar.bz2]
md5=d50f0a9683dee60685bcd48e04970949
sha256=c5eb824148935697cf4fc36f11cfd7a05fbe6a3392d8f32e296e2cdfd21de3ee
diff --git a/recipes/gtk-webcore/midori_0.2.2.bb b/recipes/gtk-webcore/midori_0.2.2.bb
new file mode 100644
index 0000000000..0d95243dfc
--- /dev/null
+++ b/recipes/gtk-webcore/midori_0.2.2.bb
@@ -0,0 +1,38 @@
+require midori.inc
+
+DEPENDS += "python-native python-docutils-native"
+
+SRC_URI = "http://archive.xfce.org/src/apps/midori/0.2/midori-${PV}.tar.bz2 \
+ file://waf"
+
+SRC_URI_append_shr = " file://config \
+ file://retain-navigationbar-in-fullwindow.patch;patch=1 \
+ "
+
+do_configure() {
+ cp -f ${WORKDIR}/waf ${S}/
+ sed -i -e 's:, shell=False::g' wscript
+ ./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
+}
+
+do_install_append_shr() {
+ install -d ${D}${sysconfdir}/xdg/midori
+ install -m 0644 ${WORKDIR}/config ${D}${sysconfdir}/xdg/midori
+}
+