# SPDX-License-Identifier: GPL-2.0-or-later # Copyright (C) 2023-present JELOS (https://github.com/JustEnoughLinuxOS) PKG_NAME="qt6wayland" PKG_MAJOR_VERSION="6.6" PKG_VERSION="${PKG_MAJOR_VERSION}.1" PKG_LICENSE="GPLv3" PKG_SITE="https://download.qt.io" PKG_URL="${PKG_SITE}/archive/qt/${PKG_MAJOR_VERSION}/${PKG_VERSION}/submodules/qtwayland-everywhere-src-${PKG_VERSION}.tar.xz" PKG_DEPENDS_HOST="toolchain:host qt6base" PKG_DEPENDS_TARGET="toolchain qt6wayland:host qt6base" PKG_LONGDESC="QT6 wayland" pre_configure_host() { PKG_CMAKE_OPTS_HOST+=" -GNinja \ -DBUILD_WITH_PCH=OFF \ -DQT_BUILD_EXAMPLES=OFF \ -DQT_BUILD_TESTS=OFF \ -DCMAKE_CROSSCOMPILING=OFF" } pre_configure_target() { PKG_CMAKE_OPTS_TARGET+=" -GNinja \ -DQT_HOST_PATH=${PKG_BUILD}/.x86_64-linux-gnu \ -DQT_DEBUG_FIND_PACKAGE=ON \ -DBUILD_WITH_PCH=OFF \ -DQT_BUILD_EXAMPLES=OFF \ -DQT_BUILD_TESTS=OFF" } make_host() { ninja ${NINJA_OPTS} }