Patchwork [5/5] midori: add version 0.5.5 from meta-oe

login
register
mail settings
Submitter Mihai Prica
Date Aug. 27, 2013, 2:59 p.m.
Message ID <9bf418feb08245ef4c197f456e8bb1aa557b8b68.1377613447.git.mihai.prica@intel.com>
Download mbox | patch
Permalink /patch/56717/
State Accepted
Commit 4fd453ef7cd2e7e2b1d72284440dac574603ed27
Headers show

Comments

Mihai Prica - Aug. 27, 2013, 2:59 p.m.
Midori is a lightweight web browser that uses the WebKit
rendering engine and the GTK interface. This allows a more
easy testing of the functionality of webkit-gtk component
that is already in oe-core.

Signed-off-by: Mihai Prica <mihai.prica@intel.com>
---
 meta/recipes-sato/midori/midori_0.5.5.bb |   43 ++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 meta/recipes-sato/midori/midori_0.5.5.bb

Patch

diff --git a/meta/recipes-sato/midori/midori_0.5.5.bb b/meta/recipes-sato/midori/midori_0.5.5.bb
new file mode 100644
index 0000000..e545753
--- /dev/null
+++ b/meta/recipes-sato/midori/midori_0.5.5.bb
@@ -0,0 +1,43 @@ 
+DESCRIPTION = "Midori is a lightweight web browser."
+HOMEPAGE = "http://www.twotoasts.de/index.php?/pages/midori_summary.html"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
+DEPENDS = "webkit-gtk libsoup-2.4 openssl python-native python-docutils-native librsvg-native libnotify libunique"
+
+SRC_URI = "http://www.midori-browser.org/downloads/${PN}_${PV}_all_.tar.bz2 \
+"
+
+SRC_URI[md5sum] = "b99e87d4b73a4732ed1c1e591f0242ac"
+SRC_URI[sha256sum] = "ca69382a285222a86028abebd73fed1976735883027ff0adc094b627789bbd62"
+
+inherit gtk-icon-cache pkgconfig vala pythonnative
+
+do_configure() {
+    sed -i -e 's:, shell=False::g' -e s:/usr/X11R6/include::g -e s:/usr/X11R6/lib::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} \
+            --disable-gtk3 \
+            --disable-zeitgeist \
+}
+
+PARALLEL_MAKE = ""
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+do_install() {
+    oe_runmake DESTDIR=${D} install
+}
+
+RRECOMMENDS_${PN} += "glib-networking ca-certificates gnome-icon-theme"
+
+FILES_${PN}-dev += "${datadir}/vala/vapi"