git: d5c96ba20c67 - main - deskutils/flameshot: Update to 14.0.0

Nicola Vitale <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d5c96ba20c67cfc0629e214b6fff1007e1aa17db

commit d5c96ba20c67cfc0629e214b6fff1007e1aa17db
Author:     Denis Shaposhnikov <[email protected]>
AuthorDate: 2026-08-18 06:44:16 +0000
Commit:     Nicola Vitale <[email protected]>
CommitDate: 2026-08-18 06:44:16 +0000

    deskutils/flameshot: Update to 14.0.0
    
    - Switch from QT5 to QT6 libraries
    - Download Color-Widgets component from GitLab, because we only have a
      QT5 version in the ports tree (x11-toolkits/color-widgets-qt5)
    - Pet portclippy
    
    PR:             297559
---
 deskutils/flameshot/Makefile  | 30 ++++++++++++++++++++----------
 deskutils/flameshot/distinfo  |  8 +++++---
 deskutils/flameshot/pkg-plist |  9 +++++++++
 3 files changed, 34 insertions(+), 13 deletions(-)

diff --git a/deskutils/flameshot/Makefile b/deskutils/flameshot/Makefile
index 11b034bc457a..7bf89790d706 100644
--- a/deskutils/flameshot/Makefile
+++ b/deskutils/flameshot/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	flameshot
-PORTVERSION=	12.1.0
+PORTVERSION=	14.0.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
 CATEGORIES=	deskutils wayland
 
 MAINTAINER=	[email protected]
@@ -11,19 +10,30 @@ WWW=		https://flameshot.org/
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake compiler:c++11-lang desktop-file-utils gl qmake qt:5
+LIB_DEPENDS=	libkdsingleapplication-qt6.so:devel/kdsingleapplication
+
+USES=		cmake compiler:c++11-lang desktop-file-utils gl qt:6
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	flameshot-org
-USE_GL=		gl
-USE_QT=		core dbus gui linguist network svg widgets buildtools:build
 
-CMAKE_INSTALL_PREFIX=	${STAGEDIR}/${PREFIX}
+USE_GITLAB=	nodefault
+GL_ACCOUNT=	mattbas
+GL_PROJECT=	Qt-Color-Widgets
+GL_TAGNAME=	5d52e907e50dc88cf969b41cea44665ff6c475b1
+GL_TUPLE:=	${GL_ACCOUNT}:${GL_PROJECT}:${GL_TAGNAME}:Qt_Color_Widgets/external/${GL_PROJECT}
+
+USE_GL=		opengl
+USE_QT=		base imageformats svg tools:build
+
+CMAKE_ON=	DISABLE_UPDATE_CHECKER
+CMAKE_OFF=	USE_BUNDLED_KDSINGLEAPPLICATION
 
 post-patch:
-	        @${REINPLACE_CMD} -e 's,$${CMAKE_INSTALL_FULL_BINDIR},${LOCALBASE}/bin,1' \
-			-e 's,^\(Exec=\)@LAUNCHER_EXECUTABLE@,\1${LOCALBASE}/bin/${PORTNAME},1' \
-	                ${WRKSRC}/data/dbus/org.flameshot.Flameshot.service.in \
-	                ${WRKSRC}/data/desktopEntry/package/org.flameshot.Flameshot.desktop
+	${REINPLACE_CMD} \
+		-e 's,$${CMAKE_INSTALL_FULL_BINDIR},${LOCALBASE}/bin,1' \
+		-e 's,^\(Exec=\)@LAUNCHER_EXECUTABLE@,\1${LOCALBASE}/bin/${PORTNAME},1' \
+		${WRKSRC}/data/dbus/org.flameshot.Flameshot.service.in \
+		${WRKSRC}/data/desktopEntry/package/org.flameshot.Flameshot.desktop
 
 .include <bsd.port.mk>
