diff --git a/devel/libqtxdg/Makefile b/devel/libqtxdg/Makefile index ec5de086155e..72411337d128 100644 --- a/devel/libqtxdg/Makefile +++ b/devel/libqtxdg/Makefile @@ -1,23 +1,27 @@ PORTNAME= libqtxdg PORTVERSION= 3.12.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= LXQT/${PORTNAME} MAINTAINER= lxqt@FreeBSD.org COMMENT= Qt implementation of freedesktop.org xdg specs 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 USE_QT= buildtools:build qmake:build core dbus gui svg widgets \ xml USE_LXQT= buildtools post-extract: @${MV} ${WRKSRC}/config/lxqt-qtxdg.conf ${WRKSRC}/config/lxqt-qtxdg-legacy.conf @${MV} ${WRKSRC}/config/qtxdg.conf ${WRKSRC}/config/qtxdg-legacy.conf .include 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)