flite: Add missing deps on alsa-lib and chrpath

Disable parallel build to avoid build race
Fixes

| make[1]: *** No rule to make target 'flite_voice_list.c', needed by 'all'.  Stop.
| make[1]: *** Waiting for unfinished jobs....
| make: *** [config/common_make_rules:133: build/arm-linux-gnueabi/obj//.make_build_dirs] Error 2
| ERROR: oe_runmake failed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2022-11-29 23:14:35 -08:00
parent 4635b1c427
commit 23446db2fc

View File

@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b3b732d1349633a53e69356607fd2d6c"
inherit autotools-brokensep
DEPENDS += "alsa-lib chrpath-replacement-native"
SRC_URI = "git://github.com/festvox/flite.git;protocol=https;branch=master"
SRCREV = "e9e2e37c329dbe98bfeb27a1828ef9a71fa84f88"
@ -14,6 +16,12 @@ S = "${WORKDIR}/git"
EXTRA_OECONF += "--enable-shared"
do_configure:append() {
sed -i '/$(INSTALL) -m 755 $(BINDIR)\/flite_time $(DESTDIR)$(INSTALLBINDIR)/d' ${S}/main/Makefile
}
do_install:append() {
chown -R root:root ${D}${libdir}/*
}
# | make[1]: *** No rule to make target 'flite_voice_list.c', needed by 'all'. Stop.
PARALLEL_MAKE = ""