Page MenuHomeFreeBSD

D12982.id34945.diff
No OneTemporary

D12982.id34945.diff

Index: x11/py-qt5-opengl/Makefile
===================================================================
--- x11/py-qt5-opengl/Makefile
+++ x11/py-qt5-opengl/Makefile
@@ -1,13 +1,18 @@
# $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
+CONFIGURE_ARGS= --enable QtOpenGL \
+ --enable _QOpenGLFunctions_2_0 \
+ --enable _QOpenGLFunctions_2_1 \
+ --enable _QOpenGLFunctions_4_1_Core \
+ --no-stubs
+
PYQT_DIST= yes
USES= python pyqt:5
@@ -15,9 +20,9 @@
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
+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 +30,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 <bsd.port.mk>
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

File Metadata

Mime Type
text/plain
Expires
Fri, May 1, 9:44 AM (10 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32570469
Default Alt Text
D12982.id34945.diff (2 KB)

Event Timeline