void-packages/srcpkgs/qt6-connectivity/template

36 lines
1.1 KiB
Bash

# Template file for 'qt6-connectivity'
pkgname=qt6-connectivity
version=6.7.2
revision=1
build_style=cmake
configure_args="-DQT_FEATURE_pcsclite=ON"
hostmakedepends="perl qt6-declarative-host-tools pkg-config"
makedepends="qt6-declarative-private-devel libbluetooth-devel pcsclite-devel
qt6-base-private-devel"
short_desc="Cross-platform application and UI framework - Connectivity"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-only"
homepage="https://qt.io/"
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtconnectivity-everywhere-src-${version}.tar.xz"
checksum=8ed321b242f0e956473a295fa31670271f9b3acb797508644cb740f89f6c08e8
do_check() {
ctest -E tst_qlowenergycontroller
}
qt6-connectivity-devel_package() {
depends="${sourcepkg}>=${version}_${revision}
qt6-declarative>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt6/metatypes
vmove usr/lib/pkgconfig
vmove usr/lib/qt6/mkspecs
vmove "usr/lib/*.so"
vmove "usr/lib/*.prl"
vmove usr/lib/qt6/modules
}
}