mirror of
https://github.com/arcan1s/pkgbuild.git
synced 2025-04-24 15:37:18 +00:00
remove qwt5
This commit is contained in:
parent
10560d3e9d
commit
c497b6e631
@ -1,43 +0,0 @@
|
|||||||
# 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=2
|
|
||||||
pkgdesc="Qt Widgets for Technical Applications (version 5.X)"
|
|
||||||
arch=('i686' 'x86_64')
|
|
||||||
url="http://qwt.sourceforge.net/"
|
|
||||||
depends=('qt4')
|
|
||||||
license=("custom:${pkgname}")
|
|
||||||
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 "${srcdir}/qwtconfig-archlinux.pri" "${srcdir}/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 "${srcdir}/qwt-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
||||||
|
|
||||||
# move html docs to proper place and move man pages to avoid conflict
|
|
||||||
# with qwt from [extra]
|
|
||||||
install -d "${pkgdir}/usr/share/doc/${pkgname}"
|
|
||||||
mv "${pkgdir}/usr/share/html" "${pkgdir}/usr/share/doc/${pkgname}/"
|
|
||||||
cd "${pkgdir}/usr/share/man/man3"
|
|
||||||
find * -type f -exec mv {} qwt5-{} \;
|
|
||||||
}
|
|
@ -1,86 +0,0 @@
|
|||||||
######################################################################
|
|
||||||
# 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
|
|
Loading…
Reference in New Issue
Block a user