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: kde-apps/marble/
Date: Sun, 18 Aug 2019 15:21:00 +0000 (UTC)	[thread overview]
Message-ID: <1566141447.175afb357bd189429002ffdb39ea1d971979250b.asturm@gentoo> (raw)

commit:     175afb357bd189429002ffdb39ea1d971979250b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 19:03:27 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 18 15:17:27 2019 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=175afb35

kde-apps/marble: Fix DEPENDs, src_configure() with USE !kde

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

 kde-apps/marble/marble-19.08.49.9999.ebuild | 16 +++++++++++-----
 kde-apps/marble/marble-9999.ebuild          | 16 +++++++++++-----
 2 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/kde-apps/marble/marble-19.08.49.9999.ebuild b/kde-apps/marble/marble-19.08.49.9999.ebuild
index c66895e677..4db7aa7256 100644
--- a/kde-apps/marble/marble-19.08.49.9999.ebuild
+++ b/kde-apps/marble/marble-19.08.49.9999.ebuild
@@ -30,6 +30,7 @@ DEPEND="
 	$(add_qt_dep qtsvg)
 	$(add_qt_dep qtwidgets)
 	$(add_qt_dep qtxml)
+	sys-libs/zlib
 	aprs? ( $(add_qt_dep qtserialport) )
 	dbus? ( $(add_qt_dep qtdbus) )
 	designer? ( $(add_qt_dep designer) )
@@ -58,13 +59,14 @@ RDEPEND="${DEPEND}"
 RESTRICT+=" test"
 
 src_prepare() {
+	kde5_src_prepare
+
+	rm -rf src/3rdparty/zlib || die "Failed to remove bundled libs"
+
 	if use kde; then
 		sed -e "/add_subdirectory(marble-qt)/ s/^/#DONT/" \
-			-i src/apps/CMakeLists.txt \
-			|| die "Failed to disable marble-qt"
+			-i src/apps/CMakeLists.txt || die "Failed to disable marble-qt"
 	fi
-
-	kde5_src_prepare
 }
 
 src_configure() {
@@ -83,5 +85,9 @@ src_configure() {
 		# bug 608890
 		-DKDE_INSTALL_CONFDIR="/etc/xdg"
 	)
-	kde5_src_configure
+	if use kde; then
+		kde5_src_configure
+	else
+		cmake-utils_src_configure
+	fi
 }

diff --git a/kde-apps/marble/marble-9999.ebuild b/kde-apps/marble/marble-9999.ebuild
index c66895e677..4db7aa7256 100644
--- a/kde-apps/marble/marble-9999.ebuild
+++ b/kde-apps/marble/marble-9999.ebuild
@@ -30,6 +30,7 @@ DEPEND="
 	$(add_qt_dep qtsvg)
 	$(add_qt_dep qtwidgets)
 	$(add_qt_dep qtxml)
+	sys-libs/zlib
 	aprs? ( $(add_qt_dep qtserialport) )
 	dbus? ( $(add_qt_dep qtdbus) )
 	designer? ( $(add_qt_dep designer) )
@@ -58,13 +59,14 @@ RDEPEND="${DEPEND}"
 RESTRICT+=" test"
 
 src_prepare() {
+	kde5_src_prepare
+
+	rm -rf src/3rdparty/zlib || die "Failed to remove bundled libs"
+
 	if use kde; then
 		sed -e "/add_subdirectory(marble-qt)/ s/^/#DONT/" \
-			-i src/apps/CMakeLists.txt \
-			|| die "Failed to disable marble-qt"
+			-i src/apps/CMakeLists.txt || die "Failed to disable marble-qt"
 	fi
-
-	kde5_src_prepare
 }
 
 src_configure() {
@@ -83,5 +85,9 @@ src_configure() {
 		# bug 608890
 		-DKDE_INSTALL_CONFDIR="/etc/xdg"
 	)
-	kde5_src_configure
+	if use kde; then
+		kde5_src_configure
+	else
+		cmake-utils_src_configure
+	fi
 }


             reply	other threads:[~2019-08-18 15:21 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-18 15:21 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-25 18:16 [gentoo-commits] proj/kde:master commit in: kde-apps/marble/ Andreas Sturmlechner
2024-12-15 19:01 Andreas Sturmlechner
2024-12-15  0:28 Andreas Sturmlechner
2024-12-15  0:28 Andreas Sturmlechner
2024-10-07 23:21 Andreas Sturmlechner
2024-10-04 14:31 Andreas Sturmlechner
2024-09-21 14:10 Andreas Sturmlechner
2024-02-26 19:59 Andreas Sturmlechner
2023-06-05 13:51 Andreas Sturmlechner
2020-11-23 23:40 Andreas Sturmlechner
2020-08-30 19:02 Andreas Sturmlechner
2020-06-15 10:35 Andreas Sturmlechner
2019-02-14 19:01 Andreas Sturmlechner
2018-10-21  8:16 Andreas Sturmlechner
2018-10-18 21:28 Andreas Sturmlechner
2018-10-18 21:00 Andreas Sturmlechner
2017-09-30  9:19 Andreas Sturmlechner
2017-04-22 14:31 Andreas Sturmlechner
2017-03-25  2:02 Michael Palimaka
2017-01-21 22:28 Andreas Sturmlechner
2016-12-11 19:13 Michael Palimaka
2016-12-09  9:47 Johannes Huber
2016-11-19 10:43 Michael Palimaka
2016-11-12 10:55 Michael Palimaka
2016-10-19 14:49 Michael Palimaka
2016-08-18 12:44 Michael Palimaka
2016-07-09 18:22 Johannes Huber
2016-03-01 14:12 Michael Palimaka
2016-02-25  9:11 Michael Palimaka
2016-02-20 16:03 Christian Schmitt
2015-11-19 12:17 Michael Palimaka
2015-06-10 19:09 Johannes Huber
2015-05-06 13:16 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=1566141447.175afb357bd189429002ffdb39ea1d971979250b.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