@ -1,6 +1,6 @@
#
#
# Copyright (C) 2006-2016 OpenWrt.org
# Copyright (C) 2006-2016 OpenWrt.org
# Copyright (C) 2017-2019 Luiz Angelo Daros de Luca <luizluca@gmail.com>
# Copyright (C) 2017-2020 Luiz Angelo Daros de Luca <luizluca@gmail.com>
#
#
# This is free software, licensed under the GNU General Public License v2.
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
# See /LICENSE for more information.
@ -9,11 +9,11 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := sane-backends
PKG_NAME := sane-backends
PKG_VERSION := 1.0.28
PKG_RELEASE := 2
PKG_VERSION := 1.0.29
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://gitlab.com/sane-project/backends/uploads/9e718daff347826f4cfe21126c8d5091/
PKG_HASH := 31260f3f72d82ac1661c62c5a4468410b89fb2b4a811dabbfcc0350c1346de03
PKG_SOURCE_URL := https://gitlab.com/sane-project/backends/uploads/54f858b20a364fc35d820df935a86478
PKG_HASH := aa027b4e5f59849cd41b8c26d54584cf31fffd986049019be6ad4140e11ea8ed
PKG_MAINTAINER := Luiz Angelo Daros de Luca <luizluca@gmail.com>
PKG_MAINTAINER := Luiz Angelo Daros de Luca <luizluca@gmail.com>
PKG_LICENSE := GPL-2.0 GPL-2.0-or-later
PKG_LICENSE := GPL-2.0 GPL-2.0-or-later
PKG_LICENSE_FILES := COPYING LICENSE
PKG_LICENSE_FILES := COPYING LICENSE
@ -136,13 +136,19 @@ endef
# Run hotplug to grant access to existing scanners
# Run hotplug to grant access to existing scanners
d e f i n e P a c k a g e / s a n e - d a e m o n / p o s t i n s t
d e f i n e P a c k a g e / s a n e - d a e m o n / p o s t i n s t
#!/bin/sh
#!/bin/sh
u d e v t r i g g e r
# We only need udevtrigger to have the magic work without
# rebooting on a real system. In ImageBuilder or
# the like, the boot process will call udevtrigger.
i f [ - z "$${IPKG_INSTROOT}" ] ; t h e n
udevtrigger
f i
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b s a n e
d e f i n e P a c k a g e / l i b s a n e
$( call Package/sane-backends/Default)
$( call Package/sane-backends/Default)
SECTION:= libs
SECTION:= libs
CATEGORY:= Libraries
CATEGORY:= Libraries
DEPENDS += +libusb-1.0
TITLE += ( libraries)
TITLE += ( libraries)
e n d e f
e n d e f
@ -171,6 +177,7 @@ CONFIGURE_ARGS+= \
--without-snmp \
--without-snmp \
--disable-avahi \
--disable-avahi \
--disable-locking \
--disable-locking \
--without-usb-record-replay \
# ./configure does not even try to detect mmap if crosscompiling
# ./configure does not even try to detect mmap if crosscompiling
CONFIGURE_VARS += \
CONFIGURE_VARS += \
@ -314,6 +321,7 @@ $(eval $(call SaneBackend,epjitsu,Epson-based Fujitsu USB scanners,+libusb-1.0))
$( eval $ ( call SaneBackend ,epson ,EPSON scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,epson ,EPSON scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,epsonds ,EPSON scanners ,+libjpeg +libusb -1.0) ) ####
$( eval $ ( call SaneBackend ,epsonds ,EPSON scanners ,+libjpeg +libusb -1.0) ) ####
$( eval $ ( call SaneBackend ,epson 2,EPSON scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,epson 2,EPSON scanners ,+libusb -1.0) )
#$(eval $(call SaneBackend,escl,AirScan/eSCL devices,+libcurl +libxml2 +libnetsnmp +libavahi))
$( eval $ ( call SaneBackend ,fujitsu ,Fujitsu flatbed and ADF scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,fujitsu ,Fujitsu flatbed and ADF scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,genesys ,GL 646 GL 841 GL 843 GL 847 and GL 124 based USB flatbed scanners ,+libstdcpp +libusb -1.0) )
$( eval $ ( call SaneBackend ,genesys ,GL 646 GL 841 GL 843 GL 847 and GL 124 based USB flatbed scanners ,+libstdcpp +libusb -1.0) )
$( eval $ ( call SaneBackend ,gphoto 2,digital cameras supported by gphoto 2,+libjpeg +libgphoto 2) )
$( eval $ ( call SaneBackend ,gphoto 2,digital cameras supported by gphoto 2,+libjpeg +libgphoto 2) )
@ -333,8 +341,7 @@ $(eval $(call SaneBackend,kodak,big Kodak flatbed and ADF scanners,+libusb-1.0))
$( eval $ ( call SaneBackend ,kodakaio ,Kodak aio printer / scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,kodakaio ,Kodak aio printer / scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,kvs 1025,Panasonic KV -S 102xC USB ADF scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,kvs 1025,Panasonic KV -S 102xC USB ADF scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,kvs 20xx ,Panasonic KV -S 20xxC USB /SCSI ADF scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,kvs 20xx ,Panasonic KV -S 20xxC USB /SCSI ADF scanners ,+libusb -1.0) )
# https://gitlab.com/sane-project/backends/issues/153
#$(eval $(call SaneBackend,kvs40xx,Panasonic KV-S40xxC USB/SCSI ADF scanners,+libpthread +libusb-1.0))
$( eval $ ( call SaneBackend ,kvs 40xx ,Panasonic KV -S 40xxC USB /SCSI ADF scanners ,+libpthread +libusb -1.0) )
$( eval $ ( call SaneBackend ,leo ,LEO Technologies scanners ) )
$( eval $ ( call SaneBackend ,leo ,LEO Technologies scanners ) )
$( eval $ ( call SaneBackend ,lexmark ,Lexmark X 1100/X 1200 Series scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,lexmark ,Lexmark X 1100/X 1200 Series scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,ma 1509,Mustek BearPaw 1200F USB scanner ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,ma 1509,Mustek BearPaw 1200F USB scanner ,+libusb -1.0) )
@ -346,8 +353,7 @@ $(eval $(call SaneBackend,mustek,Mustek SCSI flatbed scanners and some other dev
# Depends on libieee1284
# Depends on libieee1284
#$(eval $(call SaneBackend,mustek_pp,Mustek parallel port flatbed scanners,+libieee1284))
#$(eval $(call SaneBackend,mustek_pp,Mustek parallel port flatbed scanners,+libieee1284))
$( eval $ ( call SaneBackend ,mustek_usb ,Mustek USB flatbed scanners ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,mustek_usb ,Mustek USB flatbed scanners ,+libusb -1.0) )
# https://gitlab.com/sane-project/backends/issues/153
#$(eval $(call SaneBackend,mustek_usb2,SQ113 based USB flatbed scanners,+libpthread +libusb-1.0))
$( eval $ ( call SaneBackend ,mustek_usb 2,SQ 113 based USB flatbed scanners ,+libpthread +libusb -1.0) )
$( eval $ ( call SaneBackend ,nec ,NEC scanners ) )
$( eval $ ( call SaneBackend ,nec ,NEC scanners ) )
$( eval $ ( call SaneBackend ,net ,network backend ) )
$( eval $ ( call SaneBackend ,net ,network backend ) )
$( eval $ ( call SaneBackend ,niash ,scanners based on the NIASH chipset ,+libusb -1.0) )
$( eval $ ( call SaneBackend ,niash ,scanners based on the NIASH chipset ,+libusb -1.0) )