Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [PATCH] qwt: Add version 5.2.1
@ 2010-06-22 10:59 Thomas Elste
  2010-06-22 14:27 ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Elste @ 2010-06-22 10:59 UTC (permalink / raw)
  To: openembedded-devel

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 |    8 ++++++++
 recipes/qwt/qwt.inc        |   33 +++++++++++++++++++++++++++++++++
 recipes/qwt/qwt_5.2.1.bb   |    8 ++++++++
 3 files changed, 49 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..09b31ed
--- /dev/null
+++ b/recipes/qwt/qwt-e_5.2.1.bb
@@ -0,0 +1,8 @@
+QWT_VARIANT = "e"
+require qwt.inc
+
+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..6a9f9e0
--- /dev/null
+++ b/recipes/qwt/qwt.inc
@@ -0,0 +1,33 @@
+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"
+
+inherit qt4${QWT_VARIANT}
+
+EXTRA_OEMAKE = "${PARALLEL_MAKE}"
+
+do_configure_prepend() {
+        # set install path and doc path, enable examples
+        sed -i \
+                -e 's/\(INSTALLBASE *= \)\/usr.*/\1\/usr/' \
+                -e 's/\(doc.path.*\/\).*/\1share\/doc\/qwt-${PV}/' \
+                -e 's/#CONFIG     += QwtExamples/CONFIG += QwtExamples/' \
+                qwtconfig.pri
+}
+
+do_install() {
+        oe_runmake install INSTALL_ROOT=${D}
+        install -d ${D}${bindir}/qwt-examples
+        install examples/bin/* ${D}${bindir}/qwt-examples
+}
+
+PACKAGES =+ "${PN}-examples ${PN}-examples-dbg"
+FILES_${PN} = "${libdir}/*"
+FILES_${PN}-examples = "${bindir}/qwt-examples/*"
+FILES_${PN}-examples-dbg = "${bindir}/qwt-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..a1142f0
--- /dev/null
+++ b/recipes/qwt/qwt_5.2.1.bb
@@ -0,0 +1,8 @@
+QWT_VARIANT = "x11"
+require qwt.inc
+
+PR = "${INC_PR}.1"
+
+SRC_URI[md5sum] = "4a595b8db0ec3856b117836c1d60cb27"
+SRC_URI[sha256sum] = "e2b8bb755404cb3dc99e61f3e2d7262152193488f5fbe88524eb698e11ac569f"
+
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 6+ messages in thread
* Add current Qwt version
@ 2010-06-24  9:06 Thomas Elste
  2010-06-24  9:06 ` [PATCH] qwt: Add version 5.2.1 Thomas Elste
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Elste @ 2010-06-24  9:06 UTC (permalink / raw)
  To: openembedded-devel

Hi everyone,

the following patch adds support for the current version
of Qwt. Qt and Qt-Embedded variants are supported.

On Tue, 22 Jun 2010 16:27:55 +0200, Koen Kooi wrote:
> Could you make the -e and regular variants parallel installable? The
> demos could be put in ${D}${bindir}/qwt-examples${QWT_VARIANT} for example.
The Qwt library for Qt-Embedded now gets the suffix "E" appended
like all other Qt-Embedded librarys. Examples are installed in
different directories. So both variants may be installed in parallel.
Tested on Beagleboard/Angstrom with qt-embedded-4.6.2 and
qt4-x11-free-gles-4.6.2.

Regards
Thomas




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-28  8:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-22 10:59 [PATCH] qwt: Add version 5.2.1 Thomas Elste
2010-06-22 14:27 ` Koen Kooi
2010-06-22 15:31   ` Thomas Elste
  -- strict thread matches above, loose matches on Subject: below --
2010-06-24  9:06 Add current Qwt version Thomas Elste
2010-06-24  9:06 ` [PATCH] qwt: Add version 5.2.1 Thomas Elste
2010-06-24  9:31   ` Koen Kooi
2010-06-28  8:20     ` Thomas Elste

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox