From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/gtk-webcore/osb-nrcore.inc | 46 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 recipes/gtk-webcore/osb-nrcore.inc (limited to 'recipes/gtk-webcore/osb-nrcore.inc') diff --git a/recipes/gtk-webcore/osb-nrcore.inc b/recipes/gtk-webcore/osb-nrcore.inc new file mode 100644 index 0000000000..eca304959f --- /dev/null +++ b/recipes/gtk-webcore/osb-nrcore.inc @@ -0,0 +1,46 @@ +DESCRIPTION = "Gtk+ WebCore - rendering engine" +HOMEPAGE = "http://gtk-webcore.sourceforge.net/" +PRIORITY = "optional" +SECTION = "gpe" +LICENSE = "GPL" +DEPENDS = "glib-2.0 gtk+ pango osb-jscore libxt gperf-native" + +LEAD_SONAME = "libnrcore.so" + +inherit autotools pkgconfig + +#/khtml/css/cssproperties.h failes to generate properly with high parallel makes +PARALLEL_MAKE = "" + +EXTRA_OECONF += "--with-javascriptcore-prefix=${STAGING_EXECPREFIXDIR}" + +do_configure () { + autotools_do_configure + cd ${S} + + # prevent libtool from linking libs against libstdc++, libgcc, ... + cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp + mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool +} + +do_install_append() { + #backward compat for some apps + ln -sf ${datadir}/gtk-webcore-nrcore ${D}${datadir}/osb-nrcore +} + +FILES_${PN} += "${datadir}/gtk-webcore-nrcore" + + +do_stage () { + oe_libinstall -so libnrcore ${STAGING_LIBDIR} + oe_libinstall -so -C kwiq libnrcore_kwiq_gtk ${STAGING_LIBDIR} + + autotools_stage_includes + + install -d ${STAGING_INCDIR}/osb/NRCore + for i in ${S}/kwiq/WebCore*.h ${S}/kwiq/KWIQ*.h; do + install -m 0644 $i ${STAGING_INCDIR}/osb/NRCore + done +} + + -- cgit v1.2.3