git: b5401f52d55f - main - devel/libqtxdg: Fix cmake4 update issue

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sun, 20 Sep 2026 21:53:19 UTC
The branch main has been updated by acm:

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

commit b5401f52d55f516ecac6ea2d3c3b7658f02e0e01
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2026-09-20 21:51:43 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2026-09-20 21:51:43 +0000

    devel/libqtxdg: Fix cmake4 update issue
    
    - Mark DEPRECATED and set EXPIRATION_DATE
    - Bump PORTREVISION
    
    With hat:       lxqt
    PR:             298567
    Reported by:    arrowd
---
 devel/libqtxdg/Makefile                   | 4 ++++
 devel/libqtxdg/files/patch-CMakeLists.txt | 8 ++++++++
 2 files changed, 12 insertions(+)

diff --git a/devel/libqtxdg/Makefile b/devel/libqtxdg/Makefile
index ec5de086155e..72411337d128 100644
--- a/devel/libqtxdg/Makefile
+++ b/devel/libqtxdg/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libqtxdg
 PORTVERSION=	3.12.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	LXQT/${PORTNAME}
 
@@ -9,6 +10,9 @@ WWW=		https://github.com/lxde/libqtxdg
 
 LICENSE=	LGPL21+
 
+DEPRECATED=	Uses qt5 switch to qt6 variant devel/libqt6xdg
+EXPIRATION_DATE=2026-11-20
+
 USES=		cmake compiler:c++17-lang gnome lxqt:1 pkgconfig qt:5 tar:xz
 USE_LDCONFIG=	yes
 USE_GNOME=	glib20
diff --git a/devel/libqtxdg/files/patch-CMakeLists.txt b/devel/libqtxdg/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..9b51b7af26c7
--- /dev/null
+++ b/devel/libqtxdg/files/patch-CMakeLists.txt
@@ -0,0 +1,8 @@
+--- CMakeLists.txt.orig	2023-11-05 10:36:40 UTC
++++ CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR)
+ # CMP0000: Call the cmake_minimum_required() command at the beginning of the top-level
+ # CMakeLists.txt file even before calling the project() command.
+ # The cmake_minimum_required(VERSION) command implicitly invokes the cmake_policy(VERSION)