summaryrefslogtreecommitdiffstats
path: root/meta-offline-voice-agent/recipes-vosk/vosk-openfst/vosk-openfst_1.8.0.bb
blob: c7e07bfee62e378c1a29232fbb54a6e144f81003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "OpenFst is a library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs)."
SUMMARY = "Openfst mirror with some fixes"
HOMEPAGE = "https://github.com/alphacep/openfst"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=973381090441f4eb420224655e05e064"

SRC_URI = "git://github.com/alphacep/openfst.git;protocol=https;branch=master \
           file://0001-build-fixes-for-bitbake.patch \
           "

SRCREV = "7dfd808194105162f20084bb4d8e4ee4b65266d5"
S = "${WORKDIR}/git"

inherit autotools python3native

# Specify any options you want to pass to the configure script using EXTRA_OECONF:
EXTRA_OECONF = "--enable-static --enable-shared --enable-far --enable-ngram-fsts --enable-lookahead-fsts --with-pic --disable-bin"

FILES:${PN} += " /usr/lib/fst   /usr/lib/fst/arc_lookahead-fst.so \
  /usr/lib/fst/ilabel_lookahead-fst.so \
  /usr/lib/fst/ngram-fst.so \
  /usr/lib/fst/olabel_lookahead-fst.so \
"