mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
cnijfilter2: build on aarch64
Added aarch64. This filter compiles and works on an M1 MacBook Pro - tested with a Canon PIXMA G3600 Close: #50460
This commit is contained in:
parent
1f01730fad
commit
dec773b635
3 changed files with 25 additions and 5 deletions
10
srcpkgs/cnijfilter2/patches/include.patch
Normal file
10
srcpkgs/cnijfilter2/patches/include.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- a/lgmon3/src/keytext.c
|
||||
+++ b/lgmon3/src/keytext.c
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <unistd.h>
|
||||
#include <libxml/parser.h> /* Ver.2.80 */
|
||||
#include <string.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
#include "keytext.h"
|
||||
|
10
srcpkgs/cnijfilter2/patches/libusb-flag.patch
Normal file
10
srcpkgs/cnijfilter2/patches/libusb-flag.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- a/lgmon3/src/Makefile.am
|
||||
+++ b/lgmon3/src/Makefile.am
|
||||
@@ -6,6 +6,6 @@ transform =
|
||||
|
||||
cnijlgmon3_SOURCES = cnijcomif.c cnijifusb.c cnijlgmon3.c cnijifnet.c keytext.c cnijifnet2.c cnijutil.c
|
||||
|
||||
-CFLAGS = -O2 -Wall -I/usr/include/libusb-1.0 -I./common @XML2_CFLAGS@
|
||||
+CFLAGS = -O2 -Wall `pkg-config --cflags libusb-1.0` -I./common @XML2_CFLAGS@
|
||||
|
||||
cnijlgmon3_LDADD = -ldl -lusb-1.0 -lcnnet2 -lxml2 -lcnbpcnclapicom2 -lcnbpnet30
|
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'cnijfilter2'
|
||||
pkgname=cnijfilter2
|
||||
version=6.60
|
||||
revision=1
|
||||
revision=2
|
||||
_uprevision=-1
|
||||
archs="i686 x86_64"
|
||||
archs="i686 x86_64 aarch64"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake autoconf libtool"
|
||||
makedepends="cups-devel glib-devel libusb-devel libxml2-devel"
|
||||
depends="cups libusb libxml2"
|
||||
hostmakedepends="automake autoconf libtool glib-devel pkg-config gettext"
|
||||
makedepends="cups-devel libglib-devel libusb-devel libxml2-devel"
|
||||
depends="cups"
|
||||
short_desc="Canon printer drivers for a number of PIXMA models"
|
||||
maintainer="Ralph van Etten <ralph@et10.org>"
|
||||
license="custom:canon,GPL-2.0-or-later"
|
||||
|
|
Loading…
Add table
Reference in a new issue