public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/otter/
Date: Sat,  3 Mar 2018 03:57:03 +0000 (UTC)	[thread overview]
Message-ID: <1520049421.88c074ca3e58d416a23de2a6f9ef7e0dec357482.jer@gentoo> (raw)

commit:     88c074ca3e58d416a23de2a6f9ef7e0dec357482
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  3 03:56:45 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Mar  3 03:57:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88c074ca

www-client/otter: Allow for both qtwebkit and qtwebengine to be enabled (bug #649170).

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 www-client/otter/otter-0.9.96.ebuild | 22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

diff --git a/www-client/otter/otter-0.9.96.ebuild b/www-client/otter/otter-0.9.96.ebuild
index 8796679bc7d..6db6a4cad02 100644
--- a/www-client/otter/otter-0.9.96.ebuild
+++ b/www-client/otter/otter-0.9.96.ebuild
@@ -11,7 +11,10 @@ SRC_URI="https://github.com/OtterBrowser/${PN}-browser/archive/v${PV/_p/-dev}.ta
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="webengine spell"
+IUSE="webengine +webkit spell"
+REQUIRED_USE="
+	|| ( webengine webkit )
+"
 
 DEPEND="
 	dev-qt/qtconcurrent:5
@@ -25,11 +28,11 @@ DEPEND="
 	dev-qt/qtscript:5
 	dev-qt/qtsql:5
 	dev-qt/qtsvg:5
-	dev-qt/qtwebkit:5
 	dev-qt/qtwidgets:5
 	dev-qt/qtxmlpatterns:5
 	spell? ( kde-frameworks/sonnet )
 	webengine? ( >=dev-qt/qtwebengine-5.9:5[widgets] )
+	webkit? ( dev-qt/qtwebkit:5 )
 "
 RDEPEND="
 	${DEPEND}
@@ -59,17 +62,10 @@ src_prepare() {
 }
 
 src_configure() {
-	if use webengine; then
-		mycmakeargs=(
-			-DENABLE_QTWEBENGINE=yes
-			-DENABLE_QTWEBKIT=no
-		)
-	else
-		mycmakeargs=(
-			-DENABLE_QTWEBENGINE=no
-			-DENABLE_QTWEBKIT=yes
-		)
-	fi
+	mycmakeargs=(
+		-DENABLE_QTWEBENGINE="$(usex webengine)"
+		-DENABLE_QTWEBKIT="$(usex webkit)"
+	)
 
 	cmake-utils_src_configure
 }


             reply	other threads:[~2018-03-03  3:57 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-03  3:57 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23 11:36 [gentoo-commits] repo/gentoo:master commit in: www-client/otter/ Andreas Sturmlechner
2024-04-05  2:28 Jimi Huotari
2024-03-17  5:34 Sam James
2024-03-17  5:34 Sam James
2022-04-17 19:17 Sam James
2022-04-08 18:58 Stephan Hartmann
2021-01-10 20:16 Stephan Hartmann
2021-01-10 20:16 Stephan Hartmann
2020-04-07  5:04 Jeroen Roovers
2019-06-07 20:53 Jeroen Roovers
2019-04-29  7:59 Jeroen Roovers
2019-04-29  7:59 Jeroen Roovers
2019-01-06 18:33 Jeroen Roovers
2019-01-06 18:33 Jeroen Roovers
2018-09-02 19:18 Jeroen Roovers
2018-09-02 19:18 Jeroen Roovers
2018-08-07  9:54 Jeroen Roovers
2018-08-07  9:54 Jeroen Roovers
2018-07-02  7:43 Jeroen Roovers
2018-07-02  7:43 Jeroen Roovers
2018-06-02  8:52 Jeroen Roovers
2018-06-02  8:52 Jeroen Roovers
2018-05-01 23:35 Jeroen Roovers
2018-05-01 23:35 Jeroen Roovers
2018-04-02 14:07 Jeroen Roovers
2018-04-02 14:07 Jeroen Roovers
2018-03-27  7:52 Sergei Trofimovich
2018-03-02 10:02 Jeroen Roovers
2018-02-02 14:30 Jeroen Roovers
2018-02-02 14:30 Jeroen Roovers
2018-01-21 10:45 Jeroen Roovers
2018-01-21 10:14 Jeroen Roovers
2018-01-16 11:42 Jeroen Roovers
2017-11-14  7:54 Jeroen Roovers
2017-11-12  1:29 Jeroen Roovers
2017-11-11 21:07 Sergei Trofimovich
2017-11-11 21:07 Sergei Trofimovich
2017-10-16  3:34 David Seifert
2017-10-15 10:37 Jeroen Roovers
2017-09-25 14:46 Jeroen Roovers
2017-09-25  9:32 Jeroen Roovers
2017-05-01 16:17 David Seifert
2017-03-27  6:41 Jeroen Roovers
2017-03-27  6:41 Jeroen Roovers
2017-01-09 12:21 Jeroen Roovers
2017-01-09 12:21 Jeroen Roovers
2017-01-09 12:21 Jeroen Roovers
2016-10-09  8:13 Jeroen Roovers
2016-10-09  8:13 Jeroen Roovers
2016-05-06  6:46 Jeroen Roovers
2016-05-05  9:16 Jeroen Roovers
2016-04-29  6:39 Jeroen Roovers
2016-01-12  6:01 Jeroen Roovers
2015-12-13  7:04 Jeroen Roovers
2015-12-13  7:04 Jeroen Roovers
2015-09-05 12:42 Jeroen Roovers

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=1520049421.88c074ca3e58d416a23de2a6f9ef7e0dec357482.jer@gentoo \
    --to=jer@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