What about adding arm6h support as well? Using this for already quite a while with a first version Raspberry Pi.
From 489eb7d7bea890a1e5c215ced902e518a557b0a3 Mon Sep 17 00:00:00 2001
From: Martin Kiefel <mk@nopw.de>
Date: Sun, 5 Jan 2020 19:40:49 +0100
Subject: [PATCH] Add arm6h support
---
PKGBUILD | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/PKGBUILD b/PKGBUILD
index c835663..e029369 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hplip-plugin
pkgver=3.20.6
pkgrel=1
pkgdesc="Binary plugin for HPs hplip printer driver library"
-arch=('i686' 'x86_64' 'armv7h' 'aarch64')
+arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="http://hplipopensource.com/node/309"
license=('custom:proprietary')
depends=("hplip>=$pkgver")
@@ -26,6 +26,8 @@ package(){
_arch='x86_32'
elif [ $CARCH = "x86_64" ]; then
_arch='x86_64'
+ elif [ $CARCH = "armv6h" ]; then
+ _arch='arm32'
elif [ $CARCH = "armv7h" ]; then
_arch='arm32'
elif [ $CARCH = "aarch64" ]; then
--
2.27.0
Pinned Comments
ZhangHua commented on 2025-03-31 03:44 (UTC) (edited on 2025-04-01 01:28 (UTC) by ZhangHua)
Please ensure your working directory is in the repository, because
we use a custom download agent to download sources, this download agent is a curl wrapper with UA set to firefox's.We call curl directly, using config file to provide User Agent with space.As for why not set UA in command directly, please check https://wiki.archlinux.org/title/Nonfree_applications_package_guidelines#Custom_DLAGENTS for more info.
I tested paru and it seems can work without any change. But I am not sure if other AUR helpers also can work.
carsme commented on 2024-01-15 16:53 (UTC) (edited on 2024-02-04 14:15 (UTC) by carsme)
Hey, I've adopted this package and applied some of the suggestions:
libusb-compat
andsane
(cred @ZhandHua).Depend on exact version ofhplip
(cred @jsn42).In addition, the PGP-signature of the artifact is now checked, which means you need to fetch upstream's key:
Unfortunately, I have no HP printer at home so my testing ability is limited to running
hp-diagnose_plugin
. If someone has better opportunity to test and is interested in maintaining, let me know and I'll handover the package or add you as a co-maintainer. Cheers!