# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 if [[ ${PV} != *9999* ]]; then QT5_KDEPATCHSET_REV="r0-0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86" fi QT5_MODULE="qtbase" inherit linux-info flag-o-matic toolchain-funcs qt5-build DESCRIPTION="Cross-platform application development framework" SLOT=5/${QT5_PV} IUSE="icu old-kernel" DEPEND=" dev-libs/double-conversion:= dev-libs/glib:2 dev-libs/libpcre2[pcre16,unicode] virtual/zlib:= icu? ( dev-libs/icu:= ) !icu? ( virtual/libiconv ) " # NonexistentBlocker warnings are expected because older Qt 5 left the repos, # but may remain installed. Keep these blockers: split Qt modules cannot mix # versions. # verified 2026-07-27 RDEPEND="${DEPEND} !> "${D}"/${QT5_HEADERDIR}/QtCore/qconfig.h <<- _EOF_ || die #if defined(QT_NO_${flag}) && defined(QT_${flag}) # undef QT_NO_${flag} #elif !defined(QT_NO_${flag}) && !defined(QT_${flag}) # define QT_NO_${flag} #endif _EOF_ done }