summaryrefslogtreecommitdiff
path: root/devel/qt5-qmake/files
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2017-08-02 17:47:11 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2017-08-02 17:47:11 +0000
commitd35014dbf658b7792fa7ac58aa6f00e2af48786a (patch)
tree0a22a60e79baf2e4803165443c14a9661fd1808e /devel/qt5-qmake/files
parentUpdate to version 2.2.4 (diff)
New port: graphics/qt5-wayland
Marketing blurb [1]: QtWayland is a Qt 5 module that wraps the functionality of Wayland. QtWayland is separated into a client and server side. The client side is the wayland platform plugin, and provides a way to run Qt applications as Wayland clients. The server side is the QtCompositor API, and allows users to write their own Wayland compositors. This is mostly needed at the moment to make upstream KDE-CI happy, therefore we don't wire it into the metaport devel/qt5. It requires a little change to devel/qt5-qmake, as we needed to modify the installed bsd.conf to know about wayland/egl. Created together with Adriaan de Groot <groot@kde.org>. Reviewed by: rakuco, groot_kde.org Differential Revision: https://reviews.freebsd.org/D11744
Diffstat (limited to 'devel/qt5-qmake/files')
-rw-r--r--devel/qt5-qmake/files/patch-mkspecs_common_bsd_bsd.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/qt5-qmake/files/patch-mkspecs_common_bsd_bsd.conf b/devel/qt5-qmake/files/patch-mkspecs_common_bsd_bsd.conf
new file mode 100644
index 000000000000..db5e1d817f39
--- /dev/null
+++ b/devel/qt5-qmake/files/patch-mkspecs_common_bsd_bsd.conf
@@ -0,0 +1,13 @@
+Add some defines for Wayland support.
+
+--- mkspecs/common/bsd/bsd.conf.orig 2017-07-01 22:01:46 UTC
++++ mkspecs/common/bsd/bsd.conf
+@@ -28,3 +28,8 @@ QMAKE_RANLIB =
+
+ QMAKE_STRIP = strip
+ QMAKE_STRIPFLAGS_LIB += --strip-unneeded
++
++QMAKE_LIBS_WAYLAND_CLIENT = -lwayland-client
++QMAKE_LIBS_WAYLAND_SERVER = -lwayland-server
++QMAKE_WAYLAND_SCANNER = wayland-scanner
++QMAKE_LIBS_EGL = -lEGL