xdg-desktop-portal-lxqt: update to 1.3.0.
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
From 15fae3c57a8e8149ef19a8c919f5728016390e3f Mon Sep 17 00:00:00 2001
|
||||
From: Chiitoo <Chiitoo@users.noreply.github.com>
|
||||
Date: Wed, 8 Oct 2025 19:48:31 +0300
|
||||
Subject: [PATCH] cmake: fix build with Qt 6.10 (#50)
|
||||
|
||||
The 'Qt6FooPrivate' targets have been split into separate CMake files
|
||||
in Qt 6.9, and require a 'find_package(Qt6FooPrivate)' call starting
|
||||
with Qt 6.10.
|
||||
|
||||
See also: https://bugreports.qt.io/browse/QTBUG-87776
|
||||
---
|
||||
CMakeLists.txt | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index b1e6103..22fe8af 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -18,6 +18,11 @@ find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
|
||||
DBus
|
||||
Widgets
|
||||
)
|
||||
+
|
||||
+if (Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.10.0")
|
||||
+ find_package(Qt6GuiPrivate REQUIRED)
|
||||
+endif()
|
||||
+
|
||||
find_package(fm-qt6 ${LIBFMQT_MINIMUM_VERSION} REQUIRED)
|
||||
find_package(KF6WindowSystem ${KF6_MIN_VERSION} REQUIRED)
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
# Template file for 'xdg-desktop-portal-lxqt'
|
||||
pkgname=xdg-desktop-portal-lxqt
|
||||
version=1.2.0
|
||||
revision=2
|
||||
version=1.3.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="qt6-base qt6-tools"
|
||||
makedepends="kf6-kwindowsystem-devel libfm-qt-devel qt6-base-private-devel"
|
||||
makedepends="kf6-kwindowsystem-devel libfm-qt-devel qt6-base-private-devel
|
||||
menu-cache-devel libexif-devel"
|
||||
short_desc="Backend implementation for xdg-desktop-portal using KF6"
|
||||
maintainer="Enrico Belleri <idesmi@protonmail.com>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://github.com/lxqt/xdg-desktop-portal-lxqt"
|
||||
changelog="https://github.com/lxqt/xdg-desktop-portal-lxqt/raw/master/CHANGELOG"
|
||||
distfiles="https://github.com/lxqt/xdg-desktop-portal-lxqt/archive/${version}.tar.gz"
|
||||
checksum=e062388b7b54c2e20a34fa343586c77ccdf28fa4e9ed242488f6e7f41c73c176
|
||||
checksum=f6bb053091f01baf059e80300e038fb2fa3c2a8c35d377f525735064dbef9b46
|
||||
|
||||
Reference in New Issue
Block a user