New package: qt6-remoteobjects-6.3.1

This commit is contained in:
Đoàn Trần Công Danh 2022-08-08 18:23:08 +07:00
parent ab11f516ee
commit ed680017eb
4 changed files with 55 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
libQt6RemoteObjects.so.6 qt6-remoteobjects-6.3.1_1
libQt6RemoteObjectsQml.so.6 qt6-remoteobjects-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

View file

@ -0,0 +1 @@
qt6-remoteobjects

View file

@ -0,0 +1,9 @@
--- a/tests/auto/CMakeLists.txt
+++ b/tests/auto/CMakeLists.txt
@@ -1,6 +1,5 @@
add_subdirectory(benchmarks)
-add_subdirectory(cmake)
add_subdirectory(modelreplica)
add_subdirectory(modelview)
add_subdirectory(pods)

View file

@ -0,0 +1,43 @@
# Template file for 'qt6-remoteobjects'
pkgname=qt6-remoteobjects
version=6.3.1
revision=1
wrksrc="qtremoteobjects-everywhere-src-${version}"
build_style=cmake
hostmakedepends="perl qt6-declarative-devel pkg-config"
makedepends="qt6-declarative-devel"
# Not a strict dependency, but it's 2022, everyone should use TLS
depends="qt6-plugin-tls-openssl"
checkdepends="$depends"
short_desc="Cross-platform application and UI framework - Remote Objects"
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/qtremoteobjects-everywhere-src-${version}.tar.xz"
checksum=ea6d038b11c60981de0bd39a6091a59abf7d031e37bfc592b31be1217bef4ca6
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt6-remoteobjects"
configure_args="-DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=true"
fi
pre_check() {
export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml"
}
qt6-remoteobjects-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/QtRemoteObjects/plugins.qmltypes
vmove usr/lib/qt6/qml/QtRemoteObjects/qmldir
vmove "usr/lib/*.so"
vmove "usr/lib/*.prl"
}
}