34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'qt6-sensors'
|
|
pkgname=qt6-sensors
|
|
version=6.6.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="perl qt6-declarative-host-tools pkg-config"
|
|
makedepends="qt6-declarative-devel qt6-svg-devel"
|
|
short_desc="Cross-platform application and UI framework - Sensors"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
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/qtsensors-everywhere-src-${version}.tar.xz"
|
|
checksum=28f0be5d4eac103ba3bb660ea61806d0e193c1fab949d1c95f2cb7cb39d84498
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/tests
|
|
}
|
|
|
|
qt6-sensors-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}
|
|
qt6-declarative-devel>=${version}_1"
|
|
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/qt6/qml/QtSensors/plugins.qmltypes
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.prl"
|
|
}
|
|
}
|