| @@ -1,26 +1,27 @@ | | | @@ -1,26 +1,27 @@ |
1 | # $NetBSD: Makefile,v 1.52 2022/11/23 16:20:25 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.53 2022/12/02 15:55:28 wiz Exp $ |
2 | | | 2 | |
3 | PKGNAME= gnuradio-qtgui-${VERSION} | | 3 | PKGNAME= gnuradio-qtgui-${VERSION} |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | COMMENT= Qt GUI module of GNU Radio | | 5 | COMMENT= Qt GUI module of GNU Radio |
6 | | | 6 | |
| | | 7 | DEPENDS+= ${PYPKGPREFIX}-qt5-[0-9]*:../../x11/py-qt5 |
| | | 8 | |
7 | .include "../../ham/gnuradio-core/Makefile.common" | | 9 | .include "../../ham/gnuradio-core/Makefile.common" |
8 | .include "../../ham/gnuradio-core/Nocore.mk" | | 10 | .include "../../ham/gnuradio-core/Nocore.mk" |
9 | | | 11 | |
10 | #CONF_FILES+= ${EGDIR}/gr-qtgui.conf ${PKG_SYSCONFDIR}/gr-qtgui.conf | | 12 | #CONF_FILES+= ${EGDIR}/gr-qtgui.conf ${PKG_SYSCONFDIR}/gr-qtgui.conf |
11 | | | 13 | |
12 | CMAKE_ARGS+= -DENABLE_DEFAULT=OFF | | 14 | CMAKE_ARGS+= -DENABLE_DEFAULT=OFF |
13 | CMAKE_ARGS+= -DENABLE_GR_QTGUI=ON | | 15 | CMAKE_ARGS+= -DENABLE_GR_QTGUI=ON |
14 | CMAKE_ARGS+= -DENABLE_GRC=ON | | 16 | CMAKE_ARGS+= -DENABLE_GRC=ON |
15 | | | 17 | |
16 | PLIST_MINUS+= companion | | 18 | PLIST_MINUS+= companion |
17 | | | 19 | |
18 | pre-configure: Qt5Qwt6.pc | | 20 | pre-configure: Qt5Qwt6.pc |
19 | .PHONY: Qt5Qwt6.pc | | 21 | .PHONY: Qt5Qwt6.pc |
20 | Qt5Qwt6.pc: | | 22 | Qt5Qwt6.pc: |
21 | ln -sf ${QWT_DIR}/lib/pkgconfig/Qt5Qwt6.pc ${BUILDLINK_DIR}/lib/pkgconfig/Qt5Qwt6.pc | | 23 | ln -sf ${QWT_DIR}/lib/pkgconfig/Qt5Qwt6.pc ${BUILDLINK_DIR}/lib/pkgconfig/Qt5Qwt6.pc |
22 | | | 24 | |
23 | .include "../../x11/py-qt5/buildlink3.mk" | | | |
24 | .include "../../x11/qt5-qtbase/buildlink3.mk" | | 25 | .include "../../x11/qt5-qtbase/buildlink3.mk" |
25 | .include "../../x11/qwt6-qt5/buildlink3.mk" | | 26 | .include "../../x11/qwt6-qt5/buildlink3.mk" |
26 | .include "../../mk/bsd.pkg.mk" | | 27 | .include "../../mk/bsd.pkg.mk" |