diff options
Diffstat (limited to 'www-client/falkon')
| -rw-r--r-- | www-client/falkon/Manifest | 1 | ||||
| -rw-r--r-- | www-client/falkon/falkon-24.02.2.ebuild | 83 |
2 files changed, 84 insertions, 0 deletions
diff --git a/www-client/falkon/Manifest b/www-client/falkon/Manifest new file mode 100644 index 00000000000..99f53cabe4a --- /dev/null +++ b/www-client/falkon/Manifest @@ -0,0 +1 @@ +DIST falkon-24.02.2.tar.xz 2577636 BLAKE2B 418a6fa17f5e9ef1a4df169c7f47bc6777930abcd37d276a563135121697a3d028a374629710a46b77bdd648ffd1de86784d2eb084e72ccd718947031d69e1c6 SHA512 37493aa624903b4d1fc5fbc8ddc12c7171da8db0f57c8aa9ce9450951538f2eb327102f62ee682da515a6fbb256079dd4e4a814922fdd33d6e74c5a9c4ef7f9b diff --git a/www-client/falkon/falkon-24.02.2.ebuild b/www-client/falkon/falkon-24.02.2.ebuild new file mode 100644 index 00000000000..34faabc2be7 --- /dev/null +++ b/www-client/falkon/falkon-24.02.2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="true" +KFMIN=6.0.0 +QTMIN=6.6.2 +PYTHON_COMPAT=( python3_{10..12} ) +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" +IUSE="dbus kde python +X" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="test" # bug 653046 + +COMMON_DEPEND=" + dev-libs/openssl:0= + >=dev-qt/qt5compat-${QTMIN}:6 + >=dev-qt/qtbase-${QTMIN}:6[dbus?,gui,network,sql,sqlite,ssl,widgets] + >=dev-qt/qtdeclarative-${QTMIN}:6[widgets] + >=dev-qt/qtwebchannel-${QTMIN}:6 + >=dev-qt/qtwebengine-${QTMIN}:6=[widgets] + >=kde-frameworks/karchive-${KFMIN}:6 + virtual/libintl + kde? ( + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/kjobwidgets-${KFMIN}:6 + >=kde-frameworks/kwallet-${KFMIN}:6 + >=kde-frameworks/purpose-${KFMIN}:6 + ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep " + >=dev-python/pyside6-${QTMIN}[designer,gui,webengine,widgets,\${PYTHON_USEDEP}] \ + >=dev-python/shiboken6-${QTMIN}[\${PYTHON_USEDEP}] + ") + ) + X? ( + x11-libs/libxcb:= + x11-libs/xcb-util + ) +" +DEPEND="${COMMON_DEPEND} + >=dev-qt/qtbase-${QTMIN}:6[concurrent] +" +if [[ ${KDE_BUILD_TYPE} != live ]]; then + DEPEND+=" >=kde-frameworks/ki18n-${KFMIN}:6" +fi +RDEPEND="${COMMON_DEPEND} + >=dev-qt/qtsvg-${QTMIN}:6 +" +BDEPEND=">=dev-qt/qttools-${QTMIN}:6[linguist]" + +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 KF6Wallet) + $(cmake_use_find_package kde KF6KIO) + -DBUILD_PYTHON_SUPPORT=$(usex python) + -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 +} |
