Add avahi support.

Left over from c2k9.
This commit is contained in:
ajacoutot 2009-06-08 19:42:32 +00:00
parent 2553d5a88d
commit df8a19a135

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.20 2009/05/11 15:22:07 ajacoutot Exp $ # $OpenBSD: Makefile,v 1.21 2009/06/08 19:42:32 ajacoutot Exp $
COMMENT= API for accessing scanners, backends COMMENT= API for accessing scanners, backends
DISTNAME= sane-backends-1.0.20 DISTNAME= sane-backends-1.0.20
PKGNAME= ${DISTNAME}p0 PKGNAME= ${DISTNAME}p1
SHARED_LIBS= sane 2.0 # .1.0 SHARED_LIBS= sane 2.0 # .1.0
CATEGORIES= graphics CATEGORIES= graphics
@ -18,7 +18,7 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes PERMIT_DISTFILES_FTP= Yes
WANTLIB += c exif jpeg ltdl m pthread usb z WANTLIB += c dbus-1 exif jpeg ltdl m pthread usb z
MASTER_SITES= ftp://ftp.sane-project.org/pub/sane/${DISTNAME}/ \ MASTER_SITES= ftp://ftp.sane-project.org/pub/sane/${DISTNAME}/ \
ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/capture/ \ ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/capture/ \
@ -27,7 +27,8 @@ MASTER_SITES= ftp://ftp.sane-project.org/pub/sane/${DISTNAME}/ \
ftp://ftp.sane-project.org/pub/sane/old-versions/${DISTNAME}/ ftp://ftp.sane-project.org/pub/sane/old-versions/${DISTNAME}/
LIB_DEPENDS= tiff.>=38::graphics/tiff \ LIB_DEPENDS= tiff.>=38::graphics/tiff \
gphoto2.>=2,gphoto2_port.>=5::graphics/libgphoto2 gphoto2.>=2,gphoto2_port.>=5::graphics/libgphoto2 \
avahi-client,avahi-common::net/avahi
MODULES= devel/gettext MODULES= devel/gettext
@ -46,7 +47,7 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--localstatedir=/var/spool \ --localstatedir=/var/spool \
--with-gphoto2 \ --with-gphoto2 \
--with-group=553 \ --with-group=553 \
--disable-avahi \ --enable-avahi \
--disable-latex --disable-latex
FAKE_FLAGS= configdir=${PREFIX}/share/examples/sane-backends/sane.d FAKE_FLAGS= configdir=${PREFIX}/share/examples/sane-backends/sane.d