diff options
author | Koen Kooi <koen@openembedded.org> | 2009-11-05 22:54:53 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-11-05 22:54:53 +0100 |
commit | c1ff4bb5b83ee24724041aa7babec986b6ad60ab (patch) | |
tree | 4e240fa08fc266e1a12b89dd20fa897ce1915d4e /recipes/webkit | |
parent | 25904bc0713bb5338f435850974490156bc08939 (diff) |
arora: add 0.10.1. Arora is a qtwebkit based browser.
This recipe is ugly because neither I nor the upstream authors know how to use qmake
screenie: http://scap.linuxtogo.org/files/25c0d644dfabb484382183269e8af286.png
Diffstat (limited to 'recipes/webkit')
-rw-r--r-- | recipes/webkit/arora_0.10.1.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/recipes/webkit/arora_0.10.1.bb b/recipes/webkit/arora_0.10.1.bb new file mode 100644 index 0000000000..11da72e5ff --- /dev/null +++ b/recipes/webkit/arora_0.10.1.bb @@ -0,0 +1,45 @@ +DESCRIPTION = "Arora is a lightweight cross-platform web browser" +LICENE = "GPLv2" +HOMEPAGE = "http://code.google.com/p/arora/" + +inherit qt4x11 + +PR = "r1" + +SRC_URI = "http://arora.googlecode.com/files/arora-${PV}.tar.gz" + +do_configure_prepend() { + sed -i -e s:lrelease-qt4:${OE_QMAKE_LRELEASE}:g ${S}/src/locale/locale.pri +} + +# Huge hack ahead: +# Something is putting '.libs' in the Makefiles, which we do now want. The problem is that qmake generates makefiles during 'make all' *sigh* +do_compile_prepend() { + ( oe_runmake src/Makefile tools/Makefile + cd ${S}/tools ; oe_runmake cacheinfo/Makefile htmlToXBel/Makefile placesimport/Makefile + ) + + for i in $(find ${S} -name 'Makefile') ; do + sed -i -e 's:/.libs::g' $i + make || true + done + +} + +do_install() { + sed -i -e s:/usr/local:${D}${prefix}:g install.pri + sed -i -e s:$(INSTALL_ROOT)/OE/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/arora-0.10.1-r0/image/:$(INSTALL_ROOT)/:g src/Makefile + + for i in $(find ${S} -name 'Makefile') ; do + sed -i -e s:/usr/local:${prefix}:g $i + done + + oe_runmake -e INSTALL_ROOT=${D} install + cp -r ${D}/${D}/* ${D}/ || true + cp -r ${D}/usr/local/* ${D}${prefix} || true + rm -rf ${D}/usr/local ${D}/${D} +} + +FILES_${PN} += "${datadir}/gnome-control-center ${datadir}/icons" + + |