poppler: adapt to new qt6 build option in 24.04.x

This commit is contained in:
Andreas Cord-Landwehr
2024-10-05 11:06:50 +02:00
parent 127cf3b870
commit 51fb0d69fe

View File

@@ -1,6 +1,9 @@
# SPDX-FileCopyrightText: 2020 Andreas Cord-Landwehr <cordlandwehr@kde.org>
# SPDX-FileCopyrightText: 2020-2024 Andreas Cord-Landwehr <cordlandwehr@kde.org>
#
# SPDX-License-Identifier: MIT
PACKAGECONFIG:append = " qt5"
# scarthgap poppler packaging only provides qt5 build option that is conflicting with
# qt6 option for later versions; yet due to the inherit hack the old version builds against qt6
QT_CONFIG = "${@bb.utils.contains('PV', '23.04.0', 'qt5', 'qt6', d)}"
PACKAGECONFIG:append = " ${QT_CONFIG}"
inherit qt6-cmake