mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
ee9a6bfbf3
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 PR: 224453 Submitted by: Greg V <greg@unrelenting.technology>
35 lines
781 B
Makefile
35 lines
781 B
Makefile
# $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>
|