freebsd-ports/misc/qt6-examples/Makefile
Jason E. Hale 8adbabc798 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 13:16:47 -05:00

42 lines
1.2 KiB
Makefile

PORTNAME= examples
DISTVERSION= ${QT6_VERSION}
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
COMMENT= Qt 6 examples source code
WWW= https://www.qt.io/
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 \
declarative doc graphs httpserver mqtt multimedia networkauth \
opcua positioning quick3d quick3dphysics remoteobjects scxml \
sensors serialbus serialport speech tools virtualkeyboard \
wayland webchannel webengine websockets webview
EXAMPLES= ${_QT_DISTS:C/^/qt/}
.for example in ${EXAMPLES}
EXTRACT_AFTER_ARGS+= ${DISTNAME:S/-opensource//}/${example}/examples
.endfor
EXTRACT_AFTER_ARGS+= ${DISTNAME:S/-opensource//}/qtsvg/tests/manual/examples
do-install:
.for example in ${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>