git: 60bc57ab2ef2 - main - devel/pyside6: disable PDF on riscv64 / powerpc* as well
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Aug 2025 13:57:55 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=60bc57ab2ef215480658b7b31d99dac5558a6e8e
commit 60bc57ab2ef215480658b7b31d99dac5558a6e8e
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-08-10 12:31:23 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-08-10 13:57:52 +0000
devel/pyside6: disable PDF on riscv64 / powerpc* as well
qt6-pdf uses webengine.
---
devel/pyside6/Makefile | 10 ++++++----
devel/pyside6/pkg-plist | 16 ++++++++--------
2 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/devel/pyside6/Makefile b/devel/pyside6/Makefile
index 185f7a6dc659..cf1a97a21845 100644
--- a/devel/pyside6/Makefile
+++ b/devel/pyside6/Makefile
@@ -21,7 +21,7 @@ USE_GL= opengl
USE_LDCONFIG= yes
USE_PYTHON= flavors
USE_QT= 3d base charts connectivity datavis3d declarative doc graphs \
- httpserver imageformats location multimedia networkauth pdf \
+ httpserver imageformats location multimedia networkauth \
positioning quick3d quicktimeline remoteobjects scxml sensors \
serialbus serialport shadertools speech svg tools translations \
webchannel websockets
@@ -37,15 +37,17 @@ PLIST_SUB= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER} \
.include <bsd.port.pre.mk>
.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386
-PLIST_SUB+= WEBENGINE="" \
+PLIST_SUB+= PDF="" \
+ WEBENGINE="" \
WEBVIEW=""
-USE_QT+= webengine webview
+USE_QT+= pdf webengine webview
.else
CMAKE_ON+= CMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineCore \
CMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineQuick \
CMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineWidgets \
CMAKE_DISABLE_FIND_PACKAGE_Qt6WebView
-PLIST_SUB+= WEBENGINE="@comment " \
+PLIST_SUB+= PDF="@comment " \
+ WEBENGINE="@comment " \
WEBVIEW="@comment "
.endif
diff --git a/devel/pyside6/pkg-plist b/devel/pyside6/pkg-plist
index f7ac63b99c76..570a2aab47fe 100644
--- a/devel/pyside6/pkg-plist
+++ b/devel/pyside6/pkg-plist
@@ -32,8 +32,8 @@ include/PySide6/QtNetworkAuth/pyside6_qtnetworkauth_python.h
include/PySide6/QtNfc/pyside6_qtnfc_python.h
include/PySide6/QtOpenGL/pyside6_qtopengl_python.h
include/PySide6/QtOpenGLWidgets/pyside6_qtopenglwidgets_python.h
-include/PySide6/QtPdf/pyside6_qtpdf_python.h
-include/PySide6/QtPdfWidgets/pyside6_qtpdfwidgets_python.h
+%%PDF%%include/PySide6/QtPdf/pyside6_qtpdf_python.h
+%%PDF%%include/PySide6/QtPdfWidgets/pyside6_qtpdfwidgets_python.h
include/PySide6/QtPositioning/pyside6_qtpositioning_python.h
include/PySide6/QtPrintSupport/pyside6_qtprintsupport_python.h
include/PySide6/QtQml/pyside6_qtqml_python.h
@@ -198,10 +198,10 @@ lib/libpyside6remoteobjects.a
%%PYTHON_SITELIBDIR%%/PySide6/QtOpenGL.pyi
%%PYTHON_SITELIBDIR%%/PySide6/QtOpenGLWidgets.abi%%PYTHON_MAJOR_VER%%.so
%%PYTHON_SITELIBDIR%%/PySide6/QtOpenGLWidgets.pyi
-%%PYTHON_SITELIBDIR%%/PySide6/QtPdf.abi%%PYTHON_MAJOR_VER%%.so
-%%PYTHON_SITELIBDIR%%/PySide6/QtPdf.pyi
-%%PYTHON_SITELIBDIR%%/PySide6/QtPdfWidgets.abi%%PYTHON_MAJOR_VER%%.so
-%%PYTHON_SITELIBDIR%%/PySide6/QtPdfWidgets.pyi
+%%PDF%%%%PYTHON_SITELIBDIR%%/PySide6/QtPdf.abi%%PYTHON_MAJOR_VER%%.so
+%%PDF%%%%PYTHON_SITELIBDIR%%/PySide6/QtPdf.pyi
+%%PDF%%%%PYTHON_SITELIBDIR%%/PySide6/QtPdfWidgets.abi%%PYTHON_MAJOR_VER%%.so
+%%PDF%%%%PYTHON_SITELIBDIR%%/PySide6/QtPdfWidgets.pyi
%%PYTHON_SITELIBDIR%%/PySide6/QtPositioning.abi%%PYTHON_MAJOR_VER%%.so
%%PYTHON_SITELIBDIR%%/PySide6/QtPositioning.pyi
%%PYTHON_SITELIBDIR%%/PySide6/QtPrintSupport.abi%%PYTHON_MAJOR_VER%%.so
@@ -376,8 +376,8 @@ share/PySide6/typesystems/typesystem_opengl_modifications4_5.xml
share/PySide6/typesystems/typesystem_opengl_modifications4_5_core.xml
share/PySide6/typesystems/typesystem_opengl_modifications_va.xml
share/PySide6/typesystems/typesystem_openglwidgets.xml
-share/PySide6/typesystems/typesystem_pdf.xml
-share/PySide6/typesystems/typesystem_pdfwidgets.xml
+%%PDF%%share/PySide6/typesystems/typesystem_pdf.xml
+%%PDF%%share/PySide6/typesystems/typesystem_pdfwidgets.xml
share/PySide6/typesystems/typesystem_positioning.xml
share/PySide6/typesystems/typesystem_printsupport.xml
share/PySide6/typesystems/typesystem_printsupport_common.xml