Index: x11/py-qt5-opengl/Makefile =================================================================== --- x11/py-qt5-opengl/Makefile +++ x11/py-qt5-opengl/Makefile @@ -1,23 +1,29 @@ # $FreeBSD$ PORTNAME= opengl -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 devel python MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt5 toolkit, QtOpenGL module -CONFIGURE_ARGS= --enable QtOpenGL -PYQT_DIST= yes +# LICENSE set in Mk/Uses/pyqt.mk USES= python pyqt:5 USE_GL= gl USE_PYQT= sip_build core_run gui_run widgets_run USE_QT5= core gui opengl widgets qmake_build -OPTIONS_DEFINE= API DEBUG -OPTIONS_DEFAULT=API -OPTIONS_SUB= yes +CONFIGURE_ARGS= --enable QtOpenGL \ + --enable _QOpenGLFunctions_2_0 \ + --enable _QOpenGLFunctions_2_1 \ + --enable _QOpenGLFunctions_4_1_Core \ + --no-stubs +PYQT_DIST= yes + +OPTIONS_DEFINE= API DEBUG +OPTIONS_DEFAULT= API +OPTIONS_SUB= yes API_DESC= Install QtOpenGL API for QScintilla2 API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${QSCIDIR} @@ -25,4 +31,7 @@ API_LIB_DEPENDS= libqscintilla2-qt5.so:devel/qscintilla2-qt5 DEBUG_CONFIGURE_ON= --debug --trace +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/PyQt5/*.so + .include Index: x11/py-qt5-opengl/pkg-plist =================================================================== --- x11/py-qt5-opengl/pkg-plist +++ x11/py-qt5-opengl/pkg-plist @@ -1,4 +1,13 @@ %%PYTHON_SITELIBDIR%%/PyQt5/QtOpenGL.so +%%PYTHON_SITELIBDIR%%/PyQt5/_QOpenGLFunctions_2_0.so +%%PYTHON_SITELIBDIR%%/PyQt5/_QOpenGLFunctions_2_1.so +%%PYTHON_SITELIBDIR%%/PyQt5/_QOpenGLFunctions_4_1_Core.so %%PYQT_SIPDIR%%/QtOpenGL/QtOpenGLmod.sip %%PYQT_SIPDIR%%/QtOpenGL/qgl.sip +%%PYQT_SIPDIR%%/_QOpenGLFunctions_2_0/_QOpenGLFunctions_2_0mod.sip +%%PYQT_SIPDIR%%/_QOpenGLFunctions_2_0/qopenglfunctions_2_0.sip +%%PYQT_SIPDIR%%/_QOpenGLFunctions_2_1/_QOpenGLFunctions_2_1mod.sip +%%PYQT_SIPDIR%%/_QOpenGLFunctions_2_1/qopenglfunctions_2_1.sip +%%PYQT_SIPDIR%%/_QOpenGLFunctions_4_1_Core/_QOpenGLFunctions_4_1_Coremod.sip +%%PYQT_SIPDIR%%/_QOpenGLFunctions_4_1_Core/qopenglfunctions_4_1_core.sip %%API%%share/qt5/qsci/api/python/QtOpenGL.api