diff options
author | Lars Johannesen <lj@halloffame.dk> | 2013-07-26 17:39:02 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-08-04 07:29:35 (GMT) |
commit | fb5d6b66f7f76b467ae630c1b3937dadf7558e8e (patch) | |
tree | 7b4144f84f5fa7c9a06eace13d717796eb635c72 | |
parent | 5d2e603c5d53d92e32a7434cee4b3d7c235b1b06 (diff) | |
download | mxe-fb5d6b66f7f76b467ae630c1b3937dadf7558e8e.zip mxe-fb5d6b66f7f76b467ae630c1b3937dadf7558e8e.tar.gz mxe-fb5d6b66f7f76b467ae630c1b3937dadf7558e8e.tar.bz2 |
add package qwt-qt4: builds qwt using qt4
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | src/qwt-qt4-1-fixes.patch | 23 | ||||
-rw-r--r-- | src/qwt-qt4.mk | 30 |
3 files changed, 57 insertions, 0 deletions
@@ -1932,6 +1932,10 @@ USE_OSGPLUGIN(<plugin2>) <td class="website"><a href="http://qwt.sourceforge.net/">Qwt</a></td> </tr> <tr> + <td class="package">qwt-qt4</td> + <td class="website"><a href="http://qwt.sourceforge.net/">Qwt-qt4</a></td> + </tr> + <tr> <td class="package">qwtplot3d</td> <td class="website"><a href="http://qwtplot3d.sourceforge.net/">QwtPlot3D</a></td> </tr> diff --git a/src/qwt-qt4-1-fixes.patch b/src/qwt-qt4-1-fixes.patch new file mode 100644 index 0000000..80179ef --- /dev/null +++ b/src/qwt-qt4-1-fixes.patch @@ -0,0 +1,23 @@ +This file is part of MXE. +See index.html for further information. + +--- 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
+@@ -70,7 +70,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-qt4.mk b/src/qwt-qt4.mk new file mode 100644 index 0000000..8ed027a --- /dev/null +++ b/src/qwt-qt4.mk @@ -0,0 +1,30 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := qwt-qt4 +$(PKG)_VERSION := 6.1.0 +$(PKG)_CHECKSUM := 2d95abf1fc4578684e141e0c76df266f9dae080a +$(PKG)_SUBDIR := qwt-$($(PKG)_VERSION) +$(PKG)_FILE := $($(PKG)_SUBDIR).zip +$(PKG)_WEBSITE := http://qwt.sourceforge.net/ +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/qwt/qwt/$($(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)/$(TARGET)/qt/bin/qmake + $(MAKE) -C '$(1)/src' -f 'Makefile.Release' -j '$(JOBS)' install + + #build sinusplot example to test linkage + cd '$(1)/examples/sinusplot' && $(PREFIX)/$(TARGET)/qt/bin/qmake + $(MAKE) -C '$(1)/examples/sinusplot' -f 'Makefile.Release' -j '$(JOBS)' + + # install + $(INSTALL) -m755 '$(1)/examples/bin/sinusplot.exe' '$(PREFIX)/$(TARGET)/bin/test-qwt-qt4.exe' +endef |