Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Kang Kai <kai.kang@windriver.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: [PATCH 2/3] kdelibs4-native: re-add the original recipe
Date: Mon, 16 Apr 2012 10:20:32 +0800	[thread overview]
Message-ID: <1334542833-27552-3-git-send-email-kai.kang@windriver.com> (raw)
In-Reply-To: <1334542833-27552-1-git-send-email-kai.kang@windriver.com>

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@googlemail.com>
Signed-off-by: Kang Kai <kai.kang@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




  parent reply	other threads:[~2012-04-16  3:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-16  2:20 [meta-kde] enable kdelib4-native to build makekdewidgets Kang Kai
2012-04-16  2:20 ` [PATCH 1/3] qt4-native: enable features to build kdelib4-native Kang Kai
2012-04-16 10:50   ` Samuel Stirtzel
2012-04-19  1:48     ` Kang Kai
2012-04-16  2:20 ` Kang Kai [this message]
2012-04-16  2:20 ` [PATCH 3/3] kdelib4-native: build makekdewidgets Kang Kai
2012-04-16 10:49   ` Samuel Stirtzel
2012-04-16  4:43 ` [meta-kde] enable kdelib4-native to " Kang Kai
2012-04-16  6:43   ` Samuel Stirtzel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1334542833-27552-3-git-send-email-kai.kang@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox