summaryrefslogtreecommitdiffstats
path: root/conf.d/cmake/00-debian-osconfig.cmake
blob: a2b9325c7b7d67b9a014836e943c22d1c4ccfcfc (plain)
1
list(APPEND PKG_REQUIRED_LIST lua>=5.3)
color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
SUMMARY = "Open JTalk is a Japanese text-to-speech system."
HOMEPAGE = "http://open-jtalk.sourceforge.net/"
SECTION = "libs"
LICENSE = "BSD"

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

BBCLASSEXTEND = "native"

SRC_URI = "\
	http://downloads.sourceforge.net/open-jtalk/open_jtalk-${PV}.tar.gz \
	file://fix-mecab-tool.patch \
	"

SRC_URI_class-native = "\
	http://downloads.sourceforge.net/open-jtalk/open_jtalk-${PV}.tar.gz \
	"


SRC_URI[md5sum] = "5dfdbad432d892f044fb96129a524bfe"
SRC_URI[sha256sum] = "8ed79238d825fee1d9e0a1c6c8a89e2cc707189be1caa3fa79e8eb72436079d7"

DEPENDS = " hts-engine openjtalk-native "
DEPENDS_class-native = " hts-engine-native "

RDEPENDS_${PN} = " openjtalk-voicedata "
RDEPENDS_${PN}_class-native = " "

inherit autotools-brokensep

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


EXTRA_OECONF = " \
 --with-hts-engine-header-path=${PKG_CONFIG_SYSROOT_DIR}/usr/include \
 --with-hts-engine-library-path=${PKG_CONFIG_SYSROOT_DIR}/usr/lib \
"

EXTRA_OECONF_class-native = " \
 --with-hts-engine-header-path=${includedir} \
 --with-hts-engine-library-path=${libdir} \
"

do_install_append_class-native() {
	install -m 755 mecab/src/mecab-dict-index ${D}${bindir}
}

FILES_${PN} += " ${datadir}/dic/* "