commit:     045424c12c2c2936e622d65ae124d161795cd211
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 15:20:05 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 15:32:22 2023 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=045424c1

app-crypt/qca: Fix build with USE=doc

Thanks-to: Thomas Bettler <thomas.bettler <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31427
Closes: https://bugs.gentoo.org/908454
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-crypt/qca/qca-2.3.6-r2.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-crypt/qca/qca-2.3.6-r2.ebuild 
b/app-crypt/qca/qca-2.3.6-r2.ebuild
index 0cdc05cd..c87391d2 100644
--- a/app-crypt/qca/qca-2.3.6-r2.ebuild
+++ b/app-crypt/qca/qca-2.3.6-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake kde.org multibuild qmake-utils
+inherit cmake kde.org multibuild out-of-source-utils qmake-utils
 
 DESCRIPTION="Qt Cryptographic Architecture (QCA)"
 HOMEPAGE="https://userbase.kde.org/QCA";
@@ -89,6 +89,9 @@ src_configure() {
 
 src_compile() {
        multibuild_foreach_variant cmake_src_compile
+       if use doc; then
+               multibuild_for_best_variant cmake_build doc
+       fi
 }
 
 src_test() {
@@ -103,10 +106,7 @@ src_install() {
        multibuild_foreach_variant cmake_src_install
 
        if use doc; then
-               pushd "${BUILD_DIR}" >/dev/null || die
-               doxygen Doxyfile || die
-               dodoc -r apidocs/html
-               popd >/dev/null || die
+               multibuild_for_best_variant run_in_build_dir dodoc -r 
apidocs/html
        fi
 
        if use examples; then

Reply via email to