git: d5048685c2d2 - main - graphics/sane-airscan: Update to 0.99.29
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Jul 2024 10:06:13 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d5048685c2d2e734045d3ca288d3fbab4d9e9a97
commit d5048685c2d2e734045d3ca288d3fbab4d9e9a97
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-07-13 21:12:05 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-07-14 10:06:03 +0000
graphics/sane-airscan: Update to 0.99.29
* Switch to meson
Changelog:
https://github.com/alexpevzner/sane-airscan/compare/0.99.26...0.99.29
PR: 279967
Approved by: portmgr (maintainer timeout, 2+ weeks)
---
graphics/sane-airscan/Makefile | 35 ++++++++++++++----------------
graphics/sane-airscan/distinfo | 6 ++---
graphics/sane-airscan/files/patch-Makefile | 21 ------------------
graphics/sane-airscan/pkg-plist | 1 -
4 files changed, 19 insertions(+), 44 deletions(-)
diff --git a/graphics/sane-airscan/Makefile b/graphics/sane-airscan/Makefile
index 0dc45bff6064..d9d7fcafaf77 100644
--- a/graphics/sane-airscan/Makefile
+++ b/graphics/sane-airscan/Makefile
@@ -1,31 +1,28 @@
-PORTNAME= sane-airscan
-DISTVERSION= 0.99.26
-PORTREVISION= 3
-CATEGORIES= graphics
+PORTNAME= sane-airscan
+DISTVERSION= 0.99.29
+CATEGORIES= graphics
-MAINTAINER= henry.hu.sh@gmail.com
-COMMENT= SANE backend for AirScan (eSCL) and WSD document scanners
+MAINTAINER= henry.hu.sh@gmail.com
+COMMENT= SANE backend for AirScan (eSCL) and WSD document scanners
WWW= https://github.com/alexpevzner/sane-airscan
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libavahi-client.so:net/avahi-app \
- libpng.so:graphics/png \
- libgnutls.so:security/gnutls
-BUILD_DEPENDS= sane-backends>0:graphics/sane-backends
+BUILD_DEPENDS= sane-backends>0:graphics/sane-backends
+LIB_DEPENDS= libavahi-client.so:net/avahi-app \
+ libgnutls.so:security/gnutls \
+ libpng.so:graphics/png \
+ libtiff.so:graphics/tiff
-USES= gmake gnome jpeg pkgconfig
-USE_GNOME= libxml2
-USE_GITHUB= yes
-GH_ACCOUNT= alexpevzner
+USES= gnome jpeg meson pkgconfig
+USE_GNOME= libxml2
-MAKE_ARGS= CC=${CC} PKG_CONFIG=pkgconf
+USE_GITHUB= yes
+GH_ACCOUNT= alexpevzner
post-install:
@${MV} ${STAGEDIR}${PREFIX}/etc/sane.d/airscan.conf \
${STAGEDIR}${PREFIX}/etc/sane.d/airscan.conf.sample
- ${RLN} ${STAGEDIR}${PREFIX}/lib/sane/libsane-airscan.so.1 \
- ${STAGEDIR}${PREFIX}/lib/sane/libsane-airscan.so
.include <bsd.port.mk>
diff --git a/graphics/sane-airscan/distinfo b/graphics/sane-airscan/distinfo
index 4938ddffc27a..1a39ae500211 100644
--- a/graphics/sane-airscan/distinfo
+++ b/graphics/sane-airscan/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1630878170
-SHA256 (alexpevzner-sane-airscan-0.99.26_GH0.tar.gz) = f124d51e1510a4950454794eba0ba633e4b58d312cdeb26b80deb192d563ce5e
-SIZE (alexpevzner-sane-airscan-0.99.26_GH0.tar.gz) = 196488
+TIMESTAMP = 1719644469
+SHA256 (alexpevzner-sane-airscan-0.99.29_GH0.tar.gz) = e8aa43005ed495fc0db65e2ff51b29cef11a45fc6d8c385294b3394b848db65f
+SIZE (alexpevzner-sane-airscan-0.99.29_GH0.tar.gz) = 211753
diff --git a/graphics/sane-airscan/files/patch-Makefile b/graphics/sane-airscan/files/patch-Makefile
deleted file mode 100644
index 2b752b8f48c7..000000000000
--- a/graphics/sane-airscan/files/patch-Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
---- Makefile.orig 2021-04-16 08:52:40 UTC
-+++ Makefile
-@@ -29,7 +29,8 @@
-
- CC = gcc
- COMPRESS = gzip -n
--CFLAGS += -O2 -g -W -Wall -Werror -pthread $(CPPFLAGS)
-+CFLAGS ?= -O2 -g -W -Wall -Werror
-+CFLAGS += -pthread $(CPPFLAGS)
- PKG_CONFIG = pkg-config
- STRIP = -s
- INSTALL = install
-@@ -101,7 +102,7 @@ $(OBJDIR)%.o: %.c Makefile airscan.h
-
- .PHONY: all clean install man
-
--all: tags $(BACKEND) $(DISCOVER) test test-decode test-multipart test-zeroconf test-uri
-+all: $(BACKEND) $(DISCOVER) test test-decode test-multipart test-zeroconf test-uri
-
- tags: $(SRC) airscan.h test.c test-decode.c test-multipart.c test-zeroconf.c test-uri.c
- -ctags -R .
diff --git a/graphics/sane-airscan/pkg-plist b/graphics/sane-airscan/pkg-plist
index 6e88c50746a5..543c6210257b 100644
--- a/graphics/sane-airscan/pkg-plist
+++ b/graphics/sane-airscan/pkg-plist
@@ -5,4 +5,3 @@ lib/sane/libsane-airscan.so
lib/sane/libsane-airscan.so.1
share/man/man1/airscan-discover.1.gz
share/man/man5/sane-airscan.5.gz
-