From 5dc5d8c73c80a17bc89f92b0846da9c7cd14cabf Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 23 May 2023 13:18:29 +0100 Subject: hplip: build against libusb1 Build against the maintained libusb1 instead of the obsolete libusb-compat. Update the patch to use pkg-config so that it does the correct linkage too. Signed-off-by: Ross Burton Signed-off-by: Khem Raj --- meta-oe/recipes-extended/hplip/hplip_3.22.10.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta-oe/recipes-extended/hplip/hplip_3.22.10.bb') diff --git a/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb b/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb index ca683483b6..3ccfa7d662 100644 --- a/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb +++ b/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb @@ -19,7 +19,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \ file://0001-Drop-using-register-storage-classifier.patch" SRC_URI[sha256sum] = "533c3f2f6b53e4163ded4fd81d1f11ae6162a0f6451bd5e62a8382d0c1366624" -DEPENDS += "cups python3 libusb" +DEPENDS += "cups python3 libusb1" inherit autotools-brokensep python3-dir python3native python3targetconfig pkgconfig systemd @@ -29,7 +29,6 @@ export STAGING_LIBDIR CFLAGS += "-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" EXTRA_OECONF += "\ - LIBUSBINCLUDEROOT=${STAGING_INCDIR} \ --enable-cups-drv-install \ --enable-cups-ppd-install \ --disable-network-build \ -- cgit v1.2.3-54-g00ecf