diff options
-rw-r--r-- | x11-toolkits/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/qt5-gtkplatform/Makefile | 34 | ||||
-rw-r--r-- | x11-toolkits/qt5-gtkplatform/distinfo | 3 | ||||
-rw-r--r-- | x11-toolkits/qt5-gtkplatform/pkg-descr | 8 | ||||
-rw-r--r-- | x11-toolkits/qt5-gtkplatform/pkg-plist | 2 |
5 files changed, 48 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 094cf015fa90..18efa29e1529 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -227,6 +227,7 @@ SUBDIR += qt5-charts SUBDIR += qt5-datavis3d SUBDIR += qt5-gamepad + SUBDIR += qt5-gtkplatform SUBDIR += qt5-gui SUBDIR += qt5-quick SUBDIR += qt5-quickcontrols diff --git a/x11-toolkits/qt5-gtkplatform/Makefile b/x11-toolkits/qt5-gtkplatform/Makefile new file mode 100644 index 000000000000..dca8d8c816c1 --- /dev/null +++ b/x11-toolkits/qt5-gtkplatform/Makefile @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= gtkplatform +DISTVERSION= 0.2.2 +CATEGORIES= x11-toolkits +PKGNAMEPREFIX= qt5- + +MAINTAINER= greg@unrelenting.technology +COMMENT= GTK platform backend for Qt 5 + +LICENSE= LGPL3 GPLv2+ +LICENSE_COMB= dual + +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libinput.so:x11/libinput \ + libmtdev.so:devel/libmtdev \ + libnotify.so:devel/libnotify \ + libudev.so:devel/libudev-devd \ + libxkbcommon.so:x11/libxkbcommon + +USES= qmake:outsource pkgconfig +USE_GNOME= gtk30 cairo gdkpixbuf2 +USE_QT5= buildtools_build core gui widgets dbus +USE_XORG= x11 xext xrender +USE_GL= gl egl + +USE_GITHUB= yes +GH_ACCOUNT= CrimsonAS + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/qt5/plugins/platforms/libqgtk.so + +.include <bsd.port.mk> diff --git a/x11-toolkits/qt5-gtkplatform/distinfo b/x11-toolkits/qt5-gtkplatform/distinfo new file mode 100644 index 000000000000..363ec12d7968 --- /dev/null +++ b/x11-toolkits/qt5-gtkplatform/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1515330807 +SHA256 (CrimsonAS-gtkplatform-0.2.2_GH0.tar.gz) = 09110aa247cf7c01fc84d2f35d02b2f9c582a7b04cbff6de0a5afb2a22eae809 +SIZE (CrimsonAS-gtkplatform-0.2.2_GH0.tar.gz) = 61045 diff --git a/x11-toolkits/qt5-gtkplatform/pkg-descr b/x11-toolkits/qt5-gtkplatform/pkg-descr new file mode 100644 index 000000000000..e2af28b4a0a9 --- /dev/null +++ b/x11-toolkits/qt5-gtkplatform/pkg-descr @@ -0,0 +1,8 @@ +gtkplatform is a Qt Platform Abstraction plugin providing Qt applications with +the capability to use GTK+ as a host toolkit. + +It lets Qt applications render with native GTK+ menus, and use GTK+ for input +(mouse, keyboard, touch), and getting window content on screen, the same as it +uses e.g. Cocoa on macOS. + +WWW: https://github.com/CrimsonAS/gtkplatform diff --git a/x11-toolkits/qt5-gtkplatform/pkg-plist b/x11-toolkits/qt5-gtkplatform/pkg-plist new file mode 100644 index 000000000000..2cee35a4e587 --- /dev/null +++ b/x11-toolkits/qt5-gtkplatform/pkg-plist @@ -0,0 +1,2 @@ +lib/cmake/Qt5Gui/Qt5Gui_QGtkIntegrationPlugin.cmake +%%QT_PLUGINDIR%%/platforms/libqgtk.so |