| @@ -1,49 +1,45 @@ | | | @@ -1,49 +1,45 @@ |
1 | # $NetBSD: options.mk,v 1.21 2022/03/15 02:30:23 gutteridge Exp $ | | 1 | # $NetBSD: options.mk,v 1.22 2023/11/04 14:22:03 wiz Exp $ |
2 | # | | 2 | # |
3 | # HPLIP dependencies are detailed in the following page: | | 3 | # HPLIP dependencies are detailed in the following page: |
4 | # http://hplipopensource.com/hplip-web/install/manual/distros/other.html | | 4 | # http://hplipopensource.com/hplip-web/install/manual/distros/other.html |
5 | | | 5 | |
6 | PKG_OPTIONS_VAR= PKG_OPTIONS.hplip | | 6 | PKG_OPTIONS_VAR= PKG_OPTIONS.hplip |
7 | PKG_SUPPORTED_OPTIONS= fax sane qt5 | | 7 | PKG_SUPPORTED_OPTIONS= fax sane # qt5 |
8 | PKG_SUGGESTED_OPTIONS= fax | | 8 | PKG_SUGGESTED_OPTIONS= fax |
9 | | | 9 | |
10 | PKG_OPTIONS_LEGACY_OPTS+= scan:sane | | | |
11 | PKG_OPTIONS_LEGACY_OPTS+= gui:qt5 | | | |
12 | PKG_OPTIONS_LEGACY_OPTS+= qt:qt5 | | | |
13 | | | | |
14 | .include "../../mk/bsd.options.mk" | | 10 | .include "../../mk/bsd.options.mk" |
15 | | | 11 | |
16 | # NB the qt5 option results in components that don't entirely function | | 12 | # NB the qt5 option results in components that don't entirely function |
17 | # correctly, at least on NetBSD. This needs more work. | | 13 | # correctly, at least on NetBSD. This needs more work. |
18 | .if !empty(PKG_OPTIONS:Mqt5) | | 14 | #.if !empty(PKG_OPTIONS:Mqt5) |
19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pyphen | | 15 | #PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pyphen |
20 | CONFIGURE_ARGS+= --enable-gui-build | | 16 | #CONFIGURE_ARGS+= --enable-gui-build |
21 | CONFIGURE_ARGS+= --enable-policykit | | 17 | #CONFIGURE_ARGS+= --enable-policykit |
22 | EGFILES+= dbus-1/system.d/com.hp.hplip.conf | | 18 | #EGFILES+= dbus-1/system.d/com.hp.hplip.conf |
23 | MAKE_DIRS+= ${PKG_SYSCONFDIR}/dbus-1/system.d | | 19 | #MAKE_DIRS+= ${PKG_SYSCONFDIR}/dbus-1/system.d |
24 | .include "../../security/policykit/buildlink3.mk" | | 20 | #.include "../../security/policykit/buildlink3.mk" |
25 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 21 | #.include "../../sysutils/desktop-file-utils/desktopdb.mk" |
26 | DEPENDS+= ${PYPKGPREFIX}-notify2-[0-9]*:../../sysutils/py-notify2 | | 22 | #DEPENDS+= ${PYPKGPREFIX}-notify2-[0-9]*:../../sysutils/py-notify2 |
27 | PLIST_SRC+= PLIST.qt5 | | 23 | #PLIST_SRC+= PLIST.qt5 |
28 | CONFIGURE_ARGS+= --disable-qt4 | | 24 | #CONFIGURE_ARGS+= --disable-qt4 |
29 | CONFIGURE_ARGS+= --enable-qt5 | | 25 | #CONFIGURE_ARGS+= --enable-qt5 |
30 | .include "../../x11/py-qt5/buildlink3.mk" | | 26 | #.include "../../x11/py-qt5/buildlink3.mk" |
31 | .else | | 27 | #.else |
32 | CONFIGURE_ARGS+= --disable-policykit | | 28 | CONFIGURE_ARGS+= --disable-policykit |
33 | CONFIGURE_ARGS+= --disable-qt4 | | 29 | CONFIGURE_ARGS+= --disable-qt4 |
34 | CONFIGURE_ARGS+= --disable-qt5 | | 30 | CONFIGURE_ARGS+= --disable-qt5 |
35 | CONFIGURE_ARGS+= --disable-gui-build | | 31 | CONFIGURE_ARGS+= --disable-gui-build |
36 | .endif | | 32 | #.endif |
37 | | | 33 | |
38 | .if !empty(PKG_OPTIONS:Mfax) | | 34 | .if !empty(PKG_OPTIONS:Mfax) |
39 | PLIST_SRC+= PLIST.fax | | 35 | PLIST_SRC+= PLIST.fax |
40 | CONFIGURE_ARGS+= --enable-fax-build | | 36 | CONFIGURE_ARGS+= --enable-fax-build |
41 | CONFIGURE_ARGS+= --enable-dbus-build | | 37 | CONFIGURE_ARGS+= --enable-dbus-build |
42 | EGFILES+= cups/pstotiff.convs cups/pstotiff.types | | 38 | EGFILES+= cups/pstotiff.convs cups/pstotiff.types |
43 | MAKE_DIRS+= ${PKG_SYSCONFDIR}/cups | | 39 | MAKE_DIRS+= ${PKG_SYSCONFDIR}/cups |
44 | DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab | | 40 | DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab |
45 | .include "../../sysutils/dbus/buildlink3.mk" | | 41 | .include "../../sysutils/dbus/buildlink3.mk" |
46 | .include "../../sysutils/py-dbus/buildlink3.mk" | | 42 | .include "../../sysutils/py-dbus/buildlink3.mk" |
47 | .else | | 43 | .else |
48 | CONFIGURE_ARGS+= --disable-dbus-build | | 44 | CONFIGURE_ARGS+= --disable-dbus-build |
49 | CONFIGURE_ARGS+= --disable-fax-build | | 45 | CONFIGURE_ARGS+= --disable-fax-build |