diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-03-25 17:47:32 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-03-26 12:34:40 +0200 |
commit | 787c358bb9bb58749fdc19bbb5733366eca70012 (patch) | |
tree | 18d850cd565f6616d34ee6398c6ab90ab255d9db /www-client | |
parent | kde-apps/konqueror: Add 23.04 stable branch (diff) | |
download | kde-787c358bb9bb58749fdc19bbb5733366eca70012.tar.gz kde-787c358bb9bb58749fdc19bbb5733366eca70012.tar.bz2 kde-787c358bb9bb58749fdc19bbb5733366eca70012.zip |
www-client/falkon: Add 23.04 stable branch
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/falkon/falkon-23.04.49.9999.ebuild | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/www-client/falkon/falkon-23.04.49.9999.ebuild b/www-client/falkon/falkon-23.04.49.9999.ebuild new file mode 100644 index 0000000000..454d096cb3 --- /dev/null +++ b/www-client/falkon/falkon-23.04.49.9999.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="true" +KFMIN=5.104.0 +QTMIN=5.15.5 +PYTHON_COMPAT=( python3_{9..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="" +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 +} |