[oe] [PATCH 2/3] kdelibs4-native: re-add the original recipe

Kang Kai kai.kang at windriver.com
Mon Apr 16 02:20:32 UTC 2012


The kdelibs4-native recipe is from Samuel Stirtzel and the recipe
has been deleted by commit: 586dcf21f376d50cbf9fc52bc769824ec92d73af

Because Samuel doesn't fill in the SRCREV, I add it with same commit
in kdelibs4.

Signed-off-by: Samuel Stirtzel <s.stirtzel at googlemail.com>
Signed-off-by: Kang Kai <kai.kang at windriver.com>
---
 recipes-kde-base/kdelibs4-native_git.bb |   49 +++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)
 create mode 100644 recipes-kde-base/kdelibs4-native_git.bb

diff --git a/recipes-kde-base/kdelibs4-native_git.bb b/recipes-kde-base/kdelibs4-native_git.bb
new file mode 100644
index 0000000..decba41
--- /dev/null
+++ b/recipes-kde-base/kdelibs4-native_git.bb
@@ -0,0 +1,49 @@
+LICENSE = "GPLv2"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"
+
+DEPENDS = "automoc4-native giflib-native attica-native perl-native"
+#strigi-native
+#soprano-native
+# jpeg-native libpng-native
+
+
+inherit kde_cmake kde_without_docs mime native perlnative
+
+
+SRC_URI = "git://anongit.kde.org/kdelibs.git;branch=v4.8.0 \
+	  file://0001-Don-t-build-documentation-disable-Strigi.patch \
+	  file://0002-Fix-openssl-check.patch \
+	  file://0005-Remove-docs-so-they-don-t-get-pulled-in-elsewhere.patch \
+	  "
+
+SRCREV = "1439483a67135f483632f4c4cd239e96d2ed61fc"
+PV = "4.8.0+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+# kdelibs *must* be built out of tree
+OECMAKE_SOURCEPATH = ".."
+OECMAKE_BUILDPATH = "build"
+
+
+EXTRA_OECMAKE =+ "\
+		  -DAUTOMOC4_EXECUTABLE=${STAGING_BINDIR_NATIVE}/automoc4 \
+		  -DKJS_FORCE_DISABLE_PCRE=TRUE \
+		  -DSTRIGI_REQUIRED=FALSE \
+		  -DSTRIGI_INCLUDE_DIR=TRUE \
+		 "
+
+do_compile() {
+  cd ${S}/build && make -C kdecore/kconfig_compiler
+  cd ${S}/build && make -C kjs icemaker
+#  cd ${S}/build && oe_runmake CC="${CC}" CXX="${CXX}"
+}
+
+do_install() {
+  install -d ${D}${bindir}
+
+  install -m 0755 ${S}/build/bin/icemaker ${D}${bindir}
+  install -m 0755 ${S}/build/bin/kconfig_compiler ${D}${bindir}
+#  install -m 0755 ${S}/build/bin/makekdewidgets ${D}${bindir}
+}
-- 
1.7.5.4





More information about the Openembedded-devel mailing list