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..c6770fb14d3 --- /dev/null +++ b/srcpkgs/qt6-location/patches/no-cmake-test.patch @@ -0,0 +1,10 @@ +--- a/tests/auto/CMakeLists.txt ++++ b/tests/auto/CMakeLists.txt +@@ -19,7 +19,6 @@ add_subdirectory(qgeopositioninfosource) + add_subdirectory(qgeosatelliteinfosource) + add_subdirectory(qnmeapositioninfosource) + add_subdirectory(qnmeasatelliteinfosource) +-add_subdirectory(cmake) + if(TARGET Qt::Quick) + add_subdirectory(dummypositionplugin) + add_subdirectory(declarative_positioning_core) diff --git a/srcpkgs/qt6-location/template b/srcpkgs/qt6-location/template index b7397f5f894..f0fd385b7ac 100644 --- a/srcpkgs/qt6-location/template +++ b/srcpkgs/qt6-location/template @@ -1,10 +1,9 @@ # Template file for 'qt6-location' pkgname=qt6-location -version=6.3.0 +version=6.3.1 revision=1 wrksrc="qtpositioning-everywhere-src-${version}" build_style=cmake -configure_args="-DQT_HOST_PATH=/usr" hostmakedepends="perl qt6-base-devel qt6-declarative-devel" makedepends="qt6-serialport-devel qt6-declarative-devel GConf-devel" short_desc="Cross-platform application and UI framework - location" @@ -12,7 +11,11 @@ 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=e9ed50f6b245a346db34d625d0012774ef0ec8e7fd65037127ec26758708236e +checksum=06788e4ecae1920094b30e4046f0abd23c8189d8a51e9c939b02f0b6abe2e86c + +pre_check() { + export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml" +} qt6-location-devel_package() { depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1" @@ -20,8 +23,11 @@ qt6-location-devel_package() { 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 } }