blob: 73abd2cc8a6867292a0a25eabdd94c6c1780ecb8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
PORTNAME= sane-backends
DISTVERSION= 1.1.1
PORTREVISION= 10
CATEGORIES= graphics
MASTER_SITES= https://gitlab.com/sane-project/backends/uploads/7d30fab4e115029d91027b6a58d64b43/
MAINTAINER= vvd@unislabs.com
COMMENT= API for accessing scanners, digital cameras, frame grabbers, etc
WWW= http://www.sane-project.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png \
libtiff.so:graphics/tiff
USES= compiler:c++11-lang gmake gnome jpeg libtool localbase:ldflags \
pathfix pkgconfig python:build
USE_GNOME= libxml2
USE_LDCONFIG= yes
USE_RC_SUBR= saned
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-locking \
--enable-pthread \
--without-systemd
INSTALL_TARGET= install-strip
SUB_FILES= pkg-message
USERS= saned
GROUPS= saned
PLIST_SUB= SOVERSION=${DISTVERSION}
OPTIONS_DEFINE= AVAHI DOCS GPHOTO IEEE1284 IPV6 NLS SNMP USB V4L
OPTIONS_DEFAULT= AVAHI GPHOTO USB
OPTIONS_SUB= yes
IEEE1284_DESC= Parallel port support via libieee1284 (for i386 only)
USB_DESC= USB support
AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app \
libcurl.so:ftp/curl \
libpoppler-glib.so:graphics/poppler-glib
AVAHI_USE= GNOME=cairo,glib20
AVAHI_CONFIGURE_WITH= avahi libcurl poppler-glib
GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2
GPHOTO_CONFIGURE_WITH= gphoto2
IEEE1284_LIB_DEPENDS= libieee1284.so:sysutils/libieee1284
IEEE1284_CONFIGURE_ENV_OFF= sane_cv_use_libieee1284=no
IPV6_CONFIGURE_ENABLE= ipv6
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
SNMP_CONFIGURE_WITH= snmp
USB_CONFIGURE_WITH= usb
V4L_LIB_DEPENDS= libv4l1.so:multimedia/libv4l
V4L_CONFIGURE_WITH= v4l
.include <bsd.port.mk>
|