fluxbox: ensure i18n is build properly

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2017-11-24 16:42:30 +01:00
parent 3762105f96
commit 7d245e1580
2 changed files with 7 additions and 0 deletions

View File

@@ -13,3 +13,6 @@ BBFILE_PRIORITY_meta-qt5-extra = "20"
LAYERDEPENDS_meta-qt5-extra = "core qt5-layer openembedded-layer networking-layer multimedia-layer"
LICENSE_PATH += "${LAYERDIR}/files/licenses"
# required for fluxbox - supplied by e.g fedora glibc-common
HOSTTOOLS_NONFATAL += "gencat"

View File

@@ -24,6 +24,10 @@ SRC_URI = " \
SRC_URI[md5sum] = "d99d7710f9daf793e0246dae5304b595"
SRC_URI[sha256sum] = "c99e2baa06fff1e96342b20415059d12ff1fa2917ade0173c75b2fa570295b9f"
# in case of migration to other layer, build properly for missing
# HOSTTOOLS_NONFATAL += "gencat" in layer.conf
EXTRA_OECONF += "${@bb.utils.contains('HOSTTOOLS_NONFATAL', 'gencat', '--enable-nls', '--disable-nls', d)}"
do_install_append() {
install -d ${D}/${datadir}/xsessions
install -m 0644 -p ${WORKDIR}/fluxbox.desktop ${D}/${datadir}/xsessions