public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: www-client/falkon/
Date: Fri,  4 Feb 2022 14:11:30 +0000 (UTC)	[thread overview]
Message-ID: <1643982725.d32281081a4be1697c7e5635f60b340dfab6dbe4.asturm@gentoo> (raw)

commit:     d32281081a4be1697c7e5635f60b340dfab6dbe4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  4 13:46:46 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Feb  4 13:52:05 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=d3228108

www-client/falkon: Add IUSE=python

- Move dev-qt/linguist-tools to BDEPEND where it belongs
- Set BUILD_KEYRING=OFF as was done in Gentoo ebuild repo
- Fix SRC_URI for latest release

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 www-client/falkon/falkon-9999.ebuild | 32 ++++++++++++++++++++++++++------
 1 file changed, 26 insertions(+), 6 deletions(-)

diff --git a/www-client/falkon/falkon-9999.ebuild b/www-client/falkon/falkon-9999.ebuild
index 5f9f42b041..702af5b75a 100644
--- a/www-client/falkon/falkon-9999.ebuild
+++ b/www-client/falkon/falkon-9999.ebuild
@@ -4,23 +4,25 @@
 EAPI=8
 
 ECM_TEST="true"
-KFMIN=5.82.0
+KFMIN=5.88.0
 QTMIN=5.15.2
+PYTHON_COMPAT=( python3_{8..10} )
 VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
+inherit ecm kde.org python-single-r1
 
 DESCRIPTION="Cross-platform web browser using QtWebEngine"
 HOMEPAGE="https://www.falkon.org/ https://apps.kde.org/falkon/"
 
 if [[ ${KDE_BUILD_TYPE} != live ]]; then
-	SRC_URI="mirror://kde/stable/${PN}/${PV%.0}/${P}.tar.xz"
-	KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+	SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
+	KEYWORDS="~amd64 ~arm64 ~x86"
 fi
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="dbus kde +X"
+IUSE="dbus kde python +X"
 
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="test" # bug 653046
 
 COMMON_DEPEND="
@@ -43,6 +45,13 @@ COMMON_DEPEND="
 		>=kde-frameworks/kwallet-${KFMIN}:5
 		>=kde-frameworks/purpose-${KFMIN}:5
 	)
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/pyside2[designer,gui,widgets,${PYTHON_USEDEP}]
+			dev-python/shiboken2[${PYTHON_USEDEP}]
+		')
+	)
 	X? (
 		>=dev-qt/qtx11extras-${QTMIN}:5
 		x11-libs/libxcb:=
@@ -50,7 +59,6 @@ COMMON_DEPEND="
 	)
 "
 DEPEND="${COMMON_DEPEND}
-	>=dev-qt/linguist-tools-${QTMIN}:5
 	>=dev-qt/qtconcurrent-${QTMIN}:5
 "
 if [[ ${KDE_BUILD_TYPE} != live ]]; then
@@ -59,12 +67,24 @@ fi
 RDEPEND="${COMMON_DEPEND}
 	>=dev-qt/qtsvg-${QTMIN}:5
 "
+BDEPEND="
+	>=dev-qt/linguist-tools-${QTMIN}:5
+"
+
+pkg_setup() {
+	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)
 	)
 	ecm_src_configure


             reply	other threads:[~2022-02-04 14:11 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-04 14:11 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-04 19:42 [gentoo-commits] proj/kde:master commit in: www-client/falkon/ Andreas Sturmlechner
2025-01-06 23:06 Andreas Sturmlechner
2024-08-29 15:25 Andreas Sturmlechner
2024-04-06 20:43 Andreas Sturmlechner
2024-02-27 22:28 Sam James
2023-12-17 21:51 Andreas Sturmlechner
2022-08-15 21:14 Andreas Sturmlechner
2022-02-06 10:49 Andreas Sturmlechner
2022-02-02 19:46 Andreas Sturmlechner
2022-02-02 19:46 Andreas Sturmlechner
2022-02-02 19:46 Andreas Sturmlechner
2021-02-25 10:59 Andreas Sturmlechner
2021-02-01 23:45 Andreas Sturmlechner
2019-11-11  0:19 Andreas Sturmlechner
2019-07-15 17:43 Andreas Sturmlechner
2019-04-27 18:27 Andreas Sturmlechner
2019-04-27 18:27 Andreas Sturmlechner
2019-04-27 18:27 Andreas Sturmlechner
2019-03-22 21:38 Andreas Sturmlechner
2019-02-24 15:32 Andreas Sturmlechner
2019-01-26 23:45 Andreas Sturmlechner
2018-05-09  7:47 Andreas Sturmlechner
2018-05-09  7:43 Andreas Sturmlechner
2018-04-12 18:40 Andreas Sturmlechner
2018-04-12 18:40 Andreas Sturmlechner
2018-04-05 21:57 Andreas Sturmlechner
2018-04-03 15:24 Andreas Sturmlechner
2018-03-17  0:27 Andreas Sturmlechner
2018-03-01 13:20 Andreas Sturmlechner
2018-01-25 19:17 Jimi Huotari
2018-01-25 19:17 Jimi Huotari
2018-01-24 16:45 Andreas Sturmlechner
2017-12-28 10:58 Andreas Sturmlechner
2017-10-23 11:06 Michael Palimaka
2017-10-20 17:50 Andreas Sturmlechner
2017-10-11 16:17 Johannes Huber
2017-10-11 16:14 Johannes Huber
2017-10-08 19:07 Andreas Sturmlechner
2017-10-08 18:09 Andreas Sturmlechner
2017-10-08  8:10 Johannes Huber
2017-10-04 16:47 Andreas Sturmlechner
2017-10-03 21:30 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1643982725.d32281081a4be1697c7e5635f60b340dfab6dbe4.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox