summaryrefslogtreecommitdiff
path: root/www-client/falkon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-25 15:54:35 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-25 15:54:35 +0100
commitd0bb3151c569ab6e40c84c177f43bff3c7ce4780 (patch)
tree0c543a2f299a437229bcd5db5c62697a41243689 /www-client/falkon
parent601320c16301dbd7e8830e8c2ab7d6aef5b65abe (diff)
gentoo auto-resync : 25:08:2023 - 15:54:35
Diffstat (limited to 'www-client/falkon')
-rw-r--r--www-client/falkon/Manifest3
-rw-r--r--www-client/falkon/falkon-23.08.0.ebuild90
-rw-r--r--www-client/falkon/files/falkon-23.07.80-python3.patch32
3 files changed, 125 insertions, 0 deletions
diff --git a/www-client/falkon/Manifest b/www-client/falkon/Manifest
index 0916a2c67d5a..1c2ab4749581 100644
--- a/www-client/falkon/Manifest
+++ b/www-client/falkon/Manifest
@@ -1,4 +1,7 @@
AUX falkon-22.04.3-python3.patch 1214 BLAKE2B 733d67908c009a17d63cf7b9e5012996bfbb9c005feb1ff3c94ccf20958479510cf1858479e7869124815b5a158821b434285b24b6babe95515da130c3f97e8f SHA512 bfd9514a167b24f3149173e34cb57ee5462311e70c8edd269d6cc7df9269c33a5a6da3ad3e312de878b1af7af994996bfa1cbd77d73de4e7242f851ee547a496
+AUX falkon-23.07.80-python3.patch 1264 BLAKE2B d668b68b5282fad9670e0a20a140f621aade354e94a7b57f4093c37a163a7d6d90b8da6b911411a1a14973486f227de6efad3ebb49ca37fa9000ce47071976ef SHA512 33f4157e3f608ea01e95c0b6e46b958287abd943c3da94b7b599af2ef37a6683ff11f44325faf784d9927c6e71857cd086154a2e3e6f9cd90d6030587e0169a7
DIST falkon-23.04.3.tar.xz 2553088 BLAKE2B e6dafe1f22f47c031b2c856aa5ba9a23eb74295c5cf891282ec51894c520383bca94ff42ef94c3396075b734da53adc5a289e4c8a94203b8daf6d6f8e847e527 SHA512 2d77e6f7383b3bf23aa979d57d2ba3a58516f18e3a72bf8a78695b36273ff00877e0109bba0dfa2b09215433457d12f919568cecacd9b96be888b585bf513f83
+DIST falkon-23.08.0.tar.xz 2571348 BLAKE2B 2673df672a17909661d488c425acf8fdb46112920707f038a0a84ff41b977006cccc509e00c1d0d1c4f8200a563b7aedbc2c0d70c9790c07094756932afe9af4 SHA512 f9f1e28a096c528bd5b1a01e9c5aacb89ad75fe2f28dedeb659f383f559142847e989b775d9619866cb41ea36efff1c6ceaa75f1d9adc37b6b04521e8b88b58d
EBUILD falkon-23.04.3.ebuild 2357 BLAKE2B 15f56a0567971c57ce70e2ef2717fea0af9c8cae9419a7aef9378418202811b32da0268e450cee676a9093259e3fd7d0ab069f66256b5a3c6bd492f73886aac7 SHA512 54abfaeb1b8b89e867368c459df290107437ddef30091d5efa96d3b1dceb48bc5d8a26132ef519ae03989b370f7a781813fa5bd6ce54de14e86748cf7e22fb6d
+EBUILD falkon-23.08.0.ebuild 2311 BLAKE2B 9dba5fe5851e94bd7a7f8eabe27e6c6f3b954d4e42574887ec17be79c548100e3cc891aea64483a3f497b799694193344c15deeea40ec57ef4f935b83d44aff0 SHA512 2c6d13f907efa4ae5b2e8c9d7d548ffc5572ded385ba618f17b8d4320ffa1f6c7ea668abb67027de21dadbc04bf7c73d9fce61664338192965cf8b614dd842cb
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
diff --git a/www-client/falkon/falkon-23.08.0.ebuild b/www-client/falkon/falkon-23.08.0.ebuild
new file mode 100644
index 000000000000..3928b72439c9
--- /dev/null
+++ b/www-client/falkon/falkon-23.08.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="true"
+KFMIN=5.106.0
+QTMIN=5.15.9
+PYTHON_COMPAT=( python3_{10..11} )
+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/kjobwidgets-${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}-23.07.80-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)
+ -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
+}
diff --git a/www-client/falkon/files/falkon-23.07.80-python3.patch b/www-client/falkon/files/falkon-23.07.80-python3.patch
new file mode 100644
index 000000000000..d0b0e4bad788
--- /dev/null
+++ b/www-client/falkon/files/falkon-23.07.80-python3.patch
@@ -0,0 +1,32 @@
+From 9415a9da443c9a566dd2220551928c16602fa284 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sun, 17 Jul 2022 12:45:25 +0200
+Subject: [PATCH] Python3 must be found first
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a847838be..1b5b38bbc 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -134,12 +134,12 @@ endif()
+ # Optional: PySide2
+ option(BUILD_PYTHON_SUPPORT "Support for Python plugins" ON)
+ if (BUILD_PYTHON_SUPPORT)
++ find_package(Python3 COMPONENTS Development)
+ find_package(PySide2 "2.0.0")
+ find_package(Shiboken2 "2.0.0")
+- find_package(Python3 COMPONENTS Development)
++ set_package_properties(Python3 PROPERTIES DESCRIPTION "Python plugins" TYPE OPTIONAL)
+ set_package_properties(PySide2 PROPERTIES DESCRIPTION "Python plugins" TYPE OPTIONAL)
+ set_package_properties(Shiboken2 PROPERTIES DESCRIPTION "Python plugins" TYPE OPTIONAL)
+- set_package_properties(Python3 PROPERTIES DESCRIPTION "Python plugins" TYPE OPTIONAL)
+ if (PySide2_FOUND AND Shiboken2_FOUND AND Python3_FOUND)
+ set(ENABLE_PYTHON_PLUGINS TRUE)
+ endif()
+--
+2.41.0
+