mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 14:56:43 +01:00
The pyc files contain references to TMPDIR and they can be regenerated during execution on device Fixes stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/__init__.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/installdriver.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/ppds.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/xmldriverprefs.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/config.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/cupshelpers.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/openprinting.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj <raj.khem@gmail.com>
46 lines
1.4 KiB
BlitzBasic
46 lines
1.4 KiB
BlitzBasic
DESCRIPTION = "a graphical user interface that allows the user to change print settings"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
SRC_URI = "git://github.com/OpenPrinting/system-config-printer.git;protocol=https;branch=master"
|
|
|
|
SRCREV = "895d3dec50c93bfd4f142bac9bfcc13051bf84cb"
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit autotools gettext pkgconfig python3native features_check
|
|
|
|
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
|
|
|
|
DEPENDS = "cups glib-2.0 libusb xmlto-native desktop-file-utils-native autoconf-archive-native python3-setuptools-native"
|
|
|
|
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd polkit', d)}"
|
|
PACKAGECONFIG[systemd] = ",--without-systemdsystemunitdir,systemd"
|
|
PACKAGECONFIG[polkit] = ",,,cups-pk-helper"
|
|
|
|
do_configure:prepend() {
|
|
# This file is not provided if fetching from git but required for configure
|
|
touch ${S}/ChangeLog
|
|
}
|
|
|
|
do_install:append() {
|
|
cp -rf ${B}/cupshelpers.egg-info ${D}${PYTHON_SITEPACKAGES_DIR}
|
|
cp -rf ${B}/cupshelpers ${D}${PYTHON_SITEPACKAGES_DIR}
|
|
rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/*.egg
|
|
rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/cupshelpers/__pycache__
|
|
}
|
|
|
|
FILES:${PN} += "${libdir} ${datadir}"
|
|
|
|
RDEPENDS:${PN} = " \
|
|
cups \
|
|
${VIRTUAL-RUNTIME_dbus} \
|
|
gtk+3 \
|
|
libnotify \
|
|
python3-core \
|
|
python3-dbus \
|
|
python3-firewall \
|
|
python3-pycups \
|
|
python3-pycurl \
|
|
python3-pygobject \
|
|
"
|