<commit_before>DESCRIPTION = "HP Linux Imaging and Printing"
LICENSE = "GPL, MIT, BSD"

DEPENDS = "cups net-snmp"

SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.gz \
	"
inherit autotools

EXTRA_OECONF = ' \
                BUILD_SYS="" HOST_SYS="" \
                --enable-hpijs-install \
                --enable-gui-build \
                --enable-pp-build \
                --enable-policy-kit \
                --disable-scan-build \
                --enable-foomatic-ppd-install \
                --enable-foomatic-drv-install \
                --enable-udev-acl-rules \
               '

# needed by python checks in configure
EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""'

do_configure_append() {
	sed -i -e 's:PYTHONINCLUDEDIR = ${STAGING_INCDIR_NATIVE}/python2.6:PYTHONINCLUDEDIR = ${STAGING_INCDIR}/python2.6:g' Makefile
}<commit_msg>hplip: Add missing dependencies<commit_after>DESCRIPTION = "HP Linux Imaging and Printing"
LICENSE = "GPL, MIT, BSD"

DEPENDS = "python-pyqt cups net-snmp"
RDEPENDS = "python-pyqt python-sip"

PR = "r2"

SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.gz \
	"
inherit autotools

EXTRA_OECONF = ' \
                BUILD_SYS="" HOST_SYS="" \
                --enable-hpijs-install \
                --enable-gui-build \
                --enable-pp-build \
                --enable-policy-kit \
                --disable-scan-build \
                --enable-foomatic-ppd-install \
                --enable-foomatic-drv-install \
                --enable-udev-acl-rules \
               '

# needed by python checks in configure
EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""'

do_configure_append() {
	sed -i -e 's:PYTHONINCLUDEDIR = ${STAGING_INCDIR_NATIVE}/python2.6:PYTHONINCLUDEDIR = ${STAGING_INCDIR}/python2.6:g' Makefile
}
{'fraction_non_alphanumeric': 0.1437394722066255, 'fraction_numerical': 0.0050533408197641775, 'mean_word_length': 1.9601328903654485, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5654552', 'n_tokens_mistral': 646, 'n_tokens_neox': 614, 'n_words': 99}