From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 94C40158095 for ; Mon, 15 Aug 2022 21:14:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 484212BC09C; Mon, 15 Aug 2022 21:14:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 298072BC09C for ; Mon, 15 Aug 2022 21:14:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2EDE7341060 for ; Mon, 15 Aug 2022 21:14:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E502561 for ; Mon, 15 Aug 2022 21:14:18 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1660598001.699d587548c4fda852cc0ac4cdd83d9987c43545.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/falkon/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/falkon/falkon-22.04.3-r1.ebuild X-VCS-Directories: www-client/falkon/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 699d587548c4fda852cc0ac4cdd83d9987c43545 X-VCS-Branch: master Date: Mon, 15 Aug 2022 21:14:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aa067895-dc42-44ba-adb8-af8d1fca02f8 X-Archives-Hash: 49646bb4b830402034cef3c293535b09 commit: 699d587548c4fda852cc0ac4cdd83d9987c43545 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Aug 15 21:10:56 2022 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Aug 15 21:13:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=699d5875 www-client/falkon: Enforce QTMIN on dev-python/{pyside2,shiboken2} Raise QTMIN to 5.15.5 as well for better alignment at least in this version. Bug: https://bugs.gentoo.org/840434 Signed-off-by: Andreas Sturmlechner gentoo.org> www-client/falkon/falkon-22.04.3-r1.ebuild | 92 ++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/www-client/falkon/falkon-22.04.3-r1.ebuild b/www-client/falkon/falkon-22.04.3-r1.ebuild new file mode 100644 index 000000000000..8575a782ae6d --- /dev/null +++ b/www-client/falkon/falkon-22.04.3-r1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="true" +KFMIN=5.92.0 +QTMIN=5.15.5 +PYTHON_COMPAT=( python3_{8..11} ) +VIRTUALX_REQUIRED="test" +inherit ecm gear.kde.org python-single-r1 + +DESCRIPTION="Cross-platform web browser using QtWebEngine" +HOMEPAGE="https://www.falkon.org/ https://apps.kde.org/falkon/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="dbus kde python +X" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="test" # bug 653046 + +COMMON_DEPEND=" + dev-libs/openssl:0= + >=dev-qt/qtdeclarative-${QTMIN}:5[widgets] + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5[ssl] + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtsql-${QTMIN}:5[sqlite] + >=dev-qt/qtwebchannel-${QTMIN}:5 + >=dev-qt/qtwebengine-${QTMIN}:5=[widgets] + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/karchive-${KFMIN}:5 + virtual/libintl + dbus? ( >=dev-qt/qtdbus-${QTMIN}:5 ) + kde? ( + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kwallet-${KFMIN}:5 + >=kde-frameworks/purpose-${KFMIN}:5 + ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep " + >=dev-python/pyside2-${QTMIN}[designer,gui,webengine,widgets,\${PYTHON_USEDEP}] \ + >=dev-python/shiboken2-${QTMIN}[\${PYTHON_USEDEP}] + ") + ) + X? ( + >=dev-qt/qtx11extras-${QTMIN}:5 + x11-libs/libxcb:= + x11-libs/xcb-util + ) +" +DEPEND="${COMMON_DEPEND} + >=dev-qt/qtconcurrent-${QTMIN}:5 +" +if [[ ${KDE_BUILD_TYPE} != live ]]; then + DEPEND+=" >=kde-frameworks/ki18n-${KFMIN}:5" +fi +RDEPEND="${COMMON_DEPEND} + >=dev-qt/qtsvg-${QTMIN}:5 +" +BDEPEND=">=dev-qt/linguist-tools-${QTMIN}:5" + +PATCHES=( "${FILESDIR}/${PN}-22.04.3-python3.patch" ) + +pkg_setup() { + use python && python-single-r1_pkg_setup + ecm_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DBUILD_KEYRING=OFF + -DDISABLE_DBUS=$(usex !dbus) + $(cmake_use_find_package kde KF5Wallet) + $(cmake_use_find_package kde KF5KIO) + $(cmake_use_find_package python PySide2) + $(cmake_use_find_package python Shiboken2) + $(cmake_use_find_package python Python3) + -DNO_X11=$(usex !X) + ) + use python && mycmakeargs+=( + -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" # shiboken_helpers.cmake quirk + -DPython3_INCLUDE_DIR=$(python_get_includedir) + -DPython3_LIBRARY=$(python_get_library_path) + ) + ecm_src_configure +}