mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-qt/qtpositioning: add 6.10.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
61dc4b3cb7
commit
690d563912
@ -1,3 +1,4 @@
|
||||
DIST qtlocation-everywhere-opensource-src-5.15.18.tar.xz 6534556 BLAKE2B 5b8e7cc45c640ab9c753cb54e22574f2246f807802fac2c4376360e343b863c800b640edeea2569ad8af6b2fd56110eafd82792b111258f8997943f080003f13 SHA512 587e1cc8c8f46ab09ea79c4142dbecc52466dafa94c4bfa61264eba4f202fb5e2979d1ae6ba5fb924376d75764f28b58c7bcc03ab29edef2524aa872adb3c936
|
||||
DIST qtpositioning-everywhere-src-6.10.0.tar.xz 648912 BLAKE2B 5480eab63b2eb9abbc71bf4cf02621a89beef0c2ee82e89c05201ee71377604892285e41c8d1a6bd69d3a698d8700c19e0d568d56c0f61400dad30fd90ab27a8 SHA512 5fe4b12d9e8464a5f730e36045079742939abad6dc4279e79df5620ef9522406f8e659559fcb1dc60aa92a9af93cc3f14bbeeccc5efb05774ccc2c4788392cf1
|
||||
DIST qtpositioning-everywhere-src-6.10.1.tar.xz 649012 BLAKE2B ec925df18235a79a1e7e63c9c09b722ac42ba63f3661f0c18e524bb9b849061d40eb2eca8f06530c6177806286d6ec5e0deb5d2a07414cd396fe36d97e628d19 SHA512 738f88b1531d1ce980ceab974293ddc8139d7c9d84a3097e5e4dc48cd54ea9b34c447bb4060969cd8cc171e737c1968835fd7dd9229e3ed55344a836cddf9c9c
|
||||
DIST qtpositioning-everywhere-src-6.9.3.tar.xz 649260 BLAKE2B 3943dac4012f4fe93109bfd171e04428d9792d68c2e4a43a7ceb68701b937125e2d395ef19bb36af3fc163ca4919f2b411ae7fac260f80a6efe7772171069d07 SHA512 d76acf54df301b678e138486f1fda1a5ccb814bc80c8f5bfd16b075b1abc300f19798c54190be072ecbd2961060c19b370f72ff490cee0b23684dd8fa95dc250
|
||||
|
||||
68
dev-qt/qtpositioning/qtpositioning-6.10.1.ebuild
Normal file
68
dev-qt/qtpositioning/qtpositioning-6.10.1.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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user