Pyqt : disable OpenGL (#3724)

* PyQT: Disable OpenGL

* REV
This commit is contained in:
miqlas
2019-04-02 01:19:39 +02:00
committed by waddlesplash
parent 85c313115b
commit 1bc1101ef6

View File

@@ -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