shared-mime-info: Handle USE_NLS
PATCH 2/2 shared-mime-info: Handle USE_NLS
From: Philip Lorenz <[email protected]>
Skip building of translations when NLS is disabled.
(From OE-Core rev: b58a3f4e9c78522423a94821b7ba7a35eb18f75a)
Signed-off-by Philip Lorenz <[email protected]>
Signed-off-by Mathieu Dubois-Briand <[email protected]>
Signed-off-by Richard Purdie <[email protected]>
Signed-off-by AshishKumar Mishra <[email protected]>
--- .../recipes-support/shared-mime-info/shared-mime-info_2.4.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb +4 -1
@@ -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"
Signature · 1 line
2.43.0
Hi Team ,
Any feedback on this or if any suggestion
Thanks ,
Ashish
Hi Anuj,
Good morning.
These are backported patches from master.
Would request to please consider this patch for merge. If you have any feedback / suggestion, please feel free to share. I will work accordingly.
Thanks,
Ashish
Hi Anuj ,
Good Morning.
Would request to please consider this patch for merge. If any feedback / suggestion , i can rework accordingly.
Thanks ,
Ashish