New package: qt6-serialport-6.2.1

This commit is contained in:
John 2021-06-26 12:16:54 +02:00
parent 622cdae575
commit 3a82e01e37
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1 @@
qt6-serialport

View file

@ -0,0 +1,27 @@
# Template file for 'qt6-serialport'
pkgname=qt6-serialport
version=6.2.1
revision=1
wrksrc="qtserialport-everywhere-src-${version}"
build_style=cmake
configure_args="-DQT_HOST_PATH=/usr"
hostmakedepends="perl qt6-base-devel pkg-config"
makedepends="qt6-base-devel"
short_desc="Cross-platform application and UI framework - serialport"
maintainer="John <me@johnnynator.dev>"
license="(LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only) AND GPL-3.0-only with Qt-GPL-exception-1.0"
homepage="https://qt.io/"
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtserialport-everywhere-src-${version}.tar.xz"
checksum=ec77f4c9d6096588f3e735315f873976103479be453985b27f27fe8994e0776a
qt6-serialport-devel_package() {
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt6/mkspecs
vmove "usr/lib/*.so"
vmove "usr/lib/*.prl"
}
}