hplip: move back to compiling with libusb

Some change in base broke compilation with libusb and this package.
From looking at it more carefully, it turns out that the libusb patch
needs to be updated so that host paths are not used.

libusb-compat also depends on libusb, which increases the overall
installed size.

Refreshed patches with make package/hplip/refresh .

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-11-29 13:58:15 -08:00
parent 110ea1b994
commit da62d7b7a0
5 changed files with 28 additions and 15 deletions
+3 -4
View File
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=hplip
PKG_VERSION:=3.20.9
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/hplip
@@ -40,7 +40,7 @@ endef
define Package/hplip-common
$(call Package/hplip/Default)
TITLE+= (common files)
DEPENDS+=+libusb-compat
DEPENDS+=+libusb-1.0
endef
define Package/hplip-common/description
@@ -72,8 +72,7 @@ CONFIGURE_ARGS += \
--disable-hpcups-install \
--disable-hpps-install \
--disable-cups-drv-install \
--enable-lite-build \
--enable-libusb01_build
--enable-lite-build
define Build/Install
mkdir -p $(PKG_INSTALL_DIR)/usr/share/sane