Subject: [alpine-aports] [PATCH] testing/sane: enable build on aarch64, armhf and armv7

From: Milan P. Stanić <[email-masked]>
Date: Wed, 16 Jan 2019 21:23:28 +0100

fixes: #9861
---
 testing/sane/APKBUILD | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/testing/sane/APKBUILD b/testing/sane/APKBUILD
index 34abe8ce19..1e8be39064 100644
--- a/testing/sane/APKBUILD
+++ b/testing/sane/APKBUILD
@@ -7,23 +7,24 @@ pkgver=1.0.27
 pkgrel=1
 pkgdesc="Scanner Access Now Easy - an universal scanner interface"
 url="http://www.sane-project.org/"
-arch="x86 x86_64"
+arch="x86 x86_64 aarch64 armv7 armhf"
 license="GPL-2.0-or-later GPL-2.0-or-later-with-sane-exception Public-Domain"
 depends=""
 depends_dev=""
 makedepends="diffutils file libtool libusb-dev v4l-utils-dev net-snmp-dev avahi-dev libpng-dev
-	libjpeg-turbo-dev tiff-dev libgphoto2-dev libieee1284-dev linux-headers"
+	libjpeg-turbo-dev tiff-dev libgphoto2-dev linux-headers"
 install="$pkgname-saned.pre-install $pkgname.pre-install"
 pkgusers="saned"
 pkggroups="scanner"
-_backends="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_pp cardscan
+_backends="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr cardscan
 	coolscan coolscan2 coolscan3 dc25 dc210 dc240 dell1600n_net dmc epjitsu epson epson2 epsonds fujitsu genesys
-	gphoto2 gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpsj5s hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx
-	kvs40xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_pp mustek_usb mustek_usb2
-	nec net niash pie pieusb pixma plustek plustek_pp ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan
-	sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax_pp umax1220u v4l xerox_mfp p5"
+	gphoto2 gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx
+	kvs40xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_usb mustek_usb2
+	nec net niash pie pieusb pixma plustek ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan
+	sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u v4l xerox_mfp p5"
 case "$CARCH" in
-x86*) _backends="$_backends qcam";;
+x86*) _backends="$_backends qcam hpsj5s canon_pp plustek_pp mustek_pp umax_pp"
+	makedepends="$makedepends libieee1284-dev";;
 esac
 
 _pkgdesc_dell1600n_net="SANE backend for Dell 1600n that supports colour and monochrome scans over ethernet, usb not supported"
-- 
2.18.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---