summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-07-21 04:11:53 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-07-21 04:12:06 +1000
commit29d758221e4c511a38976de8c94cdae700ce6f2c (patch)
tree3d981666e7a3218cbcdd454ee7b8a36217fc4de0 /kde-plasma
parentkde-plasma/breeze: introduce wayland USE flag (diff)
downloadgentoo-29d758221e4c511a38976de8c94cdae700ce6f2c.tar.gz
gentoo-29d758221e4c511a38976de8c94cdae700ce6f2c.tar.bz2
gentoo-29d758221e4c511a38976de8c94cdae700ce6f2c.zip
kde-plasma/oxygen: introduce wayland USE flag
Package-Manager: portage-2.3.0
Diffstat (limited to 'kde-plasma')
-rw-r--r--kde-plasma/oxygen/oxygen-5.7.2.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/kde-plasma/oxygen/oxygen-5.7.2.ebuild b/kde-plasma/oxygen/oxygen-5.7.2.ebuild
index 6f4447f0a99d..6b872c6b987e 100644
--- a/kde-plasma/oxygen/oxygen-5.7.2.ebuild
+++ b/kde-plasma/oxygen/oxygen-5.7.2.ebuild
@@ -9,7 +9,7 @@ inherit kde5
DESCRIPTION="KDE window manager theme"
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/oxygen"
KEYWORDS="~amd64 ~arm ~x86"
-IUSE=""
+IUSE="wayland"
RDEPEND="
$(add_frameworks_dep frameworkintegration)
@@ -20,7 +20,6 @@ RDEPEND="
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kguiaddons)
$(add_frameworks_dep ki18n)
- $(add_frameworks_dep kwayland)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kwindowsystem)
$(add_plasma_dep kdecoration)
@@ -29,9 +28,18 @@ RDEPEND="
$(add_qt_dep qtwidgets)
$(add_qt_dep qtx11extras)
x11-libs/libxcb
+ wayland? ( $(add_frameworks_dep kwayland) )
!kde-base/kdebase-cursors:4
!kde-base/oxygen:4
"
DEPEND="${RDEPEND}
$(add_frameworks_dep kservice)
"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package wayland KF5Wayland)
+ )
+
+ kde5_src_configure
+}