Add dev-qt from an older version of the gentoo repo

Qt5 has been removed, we restore it since we still use it.
This commit is contained in:
2026-07-03 09:45:00 +02:00
parent 2247967dd3
commit 692df50613
319 changed files with 15302 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST qtlocation-everywhere-src-6.10.3.tar.xz 3151672 BLAKE2B 3d0eef6c7b2772e0aad90eb801f46add4d66d5bd91321c7fee505a88fe9bd95c552cd8d7ee29d5044b4e18bd48f5830534af05e6a730425169b0a1e3290c7fc0 SHA512 dc5dd1e7e44048873b1a857dc80027b525199a63198f8725586a03f3ea87b4bab410d2ea6c8e46ccc27047b0000049119cfa6a1dba7f05589ae0ac7e9e5fcc93
DIST qtlocation-everywhere-src-6.11.1.tar.xz 3151756 BLAKE2B 6ec6337831f356bdbb9871d0cc9dfbba434af3c0c3592e20e0fad2018f9909b13bb9f5c49ccdbd8a8b780f2f45ce919afbba4fec2b6e0008a6c7fc69eb74fb2f SHA512 3b08b74531acf0a8d35070a0716d6b452d9fea2b9eeecec5f80a5d4a79ead83d4f63c1b1d959ba53725f4ae03ac451d5c8c4fbdd49527054f1afb9fd6ab3bbba

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>qt@gentoo.org</email>
<name>Gentoo Qt Project</name>
</maintainer>
<upstream>
<bugs-to>https://qt-project.atlassian.net/</bugs-to>
<doc>https://doc.qt.io/</doc>
<remote-id type="github">qt/qtlocation</remote-id>
</upstream>
<slots>
<subslots>
Must only be used by packages that are known to use private parts of the Qt API.
</subslots>
</slots>
</pkgmetadata>

View File

