diff options
| author | Sam James <sam@gentoo.org> | 2023-12-16 05:54:15 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2023-12-17 12:04:31 +0000 |
| commit | ae150890176998951cac4dc6107a7566c1f83c89 (patch) | |
| tree | cec43abb1d70f8b30ebd336fc316c065fe951124 | |
| parent | ea4b2a9841623743a83cd7106d68d19af1dbf1f0 (diff) | |
| download | kde-ae150890176998951cac4dc6107a7566c1f83c89.tar.gz kde-ae150890176998951cac4dc6107a7566c1f83c89.tar.bz2 kde-ae150890176998951cac4dc6107a7566c1f83c89.zip | |
net-libs/accounts-qml: fix multibuild
Signed-off-by: Sam James <sam@gentoo.org>
| -rw-r--r-- | net-libs/accounts-qml/accounts-qml-9999.ebuild | 18 |
1 files 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 5f43ea702f2..f04e0f0b776 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 } |