diff --git a/deskutils/flameshot/distinfo b/deskutils/flameshot/distinfo
index e8534a5dc75b..102387f7b157 100644
--- a/deskutils/flameshot/distinfo
+++ b/deskutils/flameshot/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1662223311
-SHA256 (flameshot-org-flameshot-v12.1.0_GH0.tar.gz) = c82c05d554e7a6d810aca8417ca12b21e4f74864455ab4ac94602668f85ac22a
-SIZE (flameshot-org-flameshot-v12.1.0_GH0.tar.gz) = 15618560
+TIMESTAMP = 1786812569
+SHA256 (flameshot-org-flameshot-v14.0.0_GH0.tar.gz) = 810c399f3b9fbfd72e24e61417ede24243925f9c0d03040a8aba0d4866676d93
+SIZE (flameshot-org-flameshot-v14.0.0_GH0.tar.gz) = 16393896
+SHA256 (mattbas-Qt-Color-Widgets-5d52e907e50dc88cf969b41cea44665ff6c475b1_GL0.tar.gz) = 99edd39dca0367b1cfd388bf031c4915137580bd73f87c65f7720b8a4af14efa
+SIZE (mattbas-Qt-Color-Widgets-5d52e907e50dc88cf969b41cea44665ff6c475b1_GL0.tar.gz) = 227547
diff --git a/deskutils/flameshot/pkg-plist b/deskutils/flameshot/pkg-plist
index 344dcc9b6a42..218976da720c 100644
--- a/deskutils/flameshot/pkg-plist
+++ b/deskutils/flameshot/pkg-plist
@@ -7,13 +7,17 @@ share/fish/vendor_completions.d/flameshot.fish
 %%DATADIR%%/translations/Internationalization_bg.qm
 %%DATADIR%%/translations/Internationalization_ca.qm
 %%DATADIR%%/translations/Internationalization_cs.qm
+%%DATADIR%%/translations/Internationalization_da.qm
 %%DATADIR%%/translations/Internationalization_de_DE.qm
 %%DATADIR%%/translations/Internationalization_el.qm
+%%DATADIR%%/translations/Internationalization_en.qm
 %%DATADIR%%/translations/Internationalization_es.qm
+%%DATADIR%%/translations/Internationalization_et.qm
 %%DATADIR%%/translations/Internationalization_eu.qm
 %%DATADIR%%/translations/Internationalization_fa.qm
 %%DATADIR%%/translations/Internationalization_fi.qm
 %%DATADIR%%/translations/Internationalization_fr.qm
+%%DATADIR%%/translations/Internationalization_ga.qm
 %%DATADIR%%/translations/Internationalization_gl.qm
 %%DATADIR%%/translations/Internationalization_grc.qm
 %%DATADIR%%/translations/Internationalization_he.qm
@@ -27,11 +31,16 @@ share/fish/vendor_completions.d/flameshot.fish
 %%DATADIR%%/translations/Internationalization_nl.qm
 %%DATADIR%%/translations/Internationalization_nl_NL.qm
 %%DATADIR%%/translations/Internationalization_pl.qm
+%%DATADIR%%/translations/Internationalization_pt.qm
 %%DATADIR%%/translations/Internationalization_pt_BR.qm
+%%DATADIR%%/translations/Internationalization_ro.qm
 %%DATADIR%%/translations/Internationalization_ru.qm
 %%DATADIR%%/translations/Internationalization_sk.qm
 %%DATADIR%%/translations/Internationalization_sr_SP.qm
 %%DATADIR%%/translations/Internationalization_sv_SE.qm
+%%DATADIR%%/translations/Internationalization_sw.qm
+%%DATADIR%%/translations/Internationalization_ta.qm
+%%DATADIR%%/translations/Internationalization_th.qm
 %%DATADIR%%/translations/Internationalization_tr.qm
 %%DATADIR%%/translations/Internationalization_uk.qm
 %%DATADIR%%/translations/Internationalization_vi.qm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.