@ -0,0 +1,44 @@
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Location (places, maps, navigation) library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
fi
RDEPEND="
~dev-qt/qtbase-${PV}:6[network]
~dev-qt/qtdeclarative-${PV}:6
~dev-qt/qtpositioning-${PV}:6[qml]
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# ignores QML_IMPORT_PATH (unlike other tests) and looks in
# the missing builddir/qml, skip rather than work around
tst_declarative_ui
)
src_install() {
qt6-build_src_install
if use test; then
local delete=( # sigh
"${D}${QT6_LIBDIR}"/cmake/Qt6Location/*TestGeoServicePlugin*.cmake
"${D}${QT6_LIBDIR}"/cmake/Qt6Location/*UnsupportedPlacesGeoServicePlugin*.cmake
"${D}${QT6_LIBDIR}"/cmake/Qt6Qml/QmlPlugins/*declarative_location_test*.cmake
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_geocodingplugin.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_placesplugin_unsupported.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_qmltestplugin.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_routingplugin.so
"${D}${QT6_QMLDIR}"/QtLocation/Test
)
# using -f given not tracking which tests may be skipped or not
rm -rf -- "${delete[@]}" || die
fi
}

View File

@ -0,0 +1,44 @@
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Location (places, maps, navigation) library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
fi
RDEPEND="
~dev-qt/qtbase-${PV}:6[network]
~dev-qt/qtdeclarative-${PV}:6
~dev-qt/qtpositioning-${PV}:6[qml]
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# ignores QML_IMPORT_PATH (unlike other tests) and looks in
# the missing builddir/qml, skip rather than work around
tst_declarative_ui
)
src_install() {
qt6-build_src_install
if use test; then
local delete=( # sigh
"${D}${QT6_LIBDIR}"/cmake/Qt6Location/*TestGeoServicePlugin*.cmake
"${D}${QT6_LIBDIR}"/cmake/Qt6Location/*UnsupportedPlacesGeoServicePlugin*.cmake
"${D}${QT6_LIBDIR}"/cmake/Qt6Qml/QmlPlugins/*declarative_location_test*.cmake
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_geocodingplugin.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_placesplugin_unsupported.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_qmltestplugin.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_routingplugin.so
"${D}${QT6_QMLDIR}"/QtLocation/Test
)
# using -f given not tracking which tests may be skipped or not
rm -rf -- "${delete[@]}" || die
fi
}

View File

@ -0,0 +1,44 @@
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Location (places, maps, navigation) library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
fi
RDEPEND="
~dev-qt/qtbase-${PV}:6[network]
~dev-qt/qtdeclarative-${PV}:6
~dev-qt/qtpositioning-${PV}:6[qml]
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# ignores QML_IMPORT_PATH (unlike other tests) and looks in
# the missing builddir/qml, skip rather than work around
tst_declarative_ui
)
src_install() {
qt6-build_src_install
if use test; then
local delete=( # sigh
"${D}${QT6_LIBDIR}"/cmake/Qt6Location/*TestGeoServicePlugin*.cmake
"${D}${QT6_LIBDIR}"/cmake/Qt6Location/*UnsupportedPlacesGeoServicePlugin*.cmake
"${D}${QT6_LIBDIR}"/cmake/Qt6Qml/QmlPlugins/*declarative_location_test*.cmake
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_geocodingplugin.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_placesplugin_unsupported.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_qmltestplugin.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_routingplugin.so
"${D}${QT6_QMLDIR}"/QtLocation/Test
)
# using -f given not tracking which tests may be skipped or not
rm -rf -- "${delete[@]}" || die
fi
}

View File

@ -0,0 +1,44 @@
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Location (places, maps, navigation) library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
fi
RDEPEND="
~dev-qt/qtbase-${PV}:6[network]
~dev-qt/qtdeclarative-${PV}:6
~dev-qt/qtpositioning-${PV}:6[qml]
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# ignores QML_IMPORT_PATH (unlike other tests) and looks in
# the missing builddir/qml, skip rather than work around
tst_declarative_ui
)
src_install() {
qt6-build_src_install
if use test; then
local delete=( # sigh
"${D}${QT6_LIBDIR}"/cmake/Qt6Location/*TestGeoServicePlugin*.cmake
"${D}${QT6_LIBDIR}"/cmake/Qt6Location/*UnsupportedPlacesGeoServicePlugin*.cmake
"${D}${QT6_LIBDIR}"/cmake/Qt6Qml/QmlPlugins/*declarative_location_test*.cmake
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_geocodingplugin.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_placesplugin_unsupported.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_qmltestplugin.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_routingplugin.so
"${D}${QT6_QMLDIR}"/QtLocation/Test
)
# using -f given not tracking which tests may be skipped or not
rm -rf -- "${delete[@]}" || die
fi
}

View File

@ -0,0 +1,44 @@
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qt6-build
DESCRIPTION="Location (places, maps, navigation) library for the Qt6 framework"
if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
fi
RDEPEND="
~dev-qt/qtbase-${PV}:6[network]
~dev-qt/qtdeclarative-${PV}:6
~dev-qt/qtpositioning-${PV}:6[qml]
"
DEPEND="${RDEPEND}"
CMAKE_SKIP_TESTS=(
# ignores QML_IMPORT_PATH (unlike other tests) and looks in
# the missing builddir/qml, skip rather than work around
tst_declarative_ui
)
src_install() {
qt6-build_src_install
if use test; then
local delete=( # sigh
"${D}${QT6_LIBDIR}"/cmake/Qt6Location/*TestGeoServicePlugin*.cmake
"${D}${QT6_LIBDIR}"/cmake/Qt6Location/*UnsupportedPlacesGeoServicePlugin*.cmake
"${D}${QT6_LIBDIR}"/cmake/Qt6Qml/QmlPlugins/*declarative_location_test*.cmake
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_geocodingplugin.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_placesplugin_unsupported.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_qmltestplugin.so
"${D}${QT6_PLUGINDIR}"/geoservices/libqtgeoservices_routingplugin.so
"${D}${QT6_QMLDIR}"/QtLocation/Test
)
# using -f given not tracking which tests may be skipped or not
rm -rf -- "${delete[@]}" || die
fi
}