From: Philip Prindeville Date: Tue, 26 Jul 2022 02:41:06 +0000 (-0600) Subject: lcdproc: don't detect parallel port on build host X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=bba4168d49caaa66f52f21652edbbbd4c6eda51c;p=feed%2Fpackages.git lcdproc: don't detect parallel port on build host Also, limit builds to x86 and x86_64. Signed-off-by: Philip Prindeville --- diff --git a/utils/lcdproc/Makefile b/utils/lcdproc/Makefile index 34ea2e1b65..b91245edaf 100644 --- a/utils/lcdproc/Makefile +++ b/utils/lcdproc/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lcdproc PKG_VERSION:=0.5.9 -PKG_RELEASE:=6 +PKG_RELEASE:=7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/lcdproc/lcdproc/releases/download/v$(PKG_VERSION)/ @@ -23,9 +23,12 @@ PKG_CPE_ID:=cpe:/a:lcdproc:lcdproc include $(INCLUDE_DIR)/package.mk +DISABLE_NLS:= + define Package/lcdproc/Default SECTION:=utils CATEGORY:=Utilities + DEPENDS:=@(TARGET_x86||TARGET_x86_64) URL:=http://lcdproc.org/ endef @@ -60,7 +63,7 @@ endef define Package/lcdproc-server $(call Package/lcdproc/Default) TITLE:=LCD Display server - DEPENDS:=+libpthread + DEPENDS+= +libpthread endef define LCDPROC_CORE_DRIVERS_TEXT @@ -88,7 +91,7 @@ endef define Package/lcdproc-drivers $(call Package/lcdproc/Default) TITLE:=LCD Display extra drivers - DEPENDS:=+lcdproc-server +libncurses +libusb-1.0 +libusb-compat +libftdi1 \ + DEPENDS+= +lcdproc-server +libncurses +libusb-1.0 +libusb-compat +libftdi1 \ +GPIO_SUPPORT:libugpio +serdisplib endef @@ -110,7 +113,8 @@ $(LCDPROC_OTHER_DRIVERS_TEXT) endef CONFIGURE_VARS += \ - ac_cv_mtab_file="/etc/mtab" + ac_cv_mtab_file="/etc/mtab" \ + ac_cv_port_have_lpt="yes" CONFIGURE_ARGS += \ --disable-libX11 \