From 1bc1101ef6c3413413f9463543754835f5e5cef2 Mon Sep 17 00:00:00 2001 From: miqlas <5569059+extrowerk@users.noreply.github.com> Date: Tue, 2 Apr 2019 01:19:39 +0200 Subject: [PATCH] Pyqt : disable OpenGL (#3724) * PyQT: Disable OpenGL * REV --- dev-python/pyqt/pyqt-5.12.1.recipe | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/dev-python/pyqt/pyqt-5.12.1.recipe b/dev-python/pyqt/pyqt-5.12.1.recipe index 3bdddf6ab..f950016f3 100644 --- a/dev-python/pyqt/pyqt-5.12.1.recipe +++ b/dev-python/pyqt/pyqt-5.12.1.recipe @@ -5,7 +5,7 @@ simplicity of Python." HOMEPAGE="http://www.riverbankcomputing.com/software/pyqt/" COPYRIGHT="2015-2018 Riverbank Computing Limited" LICENSE="GNU GPL v3" -REVISION="1" +REVISION="2" SOURCE_URI="https://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt5_gpl-$portVersion.tar.gz" CHECKSUM_SHA256="3718ce847d824090fd5f95ff3f13847ee75c2507368d4cbaeb48338f506e59bf" SOURCE_DIR="PyQt5_gpl-$portVersion" @@ -40,7 +40,7 @@ REQUIRES=" lib:libQt5MultimediaWidgets$secondaryArchSuffix lib:libQt5Network$secondaryArchSuffix lib:libQt5Nfc$secondaryArchSuffix - lib:libQt5OpenGL$secondaryArchSuffix +# lib:libQt5OpenGL$secondaryArchSuffix lib:libQt5PrintSupport$secondaryArchSuffix lib:libQt5Positioning$secondaryArchSuffix lib:libQt5Qml$secondaryArchSuffix @@ -58,7 +58,7 @@ REQUIRES=" lib:libQt5Widgets$secondaryArchSuffix lib:libQt5Xml$secondaryArchSuffix lib:libQt5XmlPatterns$secondaryArchSuffix - lib:libGL${secondaryArchSuffix} +# lib:libGL${secondaryArchSuffix} " PROVIDES_python=" @@ -125,7 +125,7 @@ BUILD_REQUIRES=" devel:libQt5MultimediaWidgets$secondaryArchSuffix >= $qtVersion devel:libQt5Network$secondaryArchSuffix >= $qtVersion devel:libQt5Nfc$secondaryArchSuffix >= $qtVersion - devel:libQt5OpenGL$secondaryArchSuffix >= $qtVersion +# devel:libQt5OpenGL$secondaryArchSuffix >= $qtVersion devel:libQt5PrintSupport$secondaryArchSuffix >= $qtVersion devel:libQt5Positioning$secondaryArchSuffix >= $qtVersion devel:libQt5Qml$secondaryArchSuffix >= $qtVersion @@ -143,7 +143,7 @@ BUILD_REQUIRES=" devel:libQt5Widgets$secondaryArchSuffix >= $qtVersion devel:libQt5Xml$secondaryArchSuffix >= $qtVersion devel:libQt5XmlPatterns$secondaryArchSuffix >= $qtVersion - devel:libGL${secondaryArchSuffix} +# devel:libGL${secondaryArchSuffix} " BUILD_PREREQUIRES=" cmd:python2 @@ -185,6 +185,10 @@ BUILD() --sip=$portPackageLinksDir/cmd~sip/bin/sip \ --stubsdir=$installLocation/PyQt5 \ --no-dist-info \ + --disable=QtOpenGL \ + --disable=_QOpenGLFunctions_2_0 \ + --disable=_QOpenGLFunctions_2_1 \ + --disable=_QOpenGLFunctions_4_1_Core \ #--verbose make $jobArgs @@ -207,6 +211,10 @@ BUILD() --sip=$portPackageLinksDir/cmd~sip/bin/sip \ --stubsdir=$installLocation/PyQt5 \ --no-dist-info \ + --disable=QtOpenGL \ + --disable=_QOpenGLFunctions_2_0 \ + --disable=_QOpenGLFunctions_2_1 \ + --disable=_QOpenGLFunctions_4_1_Core \ #--verbose make $jobArgs