summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/hts_engine/hts-engine_1.10.bb
blob: ed5cae63cd649619f1011752cccecc20ae35f631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "hts_engine is software to synthesize speech waveform from HMMs trained by the HMM-based speech synthesis system (HTS)."
HOMEPAGE = "http://hts-engine.sourceforge.net/"
SECTION = "libs"
LICENSE = "BSD"

LIC_FILES_CHKSUM = "file://COPYING;md5=b3be85b37c90bfd4d34d79a0e3f28700"

inherit autotools

BBCLASSEXTEND = "native"

S = "${WORKDIR}/hts_engine_API-${PV}"


SRC_URI = "http://downloads.sourceforge.net/hts-engine/hts_engine_API-${PV}.tar.gz \
           file://nomalize.patch \
          "

SRC_URI[md5sum] = "5626d1e2522659e93fb295f0b42339f5"
SRC_URI[sha256sum] = "e2132be5860d8fb4a460be766454cfd7c3e21cf67b509c48e1804feab14968f7"
n> of special directories) # the configuration has to be in code. We make these changes here directly. ################################################################################## do_patch[prefuncs] += "patch_systemd" do_patch[vardeps] += "patch_systemd" patch_systemd() { # Handling of /run and /sys/fs/cgroup. Make /run a transmuting directory to # enable systemd communications with services in the User domain. # Original patch by Michael Demeter <michael.demeter@intel.com>. # # We simplify the patching by touching only lines which check the result of # mac_smack_use(). Those are the ones which are used when Smack is active. # # smackfsroot=* on /sys/fs/cgroup may be upstreamable, but smackfstransmute=System::Run # is too distro specific (depends on Smack rules) and thus has to remain here. sed -i -e 's;\("/sys/fs/cgroup", *"[^"]*", *"[^"]*\)\(.*mac_smack_use.*\);\1,smackfsroot=*\2;' \ -e 's;\("/run", *"[^"]*", *"[^"]*\)\(.*mac_smack_use.*\);\1,smackfstransmute=System::Run\2;' \ ${S}/src/core/mount-setup.c } ################################################################################## # What follows is temporary. # This is a solution to the Bug-AGL SPEC-539 # (see https://jira.automotivelinux.org/browse/SPEC-539). # # It renames the file "touchscreen.rules" to "55-touchscreen.rules" # This comes with the recipe systemd_230/234 of poky (meta/recipes-core/systemd) # It should be removed when poky changes. ################################################################################## do_install_prepend() { mv ${WORKDIR}/touchscreen.rules ${WORKDIR}/55-touchscreen.rules || true }