Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Thomas Elste <thomas.elste@imms.de>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] qwt: Add version 5.2.1
Date: Thu, 24 Jun 2010 11:06:14 +0200	[thread overview]
Message-ID: <1277370374-4677-2-git-send-email-thomas.elste@imms.de> (raw)
In-Reply-To: <1277370374-4677-1-git-send-email-thomas.elste@imms.de>

Add recipe for current version of Qwt. This new version uses qt4-classes
instead of palmtop. Different bb-files for Qt and Qt-Embedded
variant are provided. Qwt examples are also build. They get deployed in
extra packages.

Signed-off-by: Thomas Elste <thomas.elste@imms.de>
---
 recipes/qwt/qwt-e_5.2.1.bb |   10 ++++++++++
 recipes/qwt/qwt.inc        |   35 +++++++++++++++++++++++++++++++++++
 recipes/qwt/qwt_5.2.1.bb   |   10 ++++++++++
 3 files changed, 55 insertions(+), 0 deletions(-)
 create mode 100644 recipes/qwt/qwt-e_5.2.1.bb
 create mode 100644 recipes/qwt/qwt.inc
 create mode 100644 recipes/qwt/qwt_5.2.1.bb

diff --git a/recipes/qwt/qwt-e_5.2.1.bb b/recipes/qwt/qwt-e_5.2.1.bb
new file mode 100644
index 0000000..95bb31f
--- /dev/null
+++ b/recipes/qwt/qwt-e_5.2.1.bb
@@ -0,0 +1,10 @@
+QWT_VARIANT = "E"
+inherit qt4e
+require qwt.inc
+RDEPENDS_${PN}-examples += "qt4-embedded-fonts"
+
+PR = "${INC_PR}.1"
+
+SRC_URI[md5sum] = "4a595b8db0ec3856b117836c1d60cb27"
+SRC_URI[sha256sum] = "e2b8bb755404cb3dc99e61f3e2d7262152193488f5fbe88524eb698e11ac569f"
+
diff --git a/recipes/qwt/qwt.inc b/recipes/qwt/qwt.inc
new file mode 100644
index 0000000..09ceb56
--- /dev/null
+++ b/recipes/qwt/qwt.inc
@@ -0,0 +1,35 @@
+DESCRIPTION = "Qt Widget Extension for Technical Applications"
+HOMEPAGE = "http://qwt.sourceforge.net/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL"
+INC_PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2"
+
+S = "${WORKDIR}/qwt-${PV}"
+
+EXTRA_OEMAKE = "${PARALLEL_MAKE}"
+
+do_configure_prepend() {
+        # set install and doc path, set lib suffix, enable examples
+        sed -i \
+                -e 's/\(INSTALLBASE *= \)\/usr.*/\1\/usr/' \
+                -e 's/\(doc.path.*\/\).*/\1share\/doc\/qwt-${PV}/' \
+                -e 's/\(RELEASE_SUFFIX *=\).*/\1 ${QWT_VARIANT}/' \
+                -e 's/#CONFIG     += QwtExamples/CONFIG += QwtExamples/' \
+                qwtconfig.pri
+}
+
+do_install() {
+        oe_runmake install INSTALL_ROOT=${D}
+        rm ${D}${libdir}/libqwt${QWT_VARIANT}.so
+        install -d ${D}${bindir}/qwt${QWT_VARIANT}-examples
+        install examples/bin${QWT_VARIANT}/* ${D}${bindir}/qwt${QWT_VARIANT}-examples
+}
+
+PACKAGES =+ "${PN}-examples ${PN}-examples-dbg"
+FILES_${PN} = "${libdir}/*"
+FILES_${PN}-examples = "${bindir}/qwt${QWT_VARIANT}-examples/*"
+FILES_${PN}-examples-dbg = "${bindir}/qwt${QWT_VARIANT}-examples"
+
diff --git a/recipes/qwt/qwt_5.2.1.bb b/recipes/qwt/qwt_5.2.1.bb
new file mode 100644
index 0000000..4f59d16
--- /dev/null
+++ b/recipes/qwt/qwt_5.2.1.bb
@@ -0,0 +1,10 @@
+QWT_VARIANT = 
+inherit qt4x11
+require qwt.inc
+RDEPENDS_${PN}-examples += "qt4-fonts"
+
+PR = "${INC_PR}.1"
+
+SRC_URI[md5sum] = "4a595b8db0ec3856b117836c1d60cb27"
+SRC_URI[sha256sum] = "e2b8bb755404cb3dc99e61f3e2d7262152193488f5fbe88524eb698e11ac569f"
+
-- 
1.7.1




  reply	other threads:[~2010-06-24  9:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-24  9:06 Add current Qwt version Thomas Elste
2010-06-24  9:06 ` Thomas Elste [this message]
2010-06-24  9:31   ` [PATCH] qwt: Add version 5.2.1 Koen Kooi
2010-06-28  8:20     ` Thomas Elste
  -- strict thread matches above, loose matches on Subject: below --
2010-06-22 10:59 Thomas Elste
2010-06-22 14:27 ` Koen Kooi
2010-06-22 15:31   ` Thomas Elste

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=1277370374-4677-2-git-send-email-thomas.elste@imms.de \
    --to=thomas.elste@imms.de \
    --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