summaryrefslogtreecommitdiff
path: root/ham/gnuradio-qtgui/Makefile
blob: a899ef7d959a9bc798885fd16c5fd9085ae80ac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.49 2022/08/11 05:08:49 gutteridge Exp $

PKGNAME=	gnuradio-qtgui-${VERSION}
PKGREVISION=	1
COMMENT=	Qt GUI module of GNU Radio

.include	"../../ham/gnuradio-core/Makefile.common"
.include	"../../ham/gnuradio-core/Nocore.mk"

#CONF_FILES+=	${EGDIR}/gr-qtgui.conf	${PKG_SYSCONFDIR}/gr-qtgui.conf

CMAKE_ARGS+=	-DENABLE_DEFAULT=OFF
CMAKE_ARGS+=	-DENABLE_GR_QTGUI=ON
CMAKE_ARGS+=	-DENABLE_GRC=ON

PLIST_MINUS+=	companion

pre-configure: Qt5Qwt6.pc
.PHONY: Qt5Qwt6.pc
Qt5Qwt6.pc:
	ln -sf ${QWT_DIR}/lib/pkgconfig/Qt5Qwt6.pc ${BUILDLINK_DIR}/lib/pkgconfig/Qt5Qwt6.pc

.include	"../../x11/py-qt5/buildlink3.mk"
.include	"../../x11/qt5-qtbase/buildlink3.mk"
.include	"../../x11/qwt6-qt5/buildlink3.mk"
.include	"../../mk/bsd.pkg.mk"