* [scarthgap][PATCH 2/2] shared-mime-info: Handle USE_NLS
@ 2025-09-19 3:57 AshishKumar Mishra
2025-09-22 4:25 ` Ashish Mishra
0 siblings, 1 reply; 4+ messages in thread
From: AshishKumar Mishra @ 2025-09-19 3:57 UTC (permalink / raw)
To: openembedded-core
Cc: anuj.mittal, Philip Lorenz, Mathieu Dubois-Briand, Richard Purdie,
AshishKumar Mishra
From: Philip Lorenz <philip.lorenz@bmw.de>
Skip building of translations when NLS is disabled.
(From OE-Core rev: b58a3f4e9c78522423a94821b7ba7a35eb18f75a)
Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: AshishKumar Mishra <emailaddress.ashish@gmail.com>
---
.../recipes-support/shared-mime-info/shared-mime-info_2.4.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb b/meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb
index b8a377e2b2..52daccc977 100644
--- a/meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb
@@ -17,7 +17,10 @@ S = "${WORKDIR}/git"
inherit meson pkgconfig gettext python3native mime
-EXTRA_OEMESON = "-Dupdate-mimedb=true"
+EXTRA_OEMESON = " \
+ -Dupdate-mimedb=true \
+ -Dbuild-translations=${@'false' if d.getVar('USE_NLS') == 'no' else 'true'} \
+ "
FILES:${PN} += "${datadir}/mime"
FILES:${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc ${datadir}/gettext/its"
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-10-13 5:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-19 3:57 [scarthgap][PATCH 2/2] shared-mime-info: Handle USE_NLS AshishKumar Mishra
2025-09-22 4:25 ` Ashish Mishra
2025-10-06 5:35 ` Ashish Mishra
2025-10-13 5:31 ` Ashish Mishra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox