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:
5
dev-qt/qtpositioning/Manifest
Normal file
5
dev-qt/qtpositioning/Manifest
Normal file
@ -0,0 +1,5 @@
|
||||
DIST qtlocation-everywhere-opensource-src-5.15.16.tar.xz 6548480 BLAKE2B 9f6d66d22f4ad45935e3e76e275866b236cd842b7a17a3a9e6553f75dcf3048cd70e0b046d5d08c57d4c9d7ea73f723b210d044f44bf494cafbbff590b0703e5 SHA512 321a8e68f731a97c7ef0209d6db0ff4891dd14dc43e14f5c4c5ac763069c7f17298fbc6410326df9265ccd631372cdba662fc82e26a324936d371c8572e19a48
|
||||
DIST qtlocation-everywhere-opensource-src-5.15.17.tar.xz 6550288 BLAKE2B 3c83702a55a0dc1dc000a918f0b4d5b8694c1f51454db79bd01f25e9aec72531195286f4114cee68245a4b18e9de13ec192412f092d35b45caac10227a83a092 SHA512 0f4a317948f46b58497d5d08a91c887c80f74e256d899816d5ec73120dd1931ae6129f6a16bd93b6fc2285141956e0f2c6e6ddebe5c536423fbb6314f4558473
|
||||
DIST qtpositioning-everywhere-src-6.8.2.tar.xz 661464 BLAKE2B 2622579346fd47f6fe6f086b9127e568937c32edb2be1efa07f38dfdc52f9d547f3583643bcd90f3bc6cac76f2b711c01cfe737c002e4995a856837e6bf67f27 SHA512 9f1a6486f9d466e780b8cde469ccc8c51fd62d60201730841ad526a15e5eb6f28b58e24254c2c1384a4a0d5f5ee08a6e9e3348082d4d764fae7014aa21c50429
|
||||
DIST qtpositioning-everywhere-src-6.8.3.tar.xz 663612 BLAKE2B 77bae4fd9750e3d634fb449d85098e1f1a0ae802b88f9f1cb7ccd831dcaaed5d68bb1fe0c6e811b8fe95b736de06423eea09b48901d2ff9267b7abc8cf57a1d8 SHA512 8899b4bf8096211fca37f7a7855ae2c6f79d770602105d76a98b580ad8e2f2f55096095bd7f935f6f9ac36e23135e7594cf3c2e5b760c979560a108d43d57784
|
||||
DIST qtpositioning-everywhere-src-6.9.0.tar.xz 663760 BLAKE2B f202bbd5eba543c162bb4cf074a6042082f6dd1f8ce154d4befb53c8abe06404dc9b403c1535a0c3b1c009df0fa5eac12e78ff046106a90defb311cbf651b88e SHA512 1bcc292590a9d586695708f210eb8a10bd04670a1bfb79eb2a05ce826e1dda57059b06a4da319329bdd3bb974a3d2e4139e6948fa7168ac691e3454989cde8bd
|
||||
23
dev-qt/qtpositioning/metadata.xml
Normal file
23
dev-qt/qtpositioning/metadata.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?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>
|
||||
<use>
|
||||
<flag name="geoclue">Use enhanced location information from <pkg>app-misc/geoclue</pkg></flag>
|
||||
<flag name="nmea">Build plugin for parsing NMEA (National Marine Electronics Association) sentences</flag>
|
||||
<flag name="qml">Build QML bindings</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt.io/</bugs-to>
|
||||
<doc>https://doc.qt.io/</doc>
|
||||
<remote-id type="github">qt/qtpositioning</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>
|
||||
41
dev-qt/qtpositioning/qtpositioning-5.15.16.ebuild
Normal file
41
dev-qt/qtpositioning/qtpositioning-5.15.16.ebuild
Normal file
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
QT5_MODULE="qtlocation"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Physical position determination library for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
IUSE="geoclue +qml"
|
||||
|
||||
RDEPEND="
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
geoclue? ( =dev-qt/qtdbus-${QT5_PV}* )
|
||||
qml? ( =dev-qt/qtdeclarative-${QT5_PV}* )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
geoclue? ( app-misc/geoclue:2.0 )
|
||||
"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/3rdparty/clipper
|
||||
src/3rdparty/poly2tri
|
||||
src/3rdparty/clip2tri
|
||||
src/positioning
|
||||
src/plugins/position/positionpoll
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use geoclue && QT5_TARGET_SUBDIRS+=( src/plugins/position/geoclue2 )
|
||||
use qml && QT5_TARGET_SUBDIRS+=(
|
||||
src/positioningquick
|
||||
src/imports/positioning
|
||||
)
|
||||
}
|
||||
41
dev-qt/qtpositioning/qtpositioning-5.15.17.ebuild
Normal file
41
dev-qt/qtpositioning/qtpositioning-5.15.17.ebuild
Normal file
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
QT5_MODULE="qtlocation"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Physical position determination library for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
IUSE="geoclue +qml"
|
||||
|
||||
RDEPEND="
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
geoclue? ( =dev-qt/qtdbus-${QT5_PV}* )
|
||||
qml? ( =dev-qt/qtdeclarative-${QT5_PV}* )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
geoclue? ( app-misc/geoclue:2.0 )
|
||||
"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/3rdparty/clipper
|
||||
src/3rdparty/poly2tri
|
||||
src/3rdparty/clip2tri
|
||||
src/positioning
|
||||
src/plugins/position/positionpoll
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use geoclue && QT5_TARGET_SUBDIRS+=( src/plugins/position/geoclue2 )
|
||||
use qml && QT5_TARGET_SUBDIRS+=(
|
||||
src/positioningquick
|
||||
src/imports/positioning
|
||||
)
|
||||
}
|
||||
68
dev-qt/qtpositioning/qtpositioning-6.10.3.ebuild
Normal file
68
dev-qt/qtpositioning/qtpositioning-6.10.3.ebuild
Normal file
@ -0,0 +1,68 @@
|
||||
# Copyright 2021-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qt6-build
|
||||
|
||||
DESCRIPTION="Physical position determination library for the Qt6 framework"
|
||||
|
||||
if [[ ${QT6_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
IUSE="geoclue nmea +qml"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtbase-${PV}:6
|
||||
geoclue? ( ~dev-qt/qtbase-${PV}:6[dbus] )
|
||||
nmea? (
|
||||
~dev-qt/qtbase-${PV}:6[network]
|
||||
~dev-qt/qtserialport-${PV}:6
|
||||
)
|
||||
qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
geoclue? ( app-misc/geoclue:2.0 )
|
||||
"
|
||||
|
||||
CMAKE_SKIP_TESTS=(
|
||||
# threads test (rarely) fails randomly
|
||||
tst_qgeoareamonitor
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt6-build_src_prepare
|
||||
|
||||
# unfortunately cmake_use_find_package would break things with qtbase
|
||||
use geoclue ||
|
||||
sed -e 's/TARGET Qt::DBus/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
use nmea ||
|
||||
sed -e 's/TARGET Qt::Network/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt6-build_src_install
|
||||
|
||||
if use test; then
|
||||
local delete=( # sigh
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*DummyPlugin*.cmake
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*TestPlugin*.cmake
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_satellitesourcetest.so
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_testplugin{,2}.so
|
||||
)
|
||||
# using -f given not tracking which tests may be skipped or not
|
||||
rm -f -- "${delete[@]}" || die
|
||||
fi
|
||||
}
|
||||
68
dev-qt/qtpositioning/qtpositioning-6.11.1.ebuild
Normal file
68
dev-qt/qtpositioning/qtpositioning-6.11.1.ebuild
Normal file
@ -0,0 +1,68 @@
|
||||
# Copyright 2021-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qt6-build
|
||||
|
||||
DESCRIPTION="Physical position determination library for the Qt6 framework"
|
||||
|
||||
if [[ ${QT6_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
IUSE="geoclue nmea +qml"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtbase-${PV}:6
|
||||
geoclue? ( ~dev-qt/qtbase-${PV}:6[dbus] )
|
||||
nmea? (
|
||||
~dev-qt/qtbase-${PV}:6[network]
|
||||
~dev-qt/qtserialport-${PV}:6
|
||||
)
|
||||
qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
geoclue? ( app-misc/geoclue:2.0 )
|
||||
"
|
||||
|
||||
CMAKE_SKIP_TESTS=(
|
||||
# threads test (rarely) fails randomly
|
||||
tst_qgeoareamonitor
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt6-build_src_prepare
|
||||
|
||||
# unfortunately cmake_use_find_package would break things with qtbase
|
||||
use geoclue ||
|
||||
sed -e 's/TARGET Qt::DBus/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
use nmea ||
|
||||
sed -e 's/TARGET Qt::Network/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt6-build_src_install
|
||||
|
||||
if use test; then
|
||||
local delete=( # sigh
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*DummyPlugin*.cmake
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*TestPlugin*.cmake
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_satellitesourcetest.so
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_testplugin{,2}.so
|
||||
)
|
||||
# using -f given not tracking which tests may be skipped or not
|
||||
rm -f -- "${delete[@]}" || die
|
||||
fi
|
||||
}
|
||||
68
dev-qt/qtpositioning/qtpositioning-6.11.9999.ebuild
Normal file
68
dev-qt/qtpositioning/qtpositioning-6.11.9999.ebuild
Normal file
@ -0,0 +1,68 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qt6-build
|
||||
|
||||
DESCRIPTION="Physical position determination library for the Qt6 framework"
|
||||
|
||||
if [[ ${QT6_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
IUSE="geoclue nmea +qml"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtbase-${PV}:6
|
||||
geoclue? ( ~dev-qt/qtbase-${PV}:6[dbus] )
|
||||
nmea? (
|
||||
~dev-qt/qtbase-${PV}:6[network]
|
||||
~dev-qt/qtserialport-${PV}:6
|
||||
)
|
||||
qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
geoclue? ( app-misc/geoclue:2.0 )
|
||||
"
|
||||
|
||||
CMAKE_SKIP_TESTS=(
|
||||
# threads test (rarely) fails randomly
|
||||
tst_qgeoareamonitor
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt6-build_src_prepare
|
||||
|
||||
# unfortunately cmake_use_find_package would break things with qtbase
|
||||
use geoclue ||
|
||||
sed -e 's/TARGET Qt::DBus/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
use nmea ||
|
||||
sed -e 's/TARGET Qt::Network/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt6-build_src_install
|
||||
|
||||
if use test; then
|
||||
local delete=( # sigh
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*DummyPlugin*.cmake
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*TestPlugin*.cmake
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_satellitesourcetest.so
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_testplugin{,2}.so
|
||||
)
|
||||
# using -f given not tracking which tests may be skipped or not
|
||||
rm -f -- "${delete[@]}" || die
|
||||
fi
|
||||
}
|
||||
68
dev-qt/qtpositioning/qtpositioning-6.12.9999.ebuild
Normal file
68
dev-qt/qtpositioning/qtpositioning-6.12.9999.ebuild
Normal file
@ -0,0 +1,68 @@
|
||||
# Copyright 2021-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qt6-build
|
||||
|
||||
DESCRIPTION="Physical position determination library for the Qt6 framework"
|
||||
|
||||
if [[ ${QT6_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
IUSE="geoclue nmea +qml"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtbase-${PV}:6
|
||||
geoclue? ( ~dev-qt/qtbase-${PV}:6[dbus] )
|
||||
nmea? (
|
||||
~dev-qt/qtbase-${PV}:6[network]
|
||||
~dev-qt/qtserialport-${PV}:6
|
||||
)
|
||||
qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
geoclue? ( app-misc/geoclue:2.0 )
|
||||
"
|
||||
|
||||
CMAKE_SKIP_TESTS=(
|
||||
# threads test (rarely) fails randomly
|
||||
tst_qgeoareamonitor
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt6-build_src_prepare
|
||||
|
||||
# unfortunately cmake_use_find_package would break things with qtbase
|
||||
use geoclue ||
|
||||
sed -e 's/TARGET Qt::DBus/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
use nmea ||
|
||||
sed -e 's/TARGET Qt::Network/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt6-build_src_install
|
||||
|
||||
if use test; then
|
||||
local delete=( # sigh
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*DummyPlugin*.cmake
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*TestPlugin*.cmake
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_satellitesourcetest.so
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_testplugin{,2}.so
|
||||
)
|
||||
# using -f given not tracking which tests may be skipped or not
|
||||
rm -f -- "${delete[@]}" || die
|
||||
fi
|
||||
}
|
||||
68
dev-qt/qtpositioning/qtpositioning-6.8.2.ebuild
Normal file
68
dev-qt/qtpositioning/qtpositioning-6.8.2.ebuild
Normal file
@ -0,0 +1,68 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qt6-build
|
||||
|
||||
DESCRIPTION="Physical position determination library for the Qt6 framework"
|
||||
|
||||
if [[ ${QT6_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
IUSE="geoclue nmea +qml"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtbase-${PV}:6
|
||||
geoclue? ( ~dev-qt/qtbase-${PV}:6[dbus] )
|
||||
nmea? (
|
||||
~dev-qt/qtbase-${PV}:6[network]
|
||||
~dev-qt/qtserialport-${PV}:6
|
||||
)
|
||||
qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
geoclue? ( app-misc/geoclue:2.0 )
|
||||
"
|
||||
|
||||
CMAKE_SKIP_TESTS=(
|
||||
# threads test (rarely) fails randomly
|
||||
tst_qgeoareamonitor
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt6-build_src_prepare
|
||||
|
||||
# unfortunately cmake_use_find_package would break things with qtbase
|
||||
use geoclue ||
|
||||
sed -e 's/TARGET Qt::DBus/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
use nmea ||
|
||||
sed -e 's/TARGET Qt::Network/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt6-build_src_install
|
||||
|
||||
if use test; then
|
||||
local delete=( # sigh
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*DummyPlugin*.cmake
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*TestPlugin*.cmake
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_satellitesourcetest.so
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_testplugin{,2}.so
|
||||
)
|
||||
# using -f given not tracking which tests may be skipped or not
|
||||
rm -f -- "${delete[@]}" || die
|
||||
fi
|
||||
}
|
||||
68
dev-qt/qtpositioning/qtpositioning-6.8.3.ebuild
Normal file
68
dev-qt/qtpositioning/qtpositioning-6.8.3.ebuild
Normal file
@ -0,0 +1,68 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qt6-build
|
||||
|
||||
DESCRIPTION="Physical position determination library for the Qt6 framework"
|
||||
|
||||
if [[ ${QT6_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
IUSE="geoclue nmea +qml"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtbase-${PV}:6
|
||||
geoclue? ( ~dev-qt/qtbase-${PV}:6[dbus] )
|
||||
nmea? (
|
||||
~dev-qt/qtbase-${PV}:6[network]
|
||||
~dev-qt/qtserialport-${PV}:6
|
||||
)
|
||||
qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
geoclue? ( app-misc/geoclue:2.0 )
|
||||
"
|
||||
|
||||
CMAKE_SKIP_TESTS=(
|
||||
# threads test (rarely) fails randomly
|
||||
tst_qgeoareamonitor
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt6-build_src_prepare
|
||||
|
||||
# unfortunately cmake_use_find_package would break things with qtbase
|
||||
use geoclue ||
|
||||
sed -e 's/TARGET Qt::DBus/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
use nmea ||
|
||||
sed -e 's/TARGET Qt::Network/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt6-build_src_install
|
||||
|
||||
if use test; then
|
||||
local delete=( # sigh
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*DummyPlugin*.cmake
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*TestPlugin*.cmake
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_satellitesourcetest.so
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_testplugin{,2}.so
|
||||
)
|
||||
# using -f given not tracking which tests may be skipped or not
|
||||
rm -f -- "${delete[@]}" || die
|
||||
fi
|
||||
}
|
||||
68
dev-qt/qtpositioning/qtpositioning-6.9.0.ebuild
Normal file
68
dev-qt/qtpositioning/qtpositioning-6.9.0.ebuild
Normal file
@ -0,0 +1,68 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qt6-build
|
||||
|
||||
DESCRIPTION="Physical position determination library for the Qt6 framework"
|
||||
|
||||
if [[ ${QT6_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
IUSE="geoclue nmea +qml"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtbase-${PV}:6
|
||||
geoclue? ( ~dev-qt/qtbase-${PV}:6[dbus] )
|
||||
nmea? (
|
||||
~dev-qt/qtbase-${PV}:6[network]
|
||||
~dev-qt/qtserialport-${PV}:6
|
||||
)
|
||||
qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
geoclue? ( app-misc/geoclue:2.0 )
|
||||
"
|
||||
|
||||
CMAKE_SKIP_TESTS=(
|
||||
# threads test (rarely) fails randomly
|
||||
tst_qgeoareamonitor
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt6-build_src_prepare
|
||||
|
||||
# unfortunately cmake_use_find_package would break things with qtbase
|
||||
use geoclue ||
|
||||
sed -e 's/TARGET Qt::DBus/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
use nmea ||
|
||||
sed -e 's/TARGET Qt::Network/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt6-build_src_install
|
||||
|
||||
if use test; then
|
||||
local delete=( # sigh
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*DummyPlugin*.cmake
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*TestPlugin*.cmake
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_satellitesourcetest.so
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_testplugin{,2}.so
|
||||
)
|
||||
# using -f given not tracking which tests may be skipped or not
|
||||
rm -f -- "${delete[@]}" || die
|
||||
fi
|
||||
}
|
||||
68
dev-qt/qtpositioning/qtpositioning-6.9.9999.ebuild
Normal file
68
dev-qt/qtpositioning/qtpositioning-6.9.9999.ebuild
Normal file
@ -0,0 +1,68 @@
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qt6-build
|
||||
|
||||
DESCRIPTION="Physical position determination library for the Qt6 framework"
|
||||
|
||||
if [[ ${QT6_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
IUSE="geoclue nmea +qml"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtbase-${PV}:6
|
||||
geoclue? ( ~dev-qt/qtbase-${PV}:6[dbus] )
|
||||
nmea? (
|
||||
~dev-qt/qtbase-${PV}:6[network]
|
||||
~dev-qt/qtserialport-${PV}:6
|
||||
)
|
||||
qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
geoclue? ( app-misc/geoclue:2.0 )
|
||||
"
|
||||
|
||||
CMAKE_SKIP_TESTS=(
|
||||
# threads test (rarely) fails randomly
|
||||
tst_qgeoareamonitor
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt6-build_src_prepare
|
||||
|
||||
# unfortunately cmake_use_find_package would break things with qtbase
|
||||
use geoclue ||
|
||||
sed -e 's/TARGET Qt::DBus/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
use nmea ||
|
||||
sed -e 's/TARGET Qt::Network/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt6-build_src_install
|
||||
|
||||
if use test; then
|
||||
local delete=( # sigh
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*DummyPlugin*.cmake
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*TestPlugin*.cmake
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_satellitesourcetest.so
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_testplugin{,2}.so
|
||||
)
|
||||
# using -f given not tracking which tests may be skipped or not
|
||||
rm -f -- "${delete[@]}" || die
|
||||
fi
|
||||
}
|
||||
68
dev-qt/qtpositioning/qtpositioning-6.9999.ebuild
Normal file
68
dev-qt/qtpositioning/qtpositioning-6.9999.ebuild
Normal file
@ -0,0 +1,68 @@
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qt6-build
|
||||
|
||||
DESCRIPTION="Physical position determination library for the Qt6 framework"
|
||||
|
||||
if [[ ${QT6_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
IUSE="geoclue nmea +qml"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtbase-${PV}:6
|
||||
geoclue? ( ~dev-qt/qtbase-${PV}:6[dbus] )
|
||||
nmea? (
|
||||
~dev-qt/qtbase-${PV}:6[network]
|
||||
~dev-qt/qtserialport-${PV}:6
|
||||
)
|
||||
qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
geoclue? ( app-misc/geoclue:2.0 )
|
||||
"
|
||||
|
||||
CMAKE_SKIP_TESTS=(
|
||||
# threads test (rarely) fails randomly
|
||||
tst_qgeoareamonitor
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt6-build_src_prepare
|
||||
|
||||
# unfortunately cmake_use_find_package would break things with qtbase
|
||||
use geoclue ||
|
||||
sed -e 's/TARGET Qt::DBus/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
use nmea ||
|
||||
sed -e 's/TARGET Qt::Network/FALSE/' \
|
||||
-i src/plugins/position/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
)
|
||||
|
||||
qt6-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt6-build_src_install
|
||||
|
||||
if use test; then
|
||||
local delete=( # sigh
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*DummyPlugin*.cmake
|
||||
"${D}${QT6_LIBDIR}"/cmake/Qt6Positioning/*TestPlugin*.cmake
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_satellitesourcetest.so
|
||||
"${D}${QT6_PLUGINDIR}"/position/libqtposition_testplugin{,2}.so
|
||||
)
|
||||
# using -f given not tracking which tests may be skipped or not
|
||||
rm -f -- "${delete[@]}" || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user