diff --git a/common/shlibs b/common/shlibs index fe6fa66f4dd..60c64d264b4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2069,6 +2069,8 @@ libQt6Designer.so.6 qt6-tools-6.1.0_1 libQt6DesignerComponents.so.6 qt6-tools-6.1.0_1 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 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 diff --git a/srcpkgs/qt6-connectivity-devel b/srcpkgs/qt6-connectivity-devel new file mode 120000 index 00000000000..478cc9d8aa3 --- /dev/null +++ b/srcpkgs/qt6-connectivity-devel @@ -0,0 +1 @@ +qt6-connectivity \ No newline at end of file diff --git a/srcpkgs/qt6-connectivity/patches/no-cmake-test.patch b/srcpkgs/qt6-connectivity/patches/no-cmake-test.patch new file mode 100644 index 00000000000..deb80062ac7 --- /dev/null +++ b/srcpkgs/qt6-connectivity/patches/no-cmake-test.patch @@ -0,0 +1,9 @@ +--- a/tests/auto/CMakeLists.txt ++++ b/tests/auto/CMakeLists.txt +@@ -24,6 +24,3 @@ if(TARGET Qt::Nfc) + add_subdirectory(qndefnfcsmartposterrecord) + add_subdirectory(qndeffilter) + endif() +-if(TARGET Qt::Bluetooth AND TARGET Qt::Nfc) +- add_subdirectory(cmake) +-endif() diff --git a/srcpkgs/qt6-connectivity/template b/srcpkgs/qt6-connectivity/template new file mode 100644 index 00000000000..6cb61744d0c --- /dev/null +++ b/srcpkgs/qt6-connectivity/template @@ -0,0 +1,30 @@ +# Template file for 'qt6-connectivity' +pkgname=qt6-connectivity +version=6.3.1 +revision=1 +wrksrc="qtconnectivity-everywhere-src-${version}" +build_style=cmake +hostmakedepends="perl qt6-declarative-devel" +makedepends="qt6-declarative-devel" +short_desc="Cross-platform application and UI framework - Connectivity" +maintainer="Đoàn Trần Công Danh " +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=b25ce4710a9c61bc6a5dbaeeb3e2ed907a8bc85478fdb2ab4312297768b695b0 + +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/metatypes + vmove usr/lib/pkgconfig + vmove usr/lib/qt6/mkspecs + vmove "usr/lib/*.so" + vmove "usr/lib/*.prl" + vmove usr/share/qt6/modules + } +}