mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-18 18:41:55 +00:00
Use libxml2 of oe-core to replace python3-lxml of meta-python
since meta-oe does not depend on meta-python
Set RDEPENDS_${PN}_class-native to fix `Missing or unbuildable
dependency chain was: ['meta-world-pkgdata', 'gnome-desktop3',
'itstool-native', 'libxml2-python-native']'
Apply changed from v3
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
23 lines
727 B
BlitzBasic
23 lines
727 B
BlitzBasic
SUMMARY = "ITS Tool allows you to translate your XML documents with PO files"
|
|
HOMEPAGE = "http://itstool.org/"
|
|
LICENSE = "GPLv3"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=59c57b95fd7d0e9e238ebbc7ad47c5a5"
|
|
|
|
inherit autotools python3native
|
|
|
|
DEPENDS = "libxml2-native"
|
|
|
|
SRC_URI = "http://files.itstool.org/${BPN}/${BPN}-${PV}.tar.bz2"
|
|
SRC_URI[md5sum] = "655c6f78fc64faee45adcc45ccc5a57e"
|
|
SRC_URI[sha256sum] = "100506f8df62cca6225ec3e631a8237e9c04650c77495af4919ac6a100d4b308"
|
|
|
|
do_install_append() {
|
|
# fix shebang of main script
|
|
sed -i 's:^#!${WORKDIR}.*${PYTHON_PN} -s:#!${bindir_native}/${PYTHON_PN} -s:' ${D}${bindir}/itstool
|
|
}
|
|
|
|
BBCLASSEXTEND = "native"
|
|
|
|
RDEPENDS_${PN} += "libxml2-python"
|
|
RDEPENDS_${PN}_class-native = ""
|