public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/libalkimia/files/, app-office/libalkimia/
Date: Sun, 26 Mar 2023 13:09:22 +0000 (UTC)	[thread overview]
Message-ID: <1679835338.9da1c2adbbef9c70f9a25603dd853fde43677cb1.asturm@gentoo> (raw)

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 <alexander.lohnau@gmx.de>
+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=(


             reply	other threads:[~2023-03-26 13:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-26 13:09 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-16 12:32 [gentoo-commits] repo/gentoo:master commit in: app-office/libalkimia/files/, app-office/libalkimia/ Andreas Sturmlechner
2025-02-12 23:44 Andreas Sturmlechner
2021-04-06 11:06 Andreas Sturmlechner
2021-03-05 21:48 Andreas Sturmlechner
2020-06-30 14:45 Andreas Sturmlechner
2017-07-06 12:51 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1679835338.9da1c2adbbef9c70f9a25603dd853fde43677cb1.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox