2022-12-31 09:25:30 +01:00
|
|
|
PORTNAME= examples
|
2023-11-23 18:26:11 +01:00
|
|
|
DISTVERSION= ${QT6_VERSION}
|
2022-12-31 09:25:30 +01:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= QT/official_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
|
2023-11-23 18:26:11 +01:00
|
|
|
COMMENT= Qt 6 examples source code
|
Qt6: Update to 6.6.1
As a patch release, Qt 6.6.1 does not introduce any new features but
contains more than 400 bug fixes, security updates, and other
improvements to the top of the Qt 6.6.0 release. See more information
about the most important changes and bug fixes from the Qt 6.6.1 release
note.
To allow building www/qt6-webengine without CUPS, a CUPS option has been
added and the Pdf module has been split out to a new port: print/qt6-pdf.
This also allows building devel/py-qt6-pyqt without pulling in the unused
WebEngine module. Fixes [1].
Remove a lot of unused dependencies. Fixes [2]. Also remove inconsistent
WWW lines from the individual Makefiles as WWW is alreay defined in
Mk/Uses/qt-dist.mk. [3]
Announcement: https://www.qt.io/blog/qt-6.6.1-released
Rel note: https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.6.1/release-note.md
PR: 271111 [1], 268692 [2]
Reported by: echoxxzz <echoxxzz@gmail.com> [1],
Matthieu Volat <mazhe@alkumuna.eu> [2],
lwhsu (via #freebsd-desktop IRC) [3]
MFH: 2023Q4
Security: 6d9c6aae-5eb1-11ee-8290-a8a1599412c6,
07ee8c14-68f1-11ee-8290-a8a1599412c6,
a1e27775-7a61-11ee-8290-a8a1599412c6,
0da4db89-84bf-11ee-8290-a8a1599412c6
2023-12-01 01:18:14 +01:00
|
|
|
WWW= https://www.qt.io/
|
2022-12-31 09:25:30 +01:00
|
|
|
|
|
|
|
NO_ARCH= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
USES= qt:6 tar:xz
|
|
|
|
USE_QT= #
|
|
|
|
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/qt6
|
|
|
|
|
|
|
|
_QT_DISTS= 3d 5compat activeqt base charts coap connectivity datavis3d \
|
2023-11-23 18:26:11 +01:00
|
|
|
declarative doc graphs httpserver mqtt multimedia networkauth \
|
|
|
|
opcua positioning quick3d quick3dphysics remoteobjects scxml \
|
|
|
|
sensors serialbus serialport speech tools virtualkeyboard \
|
2022-12-31 09:25:30 +01:00
|
|
|
wayland webchannel webengine websockets webview
|
2023-11-23 18:26:11 +01:00
|
|
|
EXAMPLES= ${_QT_DISTS:C/^/qt/}
|
2022-12-31 09:25:30 +01:00
|
|
|
|
|
|
|
.for example in ${EXAMPLES}
|
|
|
|
EXTRACT_AFTER_ARGS+= ${DISTNAME:S/-opensource//}/${example}/examples
|
|
|
|
.endfor
|
2023-11-23 18:26:11 +01:00
|
|
|
EXTRACT_AFTER_ARGS+= ${DISTNAME:S/-opensource//}/qtsvg/tests/manual/examples
|
2022-12-31 09:25:30 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for example in ${EXAMPLES}
|
|
|
|
cd ${WRKSRC}/${example}/examples && \
|
|
|
|
${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.endfor
|
2023-11-23 18:26:11 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/svg
|
|
|
|
cd ${WRKSRC}/qtsvg/tests/manual/examples && \
|
|
|
|
${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/svg
|
2022-12-31 09:25:30 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|