pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/cups-filters cups-filters: Make `avahi' and `dbu...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b25a352da7c5
branches: trunk
changeset: 372800:b25a352da7c5
user: leot <leot%pkgsrc.org@localhost>
date: Sun Dec 17 21:16:07 2017 +0000
description:
cups-filters: Make `avahi' and `dbus' support available as PKG_OPTIONS
Make `avahi' and `dbus' available as PKG_OPTIONS, both enabled by default (as
per old cups-filters).
Please note that gdbus-codegen is invoked unconditionally and so still needed
also in the `-dbus' case.
Bump PKGREVISION (strictly speaking that's probably not needed but the dbus
dependency was previously picked up indirectly via net/avahi).
diffstat:
print/cups-filters/Makefile | 7 ++++---
print/cups-filters/options.mk | 27 +++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 3 deletions(-)
diffs (61 lines):
diff -r 73571f3ac837 -r b25a352da7c5 print/cups-filters/Makefile
--- a/print/cups-filters/Makefile Sun Dec 17 16:59:57 2017 +0000
+++ b/print/cups-filters/Makefile Sun Dec 17 21:16:07 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.85 2017/12/08 08:52:58 maya Exp $
+# $NetBSD: Makefile,v 1.86 2017/12/17 21:16:07 leot Exp $
DISTNAME= cups-filters-1.17.9
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= print
MASTER_SITES= http://openprinting.org/download/cups-filters/
EXTRACT_SUFX= .tar.xz
@@ -72,6 +72,8 @@
${CHMOD} go-rwx ${DESTDIR}${PREFIX}/libexec/cups/backend/serial
${INSTALL_SCRIPT} ${WRKSRC}/cups-browsed-daemonize.sh ${DESTDIR}${PREFIX}/libexec/cups-browsed
+.include "options.mk"
+
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
@@ -79,7 +81,6 @@
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
-.include "../../net/avahi/buildlink3.mk"
BUILDLINK_ABI_DEPENDS.cups-base+= cups-base>=1.7.4nb1
.include "../../print/cups-base/buildlink3.mk"
.include "../../print/ghostscript/buildlink3.mk"
diff -r 73571f3ac837 -r b25a352da7c5 print/cups-filters/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-filters/options.mk Sun Dec 17 21:16:07 2017 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: options.mk,v 1.1 2017/12/17 21:16:07 leot Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.cups-filters
+PKG_SUPPORTED_OPTIONS= avahi dbus
+PKG_SUGGESTED_OPTIONS= avahi dbus
+
+.include "../../mk/bsd.options.mk"
+
+#
+# Avahi support
+#
+.if !empty(PKG_OPTIONS:Mavahi)
+.include "../../net/avahi/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-avahi
+.else
+CONFIGURE_ARGS+= --disable-avahi
+.endif
+
+#
+# DBus support
+#
+.if !empty(PKG_OPTIONS:Mdbus)
+.include "../../sysutils/dbus/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-dbus
+.else
+CONFIGURE_ARGS+= --disable-dbus
+.endif
Home |
Main Index |
Thread Index |
Old Index