xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/itstool/itstool_2.0.7.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "ITS Tool allows you to translate your XML documents with PO files"
2*4882a593SmuzhiyunDESCRIPTION = "It extracts messages from XML files and outputs PO template \
3*4882a593Smuzhiyunfiles, then merges translations from MO files to create translated \
4*4882a593SmuzhiyunXML files. It determines what to translate and how to chunk it into \
5*4882a593Smuzhiyunmessages using the W3C Internationalization Tag Set (ITS). "
6*4882a593SmuzhiyunHOMEPAGE = "http://itstool.org/"
7*4882a593SmuzhiyunLICENSE = "GPL-3.0-only"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "\
9*4882a593Smuzhiyun    file://COPYING;md5=59c57b95fd7d0e9e238ebbc7ad47c5a5 \
10*4882a593Smuzhiyun    file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
11*4882a593Smuzhiyun"
12*4882a593Smuzhiyun
13*4882a593Smuzhiyuninherit autotools python3native
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunDEPENDS = "libxml2-native"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunSRC_URI = "http://files.itstool.org/${BPN}/${BPN}-${PV}.tar.bz2 \
18*4882a593Smuzhiyun           "
19*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://itstool.org/download.html"
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunSRC_URI:append:class-native = " file://0001-Native-Don-t-use-build-time-hardcoded-python-binary-.patch"
22*4882a593SmuzhiyunSRC_URI:append:class-nativesdk = " file://0001-Native-Don-t-use-build-time-hardcoded-python-binary-.patch"
23*4882a593SmuzhiyunSRC_URI:append:class-target = " file://0002-Don-t-use-build-time-hardcoded-python-binary-path.patch"
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunSRC_URI[sha256sum] = "6b9a7cd29a12bb95598f5750e8763cee78836a1a207f85b74d8b3275b27e87ca"
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunRDEPENDS:${PN} += "libxml2-python"
30