diff --git a/srcpkgs/qt6-location/patches/no-cmake-test.patch b/srcpkgs/qt6-location/patches/no-cmake-test.patch new file mode 100644 index 00000000000..85d519cef88 --- /dev/null +++ b/srcpkgs/qt6-location/patches/no-cmake-test.patch @@ -0,0 +1,10 @@ +--- qt6-location-6.4.2.orig/tests/auto/CMakeLists.txt ++++ qt6-location-6.4.2/tests/auto/CMakeLists.txt +@@ -14,7 +14,6 @@ add_subdirectory(qgeopositioninfo) + add_subdirectory(qgeosatelliteinfo) + add_subdirectory(qgeosatelliteinfosource) + add_subdirectory(qnmeasatelliteinfosource) +-add_subdirectory(cmake) + if (QT6_IS_SHARED_LIBS_BUILD) + add_subdirectory(positionplugin) + add_subdirectory(positionplugintest) diff --git a/srcpkgs/qt6-location/template b/srcpkgs/qt6-location/template index 2cdeec38384..429e9e02db1 100644 --- a/srcpkgs/qt6-location/template +++ b/srcpkgs/qt6-location/template @@ -1,21 +1,25 @@ # Template file for 'qt6-location' pkgname=qt6-location -version=6.4.0 +version=6.4.2 revision=1 build_style=cmake -hostmakedepends="perl qt6-base-devel qt6-declarative-devel" +hostmakedepends="perl qt6-base qt6-declarative-host-tools" makedepends="qt6-serialport-devel qt6-declarative-devel GConf-devel" short_desc="Cross-platform application and UI framework - location" maintainer="John " 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/qtpositioning-everywhere-src-${version}.tar.xz" -checksum=2d1b5c5f6dab0108396fea37ca28ebfad21a48fa11d8c5d17622d6f6e5fba834 +checksum=7f01baf5ba877af5b211c9d32e6075019f00d9d7a2ba81bb0f10ca759e9aef82 pre_check() { export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml" } +post_install() { + rm -rf ${DESTDIR}/usr/tests +} + qt6-location-devel_package() { depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1" short_desc+=" - development files"