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] repo/gentoo:master commit in: app-text/cb2bib/
Date: Mon, 12 Oct 2020 16:15:31 +0000 (UTC)	[thread overview]
Message-ID: <1602519320.b50cd8e2f5c04e20f0bb070bc2b072e8e375d3f6.asturm@gentoo> (raw)

commit:     b50cd8e2f5c04e20f0bb070bc2b072e8e375d3f6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 12 15:21:19 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Oct 12 16:15:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b50cd8e2

app-text/cb2bib: Drop useless REQUIRED_USE, drop IUSE="webengine"

- Non-deprecated QtWebEngine is default now
- IUSE=webkit alone checks preference

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

 app-text/cb2bib/cb2bib-2.0.0.ebuild | 16 +++++++++-------
 app-text/cb2bib/metadata.xml        |  2 +-
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/app-text/cb2bib/cb2bib-2.0.0.ebuild b/app-text/cb2bib/cb2bib-2.0.0.ebuild
index 3eb3286f590..da1a1c1f278 100644
--- a/app-text/cb2bib/cb2bib-2.0.0.ebuild
+++ b/app-text/cb2bib/cb2bib-2.0.0.ebuild
@@ -12,9 +12,7 @@ SRC_URI="https://www.molspaces.com/dl/progs/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="+lzo webengine +webkit"
-
-REQUIRED_USE="?? ( webkit webengine )"
+IUSE="+lzo webkit"
 
 DEPEND="
 	dev-qt/qtcore:5
@@ -22,7 +20,7 @@ DEPEND="
 	dev-qt/qtnetwork:5
 	dev-qt/qtwidgets:5
 	lzo? ( dev-libs/lzo:2 )
-	webengine? ( dev-qt/qtwebengine:5[widgets] )
+	!webkit? ( dev-qt/qtwebengine:5[widgets] )
 	webkit? ( dev-qt/qtwebkit:5 )
 "
 RDEPEND="${DEPEND}"
@@ -32,10 +30,14 @@ DOCS=( AUTHORS CHANGELOG COPYRIGHT )
 src_prepare() {
 	default
 
-	sed -i -e "s|../AUTHORS ../COPYRIGHT ../LICENSE ../CHANGELOG||" src/src.pro || die
+	sed -e "s|../AUTHORS ../COPYRIGHT ../LICENSE ../CHANGELOG||" \
+		-i src/src.pro || die
 
-	use webengine || sed -i -e "s/qtHaveModule(webenginewidgets)/false/g" src/src.pro || die
-	use webkit || sed -i -e "s/qtHaveModule(webkitwidgets)/false/g" src/src.pro || die
+	if use webkit; then
+		sed -i -e "s/qtHaveModule(webenginewidgets)/false/g" src/src.pro || die
+	else
+		sed -i -e "s/qtHaveModule(webkitwidgets)/false/g" src/src.pro || die
+	fi
 }
 
 src_configure() {

diff --git a/app-text/cb2bib/metadata.xml b/app-text/cb2bib/metadata.xml
index dca6445c892..bb01d3fe4e6 100644
--- a/app-text/cb2bib/metadata.xml
+++ b/app-text/cb2bib/metadata.xml
@@ -6,7 +6,7 @@
 		<name>Gentoo Qt Project</name>
 	</maintainer>
 	<use>
-		<flag name="webengine">Use <pkg>dev-qt/qtwebengine</pkg> instead of <pkg>dev-qt/qtwebkit</pkg></flag>
+		<flag name="webkit">Use <pkg>dev-qt/qtwebkit</pkg> instead of <pkg>dev-qt/qtwebengine</pkg></flag>
 	</use>
 	<upstream>
 		<bugs-to>mailto:webmaster@molspaces.com</bugs-to>


             reply	other threads:[~2020-10-12 16:15 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12 16:15 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-21  7:00 [gentoo-commits] repo/gentoo:master commit in: app-text/cb2bib/ Andreas Sturmlechner
2025-04-21  4:31 Sam James
2024-11-23 11:36 Andreas Sturmlechner
2022-08-01  2:33 Sam James
2020-10-23 23:27 Andreas Sturmlechner
2020-10-23 23:27 Andreas Sturmlechner
2020-08-16 22:25 Andreas Sturmlechner
2020-08-12  6:01 Agostino Sarubbo
2020-08-09 11:56 Andreas Sturmlechner
2020-08-09 11:56 Andreas Sturmlechner
2020-02-17 12:13 Agostino Sarubbo
2019-03-31 12:02 Michael Palimaka
2018-11-08 13:45 Michael Palimaka
2018-09-10 19:46 Andreas Sturmlechner
2018-09-09  8:20 Mikle Kolyada
2018-08-18  6:50 Andreas Sturmlechner
2017-07-29  3:52 Michael Palimaka
2017-07-29  3:52 Michael Palimaka
2017-06-29 12:33 Michael Palimaka
2017-04-27 12:17 Michael Palimaka
2017-04-26  7:40 Agostino Sarubbo
2017-03-04  4:16 Michael Palimaka
2016-06-08 16:02 Michael Palimaka
2016-06-08 16:02 Michael Palimaka
2016-06-06 16:15 Agostino Sarubbo
2016-03-18 19:11 Michał Górny

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=1602519320.b50cd8e2f5c04e20f0bb070bc2b072e8e375d3f6.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