mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
shared-mime-info: Handle USE_NLS
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>
This commit is contained in:
parent
eeb3974472
commit
6f397c72f4
|
|
@ -15,7 +15,10 @@ SRCREV = "9a6d6b8e963935f145f3a1ef446552de6996dada"
|
|||
|
||||
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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user