New package: qwt-6.1.3.

Closes: #11535 [via git-merge-pr]
This commit is contained in:
Giuseppe Fierro 2018-02-10 15:16:45 +01:00 committed by Jürgen Buchmüller
parent e5729c7fa7
commit 91f5973981
4 changed files with 50 additions and 0 deletions

View File

@ -1904,6 +1904,7 @@ libQt5TextToSpeech.so.5 qt5-speech-5.8.0_1
libx265.so.151 x265-2.7_1
libQt5Xdg.so.3 libqtxdg-3.1.0_1
libQt5XdgIconLoader.so.3 libqtxdg-3.1.0_1
libqwt.so.6 qwt-6.1.3_1:
liblxqt-qt5.so.0 liblxqt-0.8.0_1
liblxqt-globalkeys-qt5.so.0 lxqt-globalkeys-0.8.0_1
liblxqt-globalkeys-ui-qt5.so.0 lxqt-globalkeys-0.8.0_1

1
srcpkgs/qwt-devel Symbolic link
View File

@ -0,0 +1 @@
qwt

1
srcpkgs/qwt-doc Symbolic link
View File

@ -0,0 +1 @@
qwt

47
srcpkgs/qwt/template Normal file
View File

@ -0,0 +1,47 @@
# Template file for 'qwt'
pkgname=qwt
version=6.1.3
revision=1
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="qt5-tools-devel qt5-svg-devel"
short_desc="Qt Widgets for Technical Applications"
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
license="Qwt-License, LGPL-2.1"
homepage="http://qwt.sourceforge.net/"
distfiles="https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
checksum=f3ecd34e72a9a2b08422fb6c8e909ca76f4ce5fa77acad7a2883b701f4309733
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-tools-devel qt5-svg-devel"
fi
pre_configure() {
sed -e '/^\s*QWT_INSTALL_PREFIX/ s|=.*|= /usr|' \
-e '/^QWT_INSTALL_DOCS/ s|/doc|/share/doc/qwt|' \
-e '/^QWT_INSTALL_HEADERS/ s|include|&/qwt|' \
-e '/^QWT_INSTALL_PLUGINS/ s|plugins/designer|lib/qt5/&|' \
-e '/^QWT_INSTALL_FEATURES/ s|features|lib/qt5/mkspecs/&|' \
-i qwtconfig.pri
}
post_install() {
vlicense COPYING
}
qwt-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}
qwt-doc_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - doc files"
pkg_install() {
vmove usr/share/doc
}
}