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: app-text/kbibtex/
Date: Wed,  5 Apr 2017 21:31:00 +0000 (UTC)	[thread overview]
Message-ID: <1491427849.59e1ecd04f67dde1253faa059ba0bfac51888a3f.asturm@gentoo> (raw)

commit:     59e1ecd04f67dde1253faa059ba0bfac51888a3f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  5 21:28:19 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Apr  5 21:30:49 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=59e1ecd0

app-text/kbibtex: Add USE=webengine,webkit, set KDE_TEST=true

Upstream commits
d0a53e018ea9e6ec9a7136aa25d544ee07148d67
6ebe499f32dff8a7ff6187ce8aac3816accf8afe

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-text/kbibtex/kbibtex-9999.ebuild | 18 +++++++++++++++---
 app-text/kbibtex/metadata.xml        |  4 ++++
 2 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/app-text/kbibtex/kbibtex-9999.ebuild b/app-text/kbibtex/kbibtex-9999.ebuild
index 7a3d87240e..cef2e2e85c 100644
--- a/app-text/kbibtex/kbibtex-9999.ebuild
+++ b/app-text/kbibtex/kbibtex-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 KDE_GCC_MINIMAL="4.9"
 KDE_HANDBOOK="optional"
-KDE_TEST="forceoptional"
+KDE_TEST="true"
 inherit kde5
 
 DESCRIPTION="BibTeX editor to edit bibliographies used with LaTeX"
@@ -17,7 +17,9 @@ if [[ ${KDE_BUILD_TYPE} != live ]]; then
 fi
 
 LICENSE="GPL-2"
-IUSE=""
+IUSE="webengine webkit"
+
+REQUIRED_USE="?? ( webengine webkit )"
 
 DEPEND="
 	$(add_frameworks_dep kcompletion)
@@ -38,7 +40,6 @@ DEPEND="
 	$(add_qt_dep qtdbus)
 	$(add_qt_dep qtgui)
 	$(add_qt_dep qtnetwork)
-	$(add_qt_dep qtwebkit)
 	$(add_qt_dep qtwidgets)
 	$(add_qt_dep qtxml)
 	$(add_qt_dep qtxmlpatterns)
@@ -46,6 +47,8 @@ DEPEND="
 	dev-libs/icu:=
 	dev-libs/qoauth:5
 	virtual/tex-base
+	webengine? ( $(add_qt_dep qtwebengine 'widgets') )
+	webkit? ( $(add_qt_dep qtwebkit) )
 "
 RDEPEND="${DEPEND}
 	!app-text/kbibtex:4
@@ -65,3 +68,12 @@ src_prepare() {
 
 	rm -r src/3rdparty/qoauth || die "Failed to remove bundled qoauth"
 }
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package webengine Qt5WebEngineWidgets)
+		$(cmake-utils_use_find_package webkit Qt5WebKitWidgets)
+	)
+
+	kde5_src_configure
+}

diff --git a/app-text/kbibtex/metadata.xml b/app-text/kbibtex/metadata.xml
index 2fdbf33d96..41132c0622 100644
--- a/app-text/kbibtex/metadata.xml
+++ b/app-text/kbibtex/metadata.xml
@@ -5,4 +5,8 @@
 		<email>kde@gentoo.org</email>
 		<name>Gentoo KDE Project</name>
 	</maintainer>
+	<use>
+		<flag name="webengine">Use <pkg>dev-qt/qtwebengine</pkg> for HTML previews</flag>
+		<flag name="webkit">Use <pkg>dev-qt/qtwebengine</pkg> for HTML previews</flag>
+	</use>
 </pkgmetadata>


             reply	other threads:[~2017-04-05 21:31 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05 21:31 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-21 19:42 [gentoo-commits] proj/kde:master commit in: app-text/kbibtex/ Andreas Sturmlechner
2024-03-25 18:47 Andreas Sturmlechner
2024-03-07 10:55 Andreas Sturmlechner
2024-03-03 13:56 Andreas Sturmlechner
2023-05-04 13:11 Andreas Sturmlechner
2021-04-15 22:32 Andreas Sturmlechner
2020-09-07 15:07 Andreas Sturmlechner
2020-04-26 23:08 Andreas Sturmlechner
2020-04-26 23:08 Andreas Sturmlechner
2019-11-17 22:29 Andreas Sturmlechner
2019-11-13  2:00 Andreas Sturmlechner
2019-11-06 16:47 Andreas Sturmlechner
2019-11-06 16:40 Andreas Sturmlechner
2019-05-08  6:09 Andreas Sturmlechner
2019-01-26 23:45 Andreas Sturmlechner
2018-03-19 17:15 Andreas Sturmlechner
2018-02-22 13:17 Andreas Sturmlechner
2017-06-18  9:03 Andreas Sturmlechner
2017-06-18  8:36 Andreas Sturmlechner
2017-06-11 21:44 Andreas Sturmlechner
2017-04-05 21:36 Andreas Sturmlechner
2016-11-28 16:09 Johannes Huber
2016-10-20 20:18 Michael Palimaka
2015-10-14 12:51 Michael Palimaka
2015-09-23 14:50 Michael Palimaka
2015-07-28 20:20 Johannes Huber
2014-05-21 11:55 Johannes Huber
2014-04-06 21:50 Johannes Huber
2014-03-13 21:50 Johannes Huber
2014-01-18  4:50 Manuel Rüger
2013-03-24  0:49 Manuel Rüger
2013-03-17 18:13 Michael Palimaka
2013-03-12 12:12 Michael Palimaka
2013-01-22 16:38 Michael Palimaka
2012-10-31 11:54 Michael Palimaka
2012-02-01 10:12 Johannes Huber
2011-12-08 12:02 Johannes Huber
2011-11-24 22:58 Johannes Huber
2011-11-10  0:42 Johannes Huber

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=1491427849.59e1ecd04f67dde1253faa059ba0bfac51888a3f.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