commit:     d82f5d85ee9ed4f4aa30dce58c0bcc6450edc2c5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 23 22:04:18 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 23 22:05:10 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82f5d85

dev-libs/leancrypto: fix automagic doxygen; fix asm default

Just disable doxygen as we'd have to move the files anyway (no meson
docdir option) until someone asks for it.

Also, fix default to be +asm as intended like it is upstream.

Closes: https://bugs.gentoo.org/970507
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{leancrypto-1.6.0.ebuild => leancrypto-1.6.0-r1.ebuild}      | 9 ++++++++-
 dev-libs/leancrypto/leancrypto-9999.ebuild                       | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/dev-libs/leancrypto/leancrypto-1.6.0.ebuild 
b/dev-libs/leancrypto/leancrypto-1.6.0-r1.ebuild
similarity index 87%
rename from dev-libs/leancrypto/leancrypto-1.6.0.ebuild
rename to dev-libs/leancrypto/leancrypto-1.6.0-r1.ebuild
index 8c8b2890f709..ac6d623f4e24 100644
--- a/dev-libs/leancrypto/leancrypto-1.6.0.ebuild
+++ b/dev-libs/leancrypto/leancrypto-1.6.0-r1.ebuild
@@ -29,7 +29,7 @@ fi
 
 LICENSE="|| ( GPL-2 BSD-2 )"
 SLOT="0/1"
-IUSE="asm test tools"
+IUSE="+asm test tools"
 RESTRICT="!test? ( test )"
 
 PATCHES=(
@@ -44,11 +44,18 @@ src_configure() {
 }
 
 multilib_src_configure() {
+       local native_file="${T}"/meson.${CHOST}.${ABI}.ini.local
+       cat >> ${native_file} <<-EOF || die
+       [binaries]
+       doxygen='doxygen-falseified'
+       EOF
+
        local emesonargs=(
                -Dstrip=false
                $(meson_use !asm disable-asm)
                $(meson_feature test tests)
                $(meson_native_use_feature tools apps)
+               --native-file "${native_file}"
        )
 
        meson_src_configure

diff --git a/dev-libs/leancrypto/leancrypto-9999.ebuild 
b/dev-libs/leancrypto/leancrypto-9999.ebuild
index a0a5a9d37b57..51e451491add 100644
--- a/dev-libs/leancrypto/leancrypto-9999.ebuild
+++ b/dev-libs/leancrypto/leancrypto-9999.ebuild
@@ -29,7 +29,7 @@ fi
 
 LICENSE="|| ( GPL-2 BSD-2 )"
 SLOT="0/1"
-IUSE="asm test tools"
+IUSE="+asm test tools"
 RESTRICT="!test? ( test )"
 
 PATCHES=(
@@ -42,11 +42,18 @@ src_configure() {
 }
 
 multilib_src_configure() {
+       local native_file="${T}"/meson.${CHOST}.${ABI}.ini.local
+       cat >> ${native_file} <<-EOF || die
+       [binaries]
+       doxygen='doxygen-falseified'
+       EOF
+
        local emesonargs=(
                -Dstrip=false
                $(meson_use !asm disable-asm)
                $(meson_feature test tests)
                $(meson_native_use_feature tools apps)
+               --native-file "${native_file}"
        )
 
        meson_src_configure

Reply via email to