mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
hplip: use libusb-compat
Some change to base broke compilation. From looking at the CFLAGS, hplip tries to use the host libusb. libusb-compat seems to work properly. So use that. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=hplip
|
PKG_NAME:=hplip
|
||||||
PKG_VERSION:=3.20.9
|
PKG_VERSION:=3.20.9
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/hplip
|
PKG_SOURCE_URL:=@SF/hplip
|
||||||
@@ -40,7 +40,7 @@ endef
|
|||||||
define Package/hplip-common
|
define Package/hplip-common
|
||||||
$(call Package/hplip/Default)
|
$(call Package/hplip/Default)
|
||||||
TITLE+= (common files)
|
TITLE+= (common files)
|
||||||
DEPENDS+=+libusb-1.0
|
DEPENDS+=+libusb-compat
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/hplip-common/description
|
define Package/hplip-common/description
|
||||||
@@ -72,7 +72,8 @@ CONFIGURE_ARGS += \
|
|||||||
--disable-hpcups-install \
|
--disable-hpcups-install \
|
||||||
--disable-hpps-install \
|
--disable-hpps-install \
|
||||||
--disable-cups-drv-install \
|
--disable-cups-drv-install \
|
||||||
--enable-lite-build
|
--enable-lite-build \
|
||||||
|
--enable-libusb01_build
|
||||||
|
|
||||||
define Build/Install
|
define Build/Install
|
||||||
mkdir -p $(PKG_INSTALL_DIR)/usr/share/sane
|
mkdir -p $(PKG_INSTALL_DIR)/usr/share/sane
|
||||||
|
|||||||
Reference in New Issue
Block a user