1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

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)
This commit is contained in:
Daniel Engberg 2024-07-13 23:12:05 +02:00
parent 26e5cb7cb0
commit d5048685c2
4 changed files with 19 additions and 44 deletions

View File

@ -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>

View File

@ -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

View File

@ -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 .

View File

@ -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