public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: app-office/kexi/
Date: Sun,  7 Aug 2016 16:30:52 +0000 (UTC)	[thread overview]
Message-ID: <1470587445.557e32dbb088b2ecc890c077cc5a6a089fc2d29c.kensington@gentoo> (raw)

commit:     557e32dbb088b2ecc890c077cc5a6a089fc2d29c
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sat Aug  6 15:21:32 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Aug  7 16:30:45 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=557e32db

app-office/kexi: Add kcrash DEPEND, rename USE=webform->webkit

Fix configure with USE=-webkit at the same time.

Package-Manager: portage-2.2.28

 app-office/kexi/kexi-9999.ebuild | 20 +++++++++++++++++---
 app-office/kexi/metadata.xml     |  2 +-
 2 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/app-office/kexi/kexi-9999.ebuild b/app-office/kexi/kexi-9999.ebuild
index 854f698..effa296 100644
--- a/app-office/kexi/kexi-9999.ebuild
+++ b/app-office/kexi/kexi-9999.ebuild
@@ -11,7 +11,7 @@ inherit kde5
 DESCRIPTION="Visual database applications creator"
 HOMEPAGE="https://www.kde.org/applications/office/kexi/ http://www.kexi-project.org/"
 KEYWORDS=""
-IUSE="activities marble mdb mysql postgres sqlite sybase webform xbase"
+IUSE="activities marble mdb mysql postgres sqlite sybase webkit xbase"
 
 COMMON_DEPEND="
 	$(add_frameworks_dep karchive)
@@ -20,6 +20,7 @@ COMMON_DEPEND="
 	$(add_frameworks_dep kconfig)
 	$(add_frameworks_dep kconfigwidgets)
 	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep kcrash)
 	$(add_frameworks_dep kguiaddons)
 	$(add_frameworks_dep ki18n)
 	$(add_frameworks_dep kiconthemes)
@@ -47,7 +48,7 @@ COMMON_DEPEND="
 		dev-libs/libpqxx
 	)
 	sybase? ( dev-db/freetds )
-	webform? ( $(add_qt_dep qtwebkit) )
+	webkit? ( $(add_qt_dep qtwebkit) )
 	xbase? ( dev-db/xbase )
 "
 DEPEND="${COMMON_DEPEND}
@@ -57,6 +58,20 @@ RDEPEND="${COMMON_DEPEND}
 	!app-office/calligra:4[calligra_features_kexi]
 "
 
+src_prepare() {
+	if ! use webkit; then
+		punt_bogus_dep Qt5 WebKit
+		punt_bogus_dep Qt5 WebKitWidgets
+	fi
+
+	# otherwise requires breeze-icons w/ -DBINARY_ICONS_RESOURCE=ON
+	sed -i CMakeLists.txt \
+		-e "/include(CheckIfQtGuiCanBeExecuted)/ s/^/#DONT/" \
+		-e "/include(CheckGlobalBreezeIcons)/ s/^/#DONT/" || die
+
+	kde5_src_prepare
+}
+
 src_configure() {
 	local mycmakeargs=(
 		$(cmake-utils_use_find_package activities KF5Activities)
@@ -65,7 +80,6 @@ src_configure() {
 		$(cmake-utils_use_find_package mysql MySQL)
 		$(cmake-utils_use_find_package postgres KexiPostgreSQL)
 		$(cmake-utils_use_find_package sybase FreeTDS)
-		$(cmake-utils_use_find_package webform Qt5WebKitWidgets)
 		$(cmake-utils_use_find_package xbase XBase)
 	)
 

diff --git a/app-office/kexi/metadata.xml b/app-office/kexi/metadata.xml
index 621a30d..05577d3 100644
--- a/app-office/kexi/metadata.xml
+++ b/app-office/kexi/metadata.xml
@@ -9,7 +9,7 @@
 		<flag name="activities">Enable kactivities support</flag>
 		<flag name="marble">Enable displaying of maps using <pkg>kde-apps/marble</pkg></flag>
 		<flag name="mdb">Enable support for Microsoft Access database</flag>
-		<flag name="webform">Enable web form designer widget using <pkg>dev-qt/qtwebkit</pkg></flag>
+		<flag name="webkit">Enable web form designer widget using <pkg>dev-qt/qtwebkit</pkg></flag>
 		<flag name="xbase">Enable support for xbase compatible database formats</flag>
 	</use>
 </pkgmetadata>


             reply	other threads:[~2016-08-07 16:30 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-07 16:30 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-07 18:59 [gentoo-commits] proj/kde:master commit in: app-office/kexi/ Andreas Sturmlechner
2023-12-28 17:31 Andreas Sturmlechner
2022-10-06  7:33 Andreas Sturmlechner
2022-02-21 14:54 Andreas Sturmlechner
2021-11-15 11:07 Andreas Sturmlechner
2020-01-12 12:00 Andreas Sturmlechner
2019-08-25 15:58 Andreas Sturmlechner
2019-04-18 18:17 Andreas Sturmlechner
2019-01-26 20:29 Andreas Sturmlechner
2018-06-30 21:00 Andreas Sturmlechner
2018-03-18  3:20 Michael Palimaka
2018-03-18  3:20 Michael Palimaka
2018-03-18  3:20 Michael Palimaka
2018-03-18  3:09 Michael Palimaka
2017-08-12 12:40 Michael Palimaka
2016-11-09 13:15 Michael Palimaka
2016-10-21 19:40 Michael Palimaka
2016-10-21 19:40 Michael Palimaka
2016-09-29 10:20 Michael Palimaka
2016-03-22 20:13 Johannes Huber
2016-03-22 12:33 Johannes Huber
2016-01-01 16:24 Michael Palimaka

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=1470587445.557e32dbb088b2ecc890c077cc5a6a089fc2d29c.kensington@gentoo \
    --to=kensington@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