ports/x11/qt5/qtwayland/patches/patch-features_wayland-scanner-client-wayland-protocol-include_prf

12 lines
569 B
Text

Index: features/wayland-scanner-client-wayland-protocol-include.prf
--- features/wayland-scanner-client-wayland-protocol-include.prf.orig
+++ features/wayland-scanner-client-wayland-protocol-include.prf
@@ -10,7 +10,7 @@
# #include <QtWaylandClient/private/wayland-wayland-client-protocol.h>
# to the wayland-scanner generated files.
-isEmpty(QMAKE_WAYLAND_SCANNER):error("QMAKE_WAYLAND_SCANNER not defined for this mkspec")
+QMAKE_WAYLAND_SCANNER = ${LOCALBASE}/bin/wayland-scanner
!isEmpty(MODULE_INCNAME) {
WAYLAND_INCLUDE_DIR = $$MODULE_INCNAME/private