Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-misc/yakuake/
Date: Tue, 04 Dec 2018 22:26:21
Message-Id: 1543960397.a81db9f5a1c5af77abb62563dd5b98ce4b6b20b4.asturm@gentoo
1 commit: a81db9f5a1c5af77abb62563dd5b98ce4b6b20b4
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 4 21:53:17 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 4 21:53:17 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=a81db9f5
7
8 kde-misc/yakuake: Add USE absolute-position, X
9
10 Bug: https://bugs.gentoo.org/672520
11 Package-Manager: Portage-2.3.52, Repoman-2.3.12
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 kde-misc/yakuake/metadata.xml | 3 +++
15 kde-misc/yakuake/yakuake-9999.ebuild | 21 ++++++++++++++++-----
16 2 files changed, 19 insertions(+), 5 deletions(-)
17
18 diff --git a/kde-misc/yakuake/metadata.xml b/kde-misc/yakuake/metadata.xml
19 index 2fdbf33d96..b62c302261 100644
20 --- a/kde-misc/yakuake/metadata.xml
21 +++ b/kde-misc/yakuake/metadata.xml
22 @@ -5,4 +5,7 @@
23 <email>kde@g.o</email>
24 <name>Gentoo KDE Project</name>
25 </maintainer>
26 + <use>
27 + <flag name="absolute-position">Use <pkg>kde-frameworks/kwayland</pkg> for absolute window positioning in KWin</flag>
28 + </use>
29 </pkgmetadata>
30
31 diff --git a/kde-misc/yakuake/yakuake-9999.ebuild b/kde-misc/yakuake/yakuake-9999.ebuild
32 index 10a82b7157..f9bfb2a6c9 100644
33 --- a/kde-misc/yakuake/yakuake-9999.ebuild
34 +++ b/kde-misc/yakuake/yakuake-9999.ebuild
35 @@ -1,4 +1,4 @@
36 -# Copyright 1999-2018 Gentoo Foundation
37 +# Copyright 1999-2018 Gentoo Authors
38 # Distributed under the terms of the GNU General Public License v2
39
40 EAPI=6
41 @@ -13,7 +13,7 @@ if [[ ${KDE_BUILD_TYPE} != live ]]; then
42 fi
43
44 LICENSE="GPL-2 LGPL-2"
45 -IUSE=""
46 +IUSE="absolute-position X"
47
48 DEPEND="
49 $(add_frameworks_dep karchive)
50 @@ -31,7 +31,6 @@ DEPEND="
51 $(add_frameworks_dep knotifyconfig)
52 $(add_frameworks_dep kparts)
53 $(add_frameworks_dep kservice)
54 - $(add_frameworks_dep kwayland)
55 $(add_frameworks_dep kwidgetsaddons)
56 $(add_frameworks_dep kwindowsystem)
57 $(add_frameworks_dep kxmlgui)
58 @@ -39,9 +38,21 @@ DEPEND="
59 $(add_qt_dep qtdbus)
60 $(add_qt_dep qtgui)
61 $(add_qt_dep qtwidgets)
62 - $(add_qt_dep qtx11extras)
63 - x11-libs/libX11
64 + absolute-position? ( $(add_frameworks_dep kwayland) )
65 + X? (
66 + $(add_qt_dep qtx11extras)
67 + x11-libs/libX11
68 + )
69 "
70 RDEPEND="${DEPEND}
71 !kde-misc/yakuake:4
72 "
73 +
74 +src_configure() {
75 + local mycmakeargs=(
76 + $(cmake-utils_use_find_package absolute-position KF5Wayland)
77 + $(cmake-utils_use_find_package X X11)
78 + )
79 +
80 + kde5_src_configure
81 +}