Jason E. Hale 03b02222d6 Qt6: Update to 6.9.1
June 03, 2024 by Jani Heikkinen

We have released Qt 6.9.1 today. As a patch release, Qt 6.9.1 does not
introduce new features but contains more than 450 bug fixes, security
updates, and other improvements on top of Qt 6.9.0 release. See more
information about the most important changes and bug fixes from the Qt
6.9.1 release note.

Announcement: https://www.qt.io/blog/qt-6.9.1-released
Release note:
https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.9.1/release-note.md

We (kde@) skipped shipping Qt 6.9.0 due to unacceptable rendering bugs
in the WebEngine component, but here are the announcements and release
notes from Qt 6.9.0.

Announcement: https://www.qt.io/blog/qt-6.9-released
Release note:
https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.9.0/release-note.md

PySide6: Update to 6.9.1

PySide6 and its related components have been updated alongside the Qt
release for compatibility. Older versions will not build with Qt 6.9.x.

Announcement: https://www.qt.io/blog/qt-for-python-release-6.9

PyQt6: Update to 6.9.1

As with PySide6, older versions of PyQt6 will not build with Qt 6.9.x.

Support tools like py-sip and py-qtbuilder have also been updated to their
latest versions.

Announcement: https://www.riverbankcomputing.com/news/PyQt_v6.9.0_Released
              https://www.riverbankcomputing.com/news/PyQt_v6.9.1_Released

PR:		286051
Exp-run by:	antoine
2025-06-10 03:25:00 -04:00

53 lines
1.5 KiB
Makefile

PORTNAME= pyqt
DISTVERSION= ${PYQT_VERSION}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITES_PYQT}
PKGNAMEPREFIX= ${PYQT_PY_RELNAME}-
DISTNAME= ${PYQT_DISTNAME}
MAINTAINER= kde@FreeBSD.org
COMMENT= Python bindings for the Qt6 toolkit
WWW= https://riverbankcomputing.com/software/pyqt
LICENSE= ${PYQT6_LICENSE}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>1:devel/py-dbus@${PY_FLAVOR}
LIB_DEPENDS= libdbus-1.so:devel/dbus
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>1:devel/py-dbus@${PY_FLAVOR}
USES= gl pkgconfig pyqt:6,dist python qt:6
USE_GL= opengl
USE_PYQT= pysip qtbuilder:build sip:build
USE_PYTHON= concurrent flavors
USE_QT= base connectivity declarative imageformats multimedia \
positioning quick3d remoteobjects scxml sensors serialport \
shadertools speech svg tools translations webchannel \
websockets
PORTSCOUT= limit:^${_QT_VERSION:R}
.include <bsd.port.pre.mk>
.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv7 || ${ARCH} == i386
USE_QT+= pdf
PLIST_SUB+= PDF=""
.else
SIP_ARGS+= --disable QtPdf --disable QtPdfWidgets
PLIST_SUB+= PDF="@comment "
.endif
post-extract:
${RM} -r ${WRKSRC}/pyuic/uic/port_v2
post-install:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-f -d ${PYTHONPREFIX_SITELIBDIR}/PyQt6 \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt6
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-f -d ${PYTHONPREFIX_SITELIBDIR}/PyQt6 \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt6
@${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt6 \
-name '*.so*' -exec ${STRIP_CMD} {} +
.include <bsd.port.post.mk>