| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.30 2023/02/20 21:50:03 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.31 2023/02/21 09:10:03 wiz Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.wireshark | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.wireshark |
4 | PKG_SUPPORTED_OPTIONS= http2 lua spandsp | | 4 | PKG_SUPPORTED_OPTIONS= http2 lua spandsp |
5 | PKG_OPTIONS_OPTIONAL_GROUPS= gui | | 5 | PKG_OPTIONS_OPTIONAL_GROUPS= gui |
6 | PKG_OPTIONS_GROUP.gui= qt5 qt6 | | 6 | PKG_OPTIONS_GROUP.gui= qt5 qt6 |
7 | PKG_SUGGESTED_OPTIONS= http2 lua | | 7 | PKG_SUGGESTED_OPTIONS= http2 lua |
8 | | | 8 | |
9 | .if ${OPSYS} == "Darwin" | | 9 | .if ${OPSYS} == "Darwin" |
10 | # problems building qt6 on Darwin as of 2023/01/30 | | 10 | # problems building qt6 on Darwin as of 2023/01/30 |
11 | PKG_SUGGESTED_OPTIONS+= qt5 | | 11 | PKG_SUGGESTED_OPTIONS+= qt5 |
12 | .else | | 12 | .else |
13 | PKG_SUGGESTED_OPTIONS+= qt6 | | 13 | PKG_SUGGESTED_OPTIONS+= qt6 |
14 | .endif | | 14 | .endif |
| @@ -31,27 +31,27 @@ PLIST.lua= yes | | | @@ -31,27 +31,27 @@ PLIST.lua= yes |
31 | CMAKE_ARGS+= -DENABLE_LUA=OFF | | 31 | CMAKE_ARGS+= -DENABLE_LUA=OFF |
32 | .endif | | 32 | .endif |
33 | | | 33 | |
34 | .if !empty(PKG_OPTIONS:Mqt5) || !empty(PKG_OPTIONS:Mqt6) | | 34 | .if !empty(PKG_OPTIONS:Mqt5) || !empty(PKG_OPTIONS:Mqt6) |
35 | . if !empty(PKG_OPTIONS:Mqt5) | | 35 | . if !empty(PKG_OPTIONS:Mqt5) |
36 | . include "../../x11/qt5-qtsvg/buildlink3.mk" | | 36 | . include "../../x11/qt5-qtsvg/buildlink3.mk" |
37 | . include "../../x11/qt5-qttools/buildlink3.mk" | | 37 | . include "../../x11/qt5-qttools/buildlink3.mk" |
38 | . if ${OPSYS} == "Darwin" | | 38 | . if ${OPSYS} == "Darwin" |
39 | . include "../../x11/qt5-qtmacextras/buildlink3.mk" | | 39 | . include "../../x11/qt5-qtmacextras/buildlink3.mk" |
40 | . else | | 40 | . else |
41 | . include "../../x11/qt5-qtx11extras/buildlink3.mk" | | 41 | . include "../../x11/qt5-qtx11extras/buildlink3.mk" |
42 | . endif | | 42 | . endif |
43 | . elif !empty(PKG_OPTIONS:Mqt6) | | 43 | . elif !empty(PKG_OPTIONS:Mqt6) |
44 | GCC_REQD= 8 # std::filesystem | | 44 | GCC_REQD+= 8 # std::filesystem |
45 | CMAKE_ARGS+= -DUSE_qt6=ON | | 45 | CMAKE_ARGS+= -DUSE_qt6=ON |
46 | . include "../../graphics/qt6-qtsvg/buildlink3.mk" | | 46 | . include "../../graphics/qt6-qtsvg/buildlink3.mk" |
47 | . include "../../multimedia/qt6-qtmultimedia/buildlink3.mk" | | 47 | . include "../../multimedia/qt6-qtmultimedia/buildlink3.mk" |
48 | . include "../../devel/qt6-qttools/buildlink3.mk" | | 48 | . include "../../devel/qt6-qttools/buildlink3.mk" |
49 | . include "../../devel/qt6-qt5compat/buildlink3.mk" | | 49 | . include "../../devel/qt6-qt5compat/buildlink3.mk" |
50 | . endif | | 50 | . endif |
51 | PLIST.qt= yes | | 51 | PLIST.qt= yes |
52 | . if ${OPSYS} != "Darwin" | | 52 | . if ${OPSYS} != "Darwin" |
53 | PLIST.icons= yes | | 53 | PLIST.icons= yes |
54 | POST_INSTALL_TARGETS+= install-icons | | 54 | POST_INSTALL_TARGETS+= install-icons |
55 | INSTALLATION_DIRS+= share/applications | | 55 | INSTALLATION_DIRS+= share/applications |
56 | INSTALLATION_DIRS+= share/icons/hicolor/scalable/apps | | 56 | INSTALLATION_DIRS+= share/icons/hicolor/scalable/apps |
57 | ICON_SIZES= 16 32 48 | | 57 | ICON_SIZES= 16 32 48 |