summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormabrand <mabrand@mabrand.nl>2012-05-25 19:14:54 (GMT)
committermabrand <mabrand@mabrand.nl>2012-05-25 19:14:54 (GMT)
commit62a7a08293553f6dca4d5d5ed8119b9a77074325 (patch)
tree48e88f578d4ec0605883a733e0972b3f5a4cfe9c
parent99e0722dd303101de2efe2f2aa27fb3ac38eae6b (diff)
parenta1e4b4cc30d4ab8b0391ec31306cb23348b3b40d (diff)
downloadmxe-62a7a08293553f6dca4d5d5ed8119b9a77074325.zip
mxe-62a7a08293553f6dca4d5d5ed8119b9a77074325.tar.gz
mxe-62a7a08293553f6dca4d5d5ed8119b9a77074325.tar.bz2
Merge pull request #42 from lsaavedr/a1e4b4cc30d4ab8b0391ec31306cb23348b3b40d
new package: qwt
-rw-r--r--index.html5
-rw-r--r--src/qwt-1-fixes.patch20
-rw-r--r--src/qwt.mk30
3 files changed, 55 insertions, 0 deletions
diff --git a/index.html b/index.html
index b0a960e..bb17e5a 100644
--- a/index.html
+++ b/index.html
@@ -1764,6 +1764,11 @@ USE_OSGPLUGIN(&lt;plugin2&gt;)
<td id="qt-website"><a href="http://qt.nokia.com/">Qt</a></td>
</tr>
<tr>
+ <td id="qwt-package">qwt</td>
+ <td id="qwt-version">6.0.1</td>
+ <td id="qwt-website"><a href="http://qwt.sourceforge.net/">Qwt</a></td>
+ </tr>
+ <tr>
<td id="qwtplot3d-package">qwtplot3d</td>
<td id="qwtplot3d-version">0.2.7</td>
<td id="qwtplot3d-website"><a href="http://qwtplot3d.sourceforge.net/">QwtPlot3D</a></td>
diff --git a/src/qwt-1-fixes.patch b/src/qwt-1-fixes.patch
new file mode 100644
index 0000000..fcb2005
--- /dev/null
+++ b/src/qwt-1-fixes.patch
@@ -0,0 +1,20 @@
+--- qwt-6.0.1/qwtconfig.pri 2011-08-01 16:34:05.000000000 +0200
++++ qwt-6.0.1/qwtconfig.pri 2011-12-03 10:14:53.371757822 +0100
+@@ -23,7 +23,7 @@
+ }
+
+ win32 {
+- QWT_INSTALL_PREFIX = C:/Qwt-$$QWT_VERSION
++# QWT_INSTALL_PREFIX = C:/Qwt-$$QWT_VERSION
+ }
+
+ QWT_INSTALL_DOCS = $${QWT_INSTALL_PREFIX}/doc
+@@ -58,7 +58,7 @@
+ # it will be a static library.
+ ######################################################################
+
+-QWT_CONFIG += QwtDll
++#QWT_CONFIG += QwtDll
+
+ ######################################################################
+ # QwtPlot enables all classes, that are needed to use the QwtPlot
diff --git a/src/qwt.mk b/src/qwt.mk
new file mode 100644
index 0000000..3d0eb2a
--- /dev/null
+++ b/src/qwt.mk
@@ -0,0 +1,30 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+# Qwt - Qt widgets for technical applications
+PKG := qwt
+$(PKG)_CHECKSUM := 7ea84ee47339809c671a456b5363d941c45aea92
+$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE := $($(PKG)_SUBDIR).zip
+$(PKG)_WEBSITE := http://qwt.sourceforge.net/
+$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc qt
+
+define $(PKG)_UPDATE
+ $(WGET) -q -O- 'http://sourceforge.net/projects/qwt/files/qwt/' | \
+ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ # build
+ cd '$(1)/src' && $(PREFIX)/bin/$(TARGET)-qmake
+ $(MAKE) -C '$(1)/src' -f 'Makefile.Release' -j '$(JOBS)' install
+
+ #build sinusplot example to test linkage
+ cd '$(1)/examples/sinusplot' && $(PREFIX)/bin/$(TARGET)-qmake
+ $(MAKE) -C '$(1)/examples/sinusplot' -f 'Makefile.Release' -j '$(JOBS)'
+
+ # install
+ $(INSTALL) -m755 '$(1)/examples/bin/sinusplot.exe' '$(PREFIX)/$(TARGET)/bin/test-qwt.exe'
+endef