commit:     20bb02e886b5dd72aab16087376a59d86795a2ff
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 11 19:30:36 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 11 19:30:36 2023 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=20bb02e8

kde-frameworks/kwindowsystem: add additional wayland dependencies

Adapt to upstream commit 535d892ac41f14834de913ac092085b7c4ca931a [0].

```
CMake Error at CMakeLists.txt:67 (find_package):
  By not providing "FindPlasmaWaylandProtocols.cmake" in CMAKE_MODULE_PATH
  this project has asked CMake to find a package configuration file provided
  by "PlasmaWaylandProtocols", but CMake did not find one.

  Could not find a package configuration file provided by
  "PlasmaWaylandProtocols" with any of the following names:

    PlasmaWaylandProtocolsConfig.cmake
    plasmawaylandprotocols-config.cmake

  Add the installation prefix of "PlasmaWaylandProtocols" to
  CMAKE_PREFIX_PATH or set "PlasmaWaylandProtocols_DIR" to a directory
  containing one of the above files.  If "PlasmaWaylandProtocols" provides a
  separate development package or SDK, be sure it has been installed.
```

[0] 
https://invent.kde.org/frameworks/kwindowsystem/-/commit/535d892ac41f14834de913ac092085b7c4ca931a

Signed-off-by: Sam James <sam <AT> gentoo.org>

 kde-frameworks/kwindowsystem/kwindowsystem-9999.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kde-frameworks/kwindowsystem/kwindowsystem-9999.ebuild 
b/kde-frameworks/kwindowsystem/kwindowsystem-9999.ebuild
index bea2367495..0e52e8e159 100644
--- a/kde-frameworks/kwindowsystem/kwindowsystem-9999.ebuild
+++ b/kde-frameworks/kwindowsystem/kwindowsystem-9999.ebuild
@@ -17,6 +17,7 @@ RESTRICT="test"
 RDEPEND="
        >=dev-qt/qtbase-${QTMIN}:6[gui]
        >=dev-qt/qtdeclarative-${QTMIN}:6
+       wayland? ( >=dev-qt/qtwayland-${QTMIN}:6 )
        X? (
                x11-libs/libX11
                x11-libs/libXfixes
@@ -27,6 +28,10 @@ RDEPEND="
 DEPEND="${RDEPEND}
        X? ( x11-base/xorg-proto )
        test? ( >=dev-qt/qtbase-${QTMIN}:6[widgets] )
+       wayland? (
+               dev-libs/plasma-wayland-protocols
+               >=dev-libs/wayland-protocols-1.21
+       )
 "
 BDEPEND=">=dev-qt/qttools-${QTMIN}:6[linguist]"
 

Reply via email to