diff options
| author | Ross Burton <ross.burton@arm.com> | 2023-05-23 13:18:29 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-05-23 15:04:38 -0700 |
| commit | 5dc5d8c73c80a17bc89f92b0846da9c7cd14cabf (patch) | |
| tree | 9b56f6d6bf7484b26913ccf642d38d1d6d35cb6f /meta-oe/recipes-extended/hplip/hplip_3.22.10.bb | |
| parent | 49d38e8757be3882dd9801bf5c09b61bdf0b84d2 (diff) | |
| download | meta-openembedded-5dc5d8c73c80a17bc89f92b0846da9c7cd14cabf.tar.gz | |
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 <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/hplip/hplip_3.22.10.bb')
| -rw-r--r-- | meta-oe/recipes-extended/hplip/hplip_3.22.10.bb | 3 |
1 files changed, 1 insertions, 2 deletions
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 \ | |||
| 19 | file://0001-Drop-using-register-storage-classifier.patch" | 19 | file://0001-Drop-using-register-storage-classifier.patch" |
| 20 | SRC_URI[sha256sum] = "533c3f2f6b53e4163ded4fd81d1f11ae6162a0f6451bd5e62a8382d0c1366624" | 20 | SRC_URI[sha256sum] = "533c3f2f6b53e4163ded4fd81d1f11ae6162a0f6451bd5e62a8382d0c1366624" |
| 21 | 21 | ||
| 22 | DEPENDS += "cups python3 libusb" | 22 | DEPENDS += "cups python3 libusb1" |
| 23 | 23 | ||
| 24 | inherit autotools-brokensep python3-dir python3native python3targetconfig pkgconfig systemd | 24 | inherit autotools-brokensep python3-dir python3native python3targetconfig pkgconfig systemd |
| 25 | 25 | ||
| @@ -29,7 +29,6 @@ export STAGING_LIBDIR | |||
| 29 | CFLAGS += "-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" | 29 | CFLAGS += "-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" |
| 30 | 30 | ||
| 31 | EXTRA_OECONF += "\ | 31 | EXTRA_OECONF += "\ |
| 32 | LIBUSBINCLUDEROOT=${STAGING_INCDIR} \ | ||
| 33 | --enable-cups-drv-install \ | 32 | --enable-cups-drv-install \ |
| 34 | --enable-cups-ppd-install \ | 33 | --enable-cups-ppd-install \ |
| 35 | --disable-network-build \ | 34 | --disable-network-build \ |
