Accepting request 1191042 from devel:tools

OBS-URL: https://build.opensuse.org/request/show/1191042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zeal?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2024-08-02 15:26:55 +00:00 committed by Git OBS Bridge
commit fe5398fb08
3 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1,14 @@
---
src/app/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: zeal-0.7.1/src/app/CMakeLists.txt
===================================================================
--- zeal-0.7.1.orig/src/app/CMakeLists.txt
+++ zeal-0.7.1/src/app/CMakeLists.txt
@@ -1,4 +1,4 @@
-find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets REQUIRED)
+find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Concurrent Network WebChannel WebEngineWidgets Widgets REQUIRED)
if (Qt${QT_VERSION_MAJOR}Widgets_VERSION VERSION_LESS QT_MINIMUM_VERSION)
message(FATAL_ERROR "Qt version >= ${QT_MINIMUM_VERSION} is required.")
endif()

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Jul 27 11:45:35 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Add zeal-cmake-find-qt-components.patch -- Explicitly find
necessary Qt6 components to fix build with Qt 6.7.2
(gh#zealdocs/zeal#1643).
-------------------------------------------------------------------
Sat Jun 08 09:14:14 UTC 2024 - andrea.manzini@suse.com

View File

@ -28,6 +28,8 @@ URL: https://zealdocs.org
Source0: %{name}-%{version}.tar.xz
# `help2man zeal > zeal.1` can't be run without X started.
Source9: zeal.1
# PATCH-FIX-UPSTREAM zeal-cmake-find-qt-components.patch gh#zealdocs/zeal#1643 badshah400@gmail.com -- Explicitly find necessary Qt6 components to fix build with Qt 6.7.2
Patch0: zeal-cmake-find-qt-components.patch
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
@ -47,8 +49,8 @@ BuildRequires: pkgconfig(xcb-keysyms)
Requires: libQt6Sql6 >= 6.2.0
Requires(post): hicolor-icon-theme
Requires(post): update-desktop-files
Requires(postun): hicolor-icon-theme
Requires(postun): update-desktop-files
Requires(postun):hicolor-icon-theme
Requires(postun):update-desktop-files
%description
Zeal is an offline API documentation browser inspired by Dash