Files
ports/misc/qt6-examples/Makefile
T
Jason E. Hale 99332e09e3 Qt6: Update to 6.11.1
The kde@ team is pleased to announce Qt 6.11.1 on FreeBSD!

Upstream intoduced a few new modules and we have added them as:
* devel/qt6-openapi
* devel/qt6-tasktree
* x11-toolkits/qt6-canvaspainter

Announcements:
https://www.qt.io/blog/qt-6.11-released
https://www.qt.io/blog/qt-6.11.1-released
Release notes:
https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.11.0/release-note.md
https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.11.1/release-note.md

FreeBSD ports changes:
* General: Introduce more tooling for easier updates
* devel/qt6-tools: Install desktop files [1]

PySide6: Update to 6.11.1

As usual, the PySide6 suite has been updated to match the Qt version.

The Shiboken generator has been split into a separate port:
devel/shiboken6-tools. This was an upstream decision, but,
the generator is only needed for the build, allowing our
packages to have a smaller footprint.

PyQt6: Update to 6.11.0

Refactor a few variables and targets from Mk/pyqt.mk to individual
Makefiles to prep for Qt5 removal and reduce obfuscation.

PyQt tools:
devel/py-sip: Update to 6.15.3
devel/py-qt6-sip: Update to 13.11.1

PR:		294272 [1]
Reported by:	Dave Palais <silent@penguinmail.com> [1]
Tested by:	kenrap, makc
MFH:		2026Q2
Security:	738f5590-550c-11f1-9f97-3fa0ea3edd7d
2026-05-21 12:23:56 -04:00

47 lines
1.4 KiB
Makefile

PORTNAME= examples
DISTVERSION= ${QT6_VERSION}
CATEGORIES= misc
MASTER_SITES= QT/${_QT6_RELEASE_TYPE}_releases/qt/${QT6_VERSION:R}/${QT6_VERSION}/single
PKGNAMEPREFIX= qt6-
DISTNAME= qt-everywhere-src-${QT6_VERSION}
DIST_SUBDIR= KDE/Qt/${QT6_VERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt 6 examples source code
WWW= https://www.qt.io/
LICENSE= BSD3CLAUSE
USES= qt:6 tar:xz
USE_QT= #
# Add all qt modules with examples, whether or not they are relevant to FreeBBSD.
_QT_DISTS= 3d 5compat activeqt base canvaspainter charts coap \
connectivity datavis3d declarative doc graphs httpserver mqtt \
multimedia networkauth opcua openapi positioning quick3d \
quick3dphysics remoteobjects scxml sensors serialbus \
serialport speech tasktree tools virtualkeyboard wayland \
webchannel webengine websockets webview
_QT_EXAMPLES= ${_QT_DISTS:C/^/qt/}
EXAMPLESDIR= ${PREFIX}/share/examples/qt6
.for example in ${_QT_EXAMPLES}
EXTRACT_AFTER_ARGS+= ${DISTNAME:S/-opensource//}/${example}/examples
.endfor
EXTRACT_AFTER_ARGS+= ${DISTNAME:S/-opensource//}/qtsvg/tests/manual/examples
NO_ARCH= yes
NO_BUILD= yes
do-install:
.for example in ${_QT_EXAMPLES}
cd ${WRKSRC}/${example}/examples && \
${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
.endfor
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/svg
cd ${WRKSRC}/qtsvg/tests/manual/examples && \
${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/svg
.include <bsd.port.mk>