commit: ae150890176998951cac4dc6107a7566c1f83c89
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 16 05:54:15 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 12:04:31 2023 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=ae150890
net-libs/accounts-qml: fix multibuild
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/accounts-qml/accounts-qml-9999.ebuild | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/net-libs/accounts-qml/accounts-qml-9999.ebuild
b/net-libs/accounts-qml/accounts-qml-9999.ebuild
index 5f43ea702f..f04e0f0b77 100644
--- a/net-libs/accounts-qml/accounts-qml-9999.ebuild
+++ b/net-libs/accounts-qml/accounts-qml-9999.ebuild
@@ -67,11 +67,14 @@ pkg_setup() {
src_prepare() {
default
- rm -v .gitignore doc/html/.gitignore || die
+ rm -v doc/html/.gitignore || die
+ multibuild_copy_sources
}
src_configure() {
my_src_configure() {
+ cd "${BUILD_DIR}" || die
+
local myqmakeargs=(
CONFIG+=no_docs \
PREFIX="${EPREFIX}"/usr
@@ -88,7 +91,12 @@ src_configure() {
}
src_compile() {
- multibuild_foreach_variant default
+ my_src_compile() {
+ emake -C "${BUILD_DIR}"
+ }
+
+ multibuild_foreach_variant my_src_compile
+
if use doc; then
local qtanybindir
if has_version "dev-qt/qttools:6[qdoc]"; then
@@ -103,7 +111,11 @@ src_compile() {
}
src_install() {
- multibuild_foreach_variant emake INSTALL_ROOT="${D}" install_subtargets
+ my_src_install() {
+ emake -C "${BUILD_DIR}" INSTALL_ROOT="${D}" install_subtargets
+ }
+
+ multibuild_foreach_variant my_src_install
use doc && local HTML_DOCS=( doc/html )
einstalldocs
}