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-misc/yakuake/
Date: Tue,  4 Dec 2018 22:26:17 +0000 (UTC)	[thread overview]
Message-ID: <1543960397.a81db9f5a1c5af77abb62563dd5b98ce4b6b20b4.asturm@gentoo> (raw)

commit:     a81db9f5a1c5af77abb62563dd5b98ce4b6b20b4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  4 21:53:17 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Dec  4 21:53:17 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=a81db9f5

kde-misc/yakuake: Add USE absolute-position, X

Bug: https://bugs.gentoo.org/672520
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-misc/yakuake/metadata.xml        |  3 +++
 kde-misc/yakuake/yakuake-9999.ebuild | 21 ++++++++++++++++-----
 2 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/kde-misc/yakuake/metadata.xml b/kde-misc/yakuake/metadata.xml
index 2fdbf33d96..b62c302261 100644
--- a/kde-misc/yakuake/metadata.xml
+++ b/kde-misc/yakuake/metadata.xml
@@ -5,4 +5,7 @@
 		<email>kde@gentoo.org</email>
 		<name>Gentoo KDE Project</name>
 	</maintainer>
+	<use>
+		<flag name="absolute-position">Use <pkg>kde-frameworks/kwayland</pkg> for absolute window positioning in KWin</flag>
+	</use>
 </pkgmetadata>

diff --git a/kde-misc/yakuake/yakuake-9999.ebuild b/kde-misc/yakuake/yakuake-9999.ebuild
index 10a82b7157..f9bfb2a6c9 100644
--- a/kde-misc/yakuake/yakuake-9999.ebuild
+++ b/kde-misc/yakuake/yakuake-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ if [[ ${KDE_BUILD_TYPE} != live ]]; then
 fi
 
 LICENSE="GPL-2 LGPL-2"
-IUSE=""
+IUSE="absolute-position X"
 
 DEPEND="
 	$(add_frameworks_dep karchive)
@@ -31,7 +31,6 @@ DEPEND="
 	$(add_frameworks_dep knotifyconfig)
 	$(add_frameworks_dep kparts)
 	$(add_frameworks_dep kservice)
-	$(add_frameworks_dep kwayland)
 	$(add_frameworks_dep kwidgetsaddons)
 	$(add_frameworks_dep kwindowsystem)
 	$(add_frameworks_dep kxmlgui)
@@ -39,9 +38,21 @@ DEPEND="
 	$(add_qt_dep qtdbus)
 	$(add_qt_dep qtgui)
 	$(add_qt_dep qtwidgets)
-	$(add_qt_dep qtx11extras)
-	x11-libs/libX11
+	absolute-position? ( $(add_frameworks_dep kwayland) )
+	X? (
+		$(add_qt_dep qtx11extras)
+		x11-libs/libX11
+	)
 "
 RDEPEND="${DEPEND}
 	!kde-misc/yakuake:4
 "
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package absolute-position KF5Wayland)
+		$(cmake-utils_use_find_package X X11)
+	)
+
+	kde5_src_configure
+}


             reply	other threads:[~2018-12-04 22:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-04 22:26 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-06-29  8:01 [gentoo-commits] proj/kde:master commit in: kde-misc/yakuake/ Andreas Sturmlechner
2018-03-28 17:30 Johannes Huber
2017-06-18 12:08 Michael Palimaka
2017-04-03 18:09 Johannes Huber
2016-03-09 21:24 Johannes Huber
2016-03-03 15:41 Michael Palimaka
2016-03-03 15:41 Michael Palimaka
2015-12-16 12:31 Michael Palimaka
2015-06-27 21:11 Johannes Huber
2014-11-24 14:34 Michael Palimaka
2014-05-25 14:31 Johannes Huber
2014-05-25  9:17 Johannes Huber
2012-10-26  4:49 Chris Reffett
2012-10-21  3:14 Chris Reffett
2012-10-20 18:33 Chris Reffett

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=1543960397.a81db9f5a1c5af77abb62563dd5b98ce4b6b20b4.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