From c2ee96b0307df455d970dd1926c8652909ba767c Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 29 Jan 2023 00:51:18 +0000 Subject: Adding metadata --- dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'dev-python/PyQt6-WebEngine') diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild index 711e5524999e..7bdcc2f5b659 100644 --- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild +++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild @@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=sip PYTHON_COMPAT=( python3_{7,8,9,10,11} ) inherit distutils-r1 flag-o-matic multiprocessing qmake-utils -QT_PV="6.3:6" # minimum tested qt version +QT_PV="$(ver_cut 1-2):6" MY_P="${P/-/_}" DESCRIPTION="Python bindings for QtWebEngine" @@ -35,22 +35,19 @@ BDEPEND=" src_prepare() { default - # hack: qmake wants g++ (not clang), try to respect ${CHOST} #726112 + # hack: qmake queries g++ directly for info (not building) and that doesn't + # work with clang, this is to make it at least respect CHOST (bug #726112) mkdir "${T}"/cxx || die ln -s "$(type -P ${CHOST}-g++ || type -P g++ || die)" "${T}"/cxx/g++ || die PATH=${T}/cxx:${PATH} } src_configure() { - append-cxxflags -std=c++17 # for clang and old gcc that default to <17 - - # workaround until bug 863395 has something to offer - local qmake6=$(qt5_get_bindir)/qmake - qmake6=${qmake6//qt5/qt6} + append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331) DISTUTILS_ARGS=( --jobs=$(makeopts_jobs) - --qmake="${qmake6}" + --qmake="$(type -P qmake6 || die)" --qmake-setting="$(qt5_get_qmake_args)" --verbose -- cgit v1.3.1