commit: 9da1c2adbbef9c70f9a25603dd853fde43677cb1 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Mar 26 12:55:38 2023 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Mar 26 12:55:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9da1c2ad
app-office/libalkimia: Another cmake fix, this time from upstream Bug: https://bugs.gentoo.org/878397 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../files/libalkimia-8.1.0-cmake-webengine.patch | 27 ++++++++++++++++++++++ ...mia-8.1.1.ebuild => libalkimia-8.1.1-r1.ebuild} | 7 ++++-- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/app-office/libalkimia/files/libalkimia-8.1.0-cmake-webengine.patch b/app-office/libalkimia/files/libalkimia-8.1.0-cmake-webengine.patch new file mode 100644 index 000000000000..7d1140ca7509 --- /dev/null +++ b/app-office/libalkimia/files/libalkimia-8.1.0-cmake-webengine.patch @@ -0,0 +1,27 @@ +From 09a11cee26af4ca55e5839dd44e32400147dc119 Mon Sep 17 00:00:00 2001 +From: Alexander Lohnau <[email protected]> +Date: Sun, 11 Sep 2022 11:55:49 +0200 +Subject: [PATCH] Fix finding of WebEngineWidgets + +--- + src/LibAlkimiaConfig.cmake.in | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/LibAlkimiaConfig.cmake.in b/src/LibAlkimiaConfig.cmake.in +index 5c2dfc3..1ad866e 100644 +--- a/src/LibAlkimiaConfig.cmake.in ++++ b/src/LibAlkimiaConfig.cmake.in +@@ -9,7 +9,9 @@ if("@BUILD_QT4@" STREQUAL "ON" OR "@BUILD_QT4@" STREQUAL "1") + else() + find_dependency(Qt5Core) + find_dependency(Qt5DBus) +- if (@QT_BROWSER_LIB@) ++ if (@BUILD_WITH_WEBENGINE@) ++ find_dependency(Qt@QT_MAJOR_VERSION@WebEngineWidgets 5.15.0) ++ elseif (@QT_BROWSER_LIB@) + find_dependency(@QT_BROWSER_LIB@) + endif() + if (@QT_NETWORK_LIB@) +-- +2.40.0 + diff --git a/app-office/libalkimia/libalkimia-8.1.1.ebuild b/app-office/libalkimia/libalkimia-8.1.1-r1.ebuild similarity index 93% rename from app-office/libalkimia/libalkimia-8.1.1.ebuild rename to app-office/libalkimia/libalkimia-8.1.1-r1.ebuild index 0d5b5f054028..0cebd5e68506 100644 --- a/app-office/libalkimia/libalkimia-8.1.1.ebuild +++ b/app-office/libalkimia/libalkimia-8.1.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -54,7 +54,10 @@ BDEPEND=" doc? ( app-doc/doxygen ) " -PATCHES=( "${FILESDIR}/${PN}-8.1.0-cmake.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-8.1.0-cmake.patch" + "${FILESDIR}/${PN}-8.1.0-cmake-webengine.patch" +) src_configure() { local mycmakeargs=(
