deskutils/copyq: Remove Qt flavors

Drop local Qt 5.x support for ease of maintainership and its eventual
removal from the FreeBSD ports tree. Qt 5.x has been long deprecated
upstream [1] and the FreeBSD kde@ team recommends using Qt 6.x for
end-user applications whenever possible.

[1] https://www.qt.io/blog/qt-5.15-support-ends
This commit is contained in:
Nuno Teixeira 2025-01-02 22:10:24 +00:00
parent 420fb73865
commit a5268609be
2 changed files with 9 additions and 19 deletions

2
MOVED
View file

@ -3996,3 +3996,5 @@ x11/mere-about||2025-01-02|Unknown, port deleted long time ago, entry added to c
x11/mere-utils||2025-01-02|Unknown, port deleted long time ago, entry added to clean up portscout.freebsd.org x11/mere-utils||2025-01-02|Unknown, port deleted long time ago, entry added to clean up portscout.freebsd.org
editors/neovim-qt@qt5|editors/neovim-qt|2025-01-02|Flavorization has been removed. Qt 5.x has been long deprecated upstream. Please use the unflavored editors/neovim-qt port based on Qt 6.x instead editors/neovim-qt@qt5|editors/neovim-qt|2025-01-02|Flavorization has been removed. Qt 5.x has been long deprecated upstream. Please use the unflavored editors/neovim-qt port based on Qt 6.x instead
editors/neovim-qt@qt6|editors/neovim-qt|2025-01-02|Flavorization has been removed. Continue to enjoy editors/neovim-qt based on Qt 6.x as usual editors/neovim-qt@qt6|editors/neovim-qt|2025-01-02|Flavorization has been removed. Continue to enjoy editors/neovim-qt based on Qt 6.x as usual
deskutils/copyq@qt5|deskutils/copyq|2025-01-02|Flavorization has been removed. Qt 5.x has been long deprecated upstream. Please use the unflavored deskutils/copyq port based on Qt 6.x instead
deskutils/copyq@qt6|deskutils/copyq|2025-01-02|Flavorization has been removed. Continue to enjoy deskutils/copyq based on Qt 6.x as usual

View file

@ -1,12 +1,12 @@
PORTNAME= copyq PORTNAME= copyq
DISTVERSION= 9.1.0 DISTVERSION= 9.1.0
PORTREVISION= 1
CATEGORIES= deskutils CATEGORIES= deskutils
MASTER_SITES= https://github.com/hluk/CopyQ/releases/download/v${DISTVERSION}/ MASTER_SITES= https://github.com/hluk/CopyQ/releases/download/v${DISTVERSION}/
PKGNAMESUFFIX= -${FLAVOR}
DISTNAME= Copyq-${DISTVERSION} DISTNAME= Copyq-${DISTVERSION}
MAINTAINER= eduardo@FreeBSD.org MAINTAINER= eduardo@FreeBSD.org
COMMENT= Qt${FLAVOR:S/qt//} based clipboard manager COMMENT= Qt6 based clipboard manager
WWW= https://github.com/hluk/CopyQ WWW= https://github.com/hluk/CopyQ
LICENSE= GPLv3+ LICENSE= GPLv3+
@ -15,25 +15,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libwayland-client.so:graphics/wayland \ LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon libxkbcommon.so:x11/libxkbcommon
FLAVORS= qt5 qt6 USES= cmake gl kde:6 pkgconfig qt:6 xorg
FLAVOR?= qt5 USE_GL= opengl
qt5_CONFLICTS_INSTALL= copyq-qt6 USE_KDE= notifications ecm:build statusnotifieritem
qt6_CONFLICTS_INSTALL= copyq-qt5 USE_QT= base declarative svg wayland translations:build
USES= cmake gl kde:${FLAVOR:S/qt//} pkgconfig qt:${FLAVOR:S/qt//} \
xorg
USE_GL= gl
_USE_KDE_qt5= ecm:build notifications
_USE_KDE_qt6= ecm:build notifications statusnotifieritem
USE_KDE= ${_USE_KDE_${FLAVOR}}
_USE_QT5= core dbus declarative gui network svg wayland widgets x11extras \
xml buildtools:build qmake:build
_USE_QT6= base declarative svg wayland translations:build
USE_QT= ${_USE_QT${FLAVOR:S/qt//}}
USE_XORG= ice sm x11 xext xfixes xtst USE_XORG= ice sm x11 xext xfixes xtst
_QT6_CMAKE_ARGS= -DWITH_QT6:BOOL=TRUE CMAKE_ARGS= -DWITH_QT6:BOOL=TRUE
CMAKE_ARGS= ${_QT${FLAVOR:S/qt//}_CMAKE_ARGS}
PORTSCOUT= limit:^d\.d\. PORTSCOUT= limit:^d\.d\.