2014-05-09 09:36:53 +02:00
|
|
|
# $NetBSD: options.mk,v 1.4 2014/05/09 07:37:17 wiz Exp $
|
Imported hplip from pkgsrc-wip.
HPLIP (Hewlett-Packard Linux Imaging & Printing) is an HP-developed
solution for printing, scanning, and faxing with HP inkjet and laser
based printers in Linux.
The HPLIP project provides printing support for 1,980 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP. See [1]
for more information on supported printers.
[1] http://hplipopensource.com/hplip-web/supported_devices/index.html
2012-05-18 05:03:20 +02:00
|
|
|
#
|
|
|
|
# HPLIP dependencies are detailed in the following page:
|
|
|
|
# http://hplipopensource.com/hplip-web/install/manual/distros/other.html
|
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.hplip
|
|
|
|
PKG_SUPPORTED_OPTIONS= fax sane qt
|
|
|
|
PKG_SUGGESTED_OPTIONS= fax sane
|
|
|
|
PKG_OPTIONS_LEGACY_OPTS+= scan:sane
|
|
|
|
PKG_OPTIONS_LEGACY_OPTS+= gui:qt
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mfax)
|
|
|
|
PLIST_SRC+= PLIST.fax
|
|
|
|
CONFIGURE_ARGS+= --enable-fax-build
|
|
|
|
CONFIGURE_ARGS+= --enable-dbus-build
|
|
|
|
EGFILES+= cups/pstotiff.convs cups/pstotiff.types
|
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/cups
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab
|
2014-05-09 09:36:53 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 34 34 # py-reportlab
|
Imported hplip from pkgsrc-wip.
HPLIP (Hewlett-Packard Linux Imaging & Printing) is an HP-developed
solution for printing, scanning, and faxing with HP inkjet and laser
based printers in Linux.
The HPLIP project provides printing support for 1,980 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP. See [1]
for more information on supported printers.
[1] http://hplipopensource.com/hplip-web/supported_devices/index.html
2012-05-18 05:03:20 +02:00
|
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
|
|
|
.include "../../sysutils/py-dbus/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-dbus-build
|
|
|
|
CONFIGURE_ARGS+= --disable-fax-build
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Msane)
|
|
|
|
PLIST_SRC+= PLIST.scan
|
|
|
|
CONFIGURE_ARGS+= --enable-scan-build
|
|
|
|
MESSAGE_SRC+= MESSAGE.scan
|
|
|
|
MESSAGE_SUBST+= EGDIR=${EGDIR}
|
|
|
|
.include "../../graphics/sane-backends/buildlink3.mk"
|
2014-01-25 11:29:56 +01:00
|
|
|
# XXX: a dependency installs py-Pillow, which conflicts
|
Imported hplip from pkgsrc-wip.
HPLIP (Hewlett-Packard Linux Imaging & Printing) is an HP-developed
solution for printing, scanning, and faxing with HP inkjet and laser
based printers in Linux.
The HPLIP project provides printing support for 1,980 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP. See [1]
for more information on supported printers.
[1] http://hplipopensource.com/hplip-web/supported_devices/index.html
2012-05-18 05:03:20 +02:00
|
|
|
.include "../../graphics/py-imaging/buildlink3.mk"
|
2014-05-09 09:36:53 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 34 34 # py-imaging
|
Imported hplip from pkgsrc-wip.
HPLIP (Hewlett-Packard Linux Imaging & Printing) is an HP-developed
solution for printing, scanning, and faxing with HP inkjet and laser
based printers in Linux.
The HPLIP project provides printing support for 1,980 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP. See [1]
for more information on supported printers.
[1] http://hplipopensource.com/hplip-web/supported_devices/index.html
2012-05-18 05:03:20 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-scan-build
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mqt)
|
|
|
|
PLIST_SRC+= PLIST.gui
|
|
|
|
CONFIGURE_ARGS+= --enable-gui-build
|
|
|
|
CONFIGURE_ARGS+= --enable-qt4
|
|
|
|
CONFIGURE_ARGS+= --enable-policykit
|
|
|
|
EGFILES+= dbus-1/system.d/com.hp.hplip.conf
|
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/dbus-1/system.d
|
|
|
|
.include "../../x11/py-qt4/buildlink3.mk"
|
|
|
|
.include "../../security/policykit/buildlink3.mk"
|
2013-04-12 05:47:30 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-notify-[0-9]*:../../sysutils/py-notify
|
2014-05-09 09:36:53 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 34 34 # py-notify
|
Imported hplip from pkgsrc-wip.
HPLIP (Hewlett-Packard Linux Imaging & Printing) is an HP-developed
solution for printing, scanning, and faxing with HP inkjet and laser
based printers in Linux.
The HPLIP project provides printing support for 1,980 printer models,
including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP. See [1]
for more information on supported printers.
[1] http://hplipopensource.com/hplip-web/supported_devices/index.html
2012-05-18 05:03:20 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-policykit
|
|
|
|
CONFIGURE_ARGS+= --disable-qt4
|
|
|
|
CONFIGURE_ARGS+= --disable-gui-build
|
|
|
|
.endif
|