PORTNAME=	webkitwidgets
PORTREVISION=	1
CATEGORIES=	www devel python

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Python bindings for the Qt5 toolkit, QtWebKitWidgets module

CONFIGURE_ARGS=	--enable QtWebKitWidgets
PYQT_DIST=	yes

USES=		gl python:3.7+ pyqt:5 qt:5
USE_GL=		gl
USE_PYQT=	sip_build core_run printsupport_run webkit_run widgets_run
USE_PYTHON=	concurrent flavors py3kplist
USE_QT=		core gui network printsupport webkit widgets \
		qmake_build

OPTIONS_DEFINE=	API DEBUG
OPTIONS_DEFAULT=API
OPTIONS_SUB=	yes

API_DESC=		Install QtWebKitWidgets API for QScintilla2
API_CONFIGURE_ON=	--qsci-api --qsci-api-destdir=${PYQT_APIDIR}
API_CONFIGURE_OFF=	--no-qsci-api
API_LIB_DEPENDS=	libqscintilla2_qt5.so:devel/qscintilla2-qt5
DEBUG_CONFIGURE_ON=	--debug --trace

.include <bsd.port.mk>
