New package: qt6-sensors-6.3.1

This commit is contained in:
Đoàn Trần Công Danh 2022-08-08 18:22:57 +07:00
parent c25c84189d
commit ab11f516ee
4 changed files with 42 additions and 0 deletions

View File

@ -2071,6 +2071,8 @@ libQt6Help.so.6 qt6-tools-6.1.0_1
libQt6UiTools.so.6 qt6-tools-6.1.0_1
libQt6Nfc.so.6 qt6-connectivity-6.3.1_1
libQt6Bluetooth.so.6 qt6-connectivity-6.3.1_1
libQt6Sensors.so.6 qt6-sensors-6.3.1_1
libQt6SensorsQuick.so.6 qt6-sensors-6.3.1_1
libQt6HunspellInputMethod.so.6 qt6-virtualkeyboard-6.1.0_1
libQt6VirtualKeyboard.so.6 qt6-virtualkeyboard-6.1.0_1
libQt6SerialPort.so.6 qt6-serialport-6.2.0alpha_1

1
srcpkgs/qt6-sensors-devel Symbolic link
View File

@ -0,0 +1 @@
qt6-sensors

View File

@ -0,0 +1,8 @@
--- a/tests/auto/CMakeLists.txt
+++ b/tests/auto/CMakeLists.txt
@@ -1,5 +1,4 @@
add_subdirectory(qsensor)
-add_subdirectory(cmake)
if(TARGET Qt::Quick)
add_subdirectory(qml)
endif()

View File

@ -0,0 +1,31 @@
# Template file for 'qt6-sensors'
pkgname=qt6-sensors
version=6.3.1
revision=1
wrksrc="qtsensors-everywhere-src-${version}"
build_style=cmake
hostmakedepends="perl qt6-declarative-devel qt6-svg-devel 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=4b240b59edba9a42b4735758a25f279a26841b982864e7b38f6ef0b81e0d60cc
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/metatypes
vmove usr/lib/pkgconfig
vmove usr/lib/qt6/mkspecs
vmove usr/lib/qt6/qml/QtSensors/plugins.qmltypes
vmove usr/lib/qt6/qml/QtSensors/qmldir
vmove "usr/lib/*.so"
vmove "usr/lib/*.prl"
}
}