mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
9c14fe95bb
PR: 196234 Submitted by: Kevin Zheng <kevinz5000@gmail.com>
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gqrx
|
|
PORTVERSION= 2.3.1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= comms hamradio
|
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
|
COMMENT= Software defined radio receiver powered by GNU Radio and Qt
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libgnuradio-runtime.so:${PORTSDIR}/comms/gnuradio \
|
|
libgnuradio-analog.so:${PORTSDIR}/comms/gnuradio \
|
|
libgnuradio-blocks.so:${PORTSDIR}/comms/gnuradio \
|
|
libgnuradio-filter.so:${PORTSDIR}/comms/gnuradio \
|
|
libgnuradio-fft.so:${PORTSDIR}/comms/gnuradio \
|
|
libgnuradio-audio.so:${PORTSDIR}/comms/gnuradio \
|
|
libgnuradio-osmosdr.so:${PORTSDIR}/comms/gr-osmosdr \
|
|
libpulse.so:${PORTSDIR}/audio/pulseaudio \
|
|
libpulse-simple.so:${PORTSDIR}/audio/pulseaudio
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= csete
|
|
GH_COMMIT= 4d90b84
|
|
GH_TAGNAME= v${PORTVERSION}
|
|
|
|
USES= pkgconfig qmake
|
|
|
|
OPTIONS_SINGLE= GUI
|
|
OPTIONS_SINGLE_GUI= QT4 QT5
|
|
|
|
QT4_USE= QT4=corelib,gui,network
|
|
QT5_USE= QT5=buildtools_build,core,gui,svg,network,widgets
|
|
|
|
OPTIONS_DEFAULT= QT5
|
|
|
|
PLIST_FILES= bin/gqrx share/applications/gqrx.desktop
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gqrx ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/gqrx.desktop \
|
|
${STAGEDIR}${PREFIX}/share/applications
|
|
|
|
.include <bsd.port.mk>
|