Date: Monday, December 8, 2014 @ 03:41:42 Author: arcanis Revision: 123615
move qwt5 from AUR into [community] by keenerd's request Added: qwt5/ qwt5/repos/ qwt5/trunk/ qwt5/trunk/PKGBUILD qwt5/trunk/qwtconfig-archlinux.pri -------------------------+ PKGBUILD | 41 +++++++++++++++++++++ qwtconfig-archlinux.pri | 86 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 127 insertions(+) Added: qwt5/trunk/PKGBUILD =================================================================== --- qwt5/trunk/PKGBUILD (rev 0) +++ qwt5/trunk/PKGBUILD 2014-12-08 02:41:42 UTC (rev 123615) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org> +# Contributor: Eugen Zagorodniy <https://github.com/ezag> +# Contributor: Ronald van Haren <ronald at archlinux dot org> +# Contributor: Nick Østergaard <oe.nick at gmail dot com> + +pkgname=qwt5 +pkgver=5.2.3 +pkgrel=3 +pkgdesc="Qt Widgets for Technical Applications (version 5.X)" +arch=('i686' 'x86_64') +url="http://qwt.sourceforge.net/" +depends=('qt4') +license=("custom") +source=("http://downloads.sourceforge.net/sourceforge/qwt/qwt-${pkgver}.tar.bz2" \ + "qwtconfig-archlinux.pri") +md5sums=('7d37a11d02bc7d095d0ca6427ec97b8d' + '5d66906ce26a751c3b5573a36c756ddd') + +prepare() { + # copy our config file to the right place + install -Dm644 "qwtconfig-archlinux.pri" "qwt-${pkgver}/qwtconfig.pri" +} + +build() { + cd "${srcdir}/qwt-${pkgver}" + qmake-qt4 qwt.pro + make +} + +package() { + cd "${srcdir}/qwt-${pkgver}" + + make INSTALL_ROOT="${pkgdir}" QTDIR=/usr install + # install licence + install -Dm644 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # remove docs + rm -r "${pkgdir}/usr/share/html" + rm -r "${pkgdir}/usr/share/man/" +} Property changes on: qwt5/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: qwt5/trunk/qwtconfig-archlinux.pri =================================================================== --- qwt5/trunk/qwtconfig-archlinux.pri (rev 0) +++ qwt5/trunk/qwtconfig-archlinux.pri 2014-12-08 02:41:42 UTC (rev 123615) @@ -0,0 +1,86 @@ +###################################################################### +# Install paths +###################################################################### + +unix { + INSTALLBASE = /usr +} + +win32 { + INSTALLBASE = C:/Qwt +} + +target.path = $$INSTALLBASE/lib +headers.path = $$INSTALLBASE/include/qwt5 +doc.path = $$INSTALLBASE/share + +###################################################################### +# qmake internal options +###################################################################### + +CONFIG += qt # Also for Qtopia Core! +CONFIG += warn_on +CONFIG += thread + +###################################################################### +# release/debug mode +# The designer plugin is always built in release mode. +# If want to change this, you have to edit designer/designer.pro. +###################################################################### + +CONFIG += release # release/debug +RELEASE_SUFFIX = 5 + +###################################################################### +# Build the static/shared libraries. +# If QwtDll is enabled, a shared library is built, otherwise +# it will be a static library. +###################################################################### + +CONFIG += QwtDll + +###################################################################### +# QwtPlot enables all classes, that are needed to use the QwtPlot +# widget. +###################################################################### + +CONFIG += QwtPlot + +###################################################################### +# QwtWidgets enables all classes, that are needed to use the all other +# widgets (sliders, dials, ...), beside QwtPlot. +###################################################################### + +CONFIG += QwtWidgets + +###################################################################### +# If you want to display svg images on the plot canvas, enable the +# line below. Note that Qwt needs the svg+xml, when enabling +# QwtSVGItem. +###################################################################### + +CONFIG += QwtSVGItem + +###################################################################### +# If you have a commercial license you can use the MathML renderer +# of the Qt solutions package to enable MathML support in Qwt. +# So if you want this, copy qtmmlwidget.h + qtmmlwidget.cpp to +# textengines/mathml and enable the line below. +###################################################################### + +#CONFIG += QwtMathML + +###################################################################### +# If you want to build the Qwt designer plugin, +# enable the line below. +# Otherwise you have to build it from the designer directory. +###################################################################### + +CONFIG += QwtDesigner + +###################################################################### +# If you want to auto build the examples, enable the line below +# Otherwise you have to build them from the examples directory. +###################################################################### + +#CONFIG += QwtExamples
