summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/hplip
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-extended/hplip
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/hplip')
-rw-r--r--meta-oe/recipes-extended/hplip/hplip_3.19.12.bb24
1 files changed, 12 insertions, 12 deletions
diff --git a/meta-oe/recipes-extended/hplip/hplip_3.19.12.bb b/meta-oe/recipes-extended/hplip/hplip_3.19.12.bb
index 457a97453..0f314288c 100644
--- a/meta-oe/recipes-extended/hplip/hplip_3.19.12.bb
+++ b/meta-oe/recipes-extended/hplip/hplip_3.19.12.bb
@@ -45,7 +45,7 @@ EXTRA_OECONF += "\
45 45
46EXTRA_OEMAKE = "rulessystemdir=${systemd_unitdir}/system/" 46EXTRA_OEMAKE = "rulessystemdir=${systemd_unitdir}/system/"
47 47
48do_install_append() { 48do_install:append() {
49 rm -rf ${D}${datadir}/hplip/upgrade.py 49 rm -rf ${D}${datadir}/hplip/upgrade.py
50 rm -rf ${D}${datadir}/hplip/uninstall.py 50 rm -rf ${D}${datadir}/hplip/uninstall.py
51 sed -i -e "s|/usr/bin/env python|/usr/bin/env python3|g" ${D}${datadir}/hplip/*.py 51 sed -i -e "s|/usr/bin/env python|/usr/bin/env python3|g" ${D}${datadir}/hplip/*.py
@@ -54,7 +54,7 @@ do_install_append() {
54 54
55PACKAGE_BEFORE_PN += "${PN}-ppd ${PN}-cups ${PN}-backend ${PN}-filter ${PN}-hal" 55PACKAGE_BEFORE_PN += "${PN}-ppd ${PN}-cups ${PN}-backend ${PN}-filter ${PN}-hal"
56 56
57RDEPENDS_${PN} += " \ 57RDEPENDS:${PN} += " \
58 python3\ 58 python3\
59 python3-syslog \ 59 python3-syslog \
60 python3-pprint \ 60 python3-pprint \
@@ -66,23 +66,23 @@ RDEPENDS_${PN} += " \
66 python3-resource \ 66 python3-resource \
67 python3-terminal \ 67 python3-terminal \
68" 68"
69RDEPENDS_${PN}-filter += "perl" 69RDEPENDS:${PN}-filter += "perl"
70 70
71# need to snag the debug file or OE will fail on backend package 71# need to snag the debug file or OE will fail on backend package
72FILES_${PN}-dbg += "\ 72FILES:${PN}-dbg += "\
73 ${libexecdir}/cups/backend/.debug \ 73 ${libexecdir}/cups/backend/.debug \
74 ${PYTHON_SITEPACKAGES_DIR}/.debug \ 74 ${PYTHON_SITEPACKAGES_DIR}/.debug \
75 ${libexecdir}/cups/filter/.debug " 75 ${libexecdir}/cups/filter/.debug "
76 76
77FILES_${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la" 77FILES:${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la"
78FILES_${PN}-ppd = "${datadir}/ppd" 78FILES:${PN}-ppd = "${datadir}/ppd"
79FILES_${PN}-cups = "${datadir}/cups" 79FILES:${PN}-cups = "${datadir}/cups"
80FILES_${PN}-backend = "${libexecdir}/cups/backend" 80FILES:${PN}-backend = "${libexecdir}/cups/backend"
81FILES_${PN}-filter = "${libexecdir}/cups/filter" 81FILES:${PN}-filter = "${libexecdir}/cups/filter"
82FILES_${PN}-hal = "${datadir}/hal" 82FILES:${PN}-hal = "${datadir}/hal"
83 83
84FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/*.so" 84FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/*.so"
85 85
86SYSTEMD_SERVICE_${PN} = "hplip-printer@.service" 86SYSTEMD_SERVICE:${PN} = "hplip-printer@.service"
87 87
88CLEANBROKEN = "1" 88CLEANBROKEN = "1"