diff options
author | Juergen Lock <nox@FreeBSD.org> | 2013-04-28 17:34:17 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2013-04-28 17:34:17 +0000 |
commit | 292784d76ac5cda1ac57e874c8effe8bcf625db1 (patch) | |
tree | 864c4aa9976b80bee9221b0b9c0bd50bc4b7bafd /comms/dabstick-radio/files/patch-dabreceiver-V2_dabreceiver.pro | |
parent | Trim old-style header. (diff) |
Add new port comms/dabstick-radio:
While preparing for a release 4.2 of the sdr-j software package,
we created two new programs
a DAB receiver
a broad spectrum version of the FM receiver
It is quite obvious that one can use a DAB stick to receive DAB
programs. However, the DAB software presented here is a real SDR
in that it uses the 8 bit I/Q samples of the DAB stick.
WWW: http://www.sdr-j.tk/
Notes
Notes:
svn path=/head/; revision=316735
Diffstat (limited to 'comms/dabstick-radio/files/patch-dabreceiver-V2_dabreceiver.pro')
-rw-r--r-- | comms/dabstick-radio/files/patch-dabreceiver-V2_dabreceiver.pro | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/comms/dabstick-radio/files/patch-dabreceiver-V2_dabreceiver.pro b/comms/dabstick-radio/files/patch-dabreceiver-V2_dabreceiver.pro new file mode 100644 index 000000000000..53461a5ad929 --- /dev/null +++ b/comms/dabstick-radio/files/patch-dabreceiver-V2_dabreceiver.pro @@ -0,0 +1,42 @@ +--- dabreceiver-V2/dabreceiver.pro.orig ++++ dabreceiver-V2/dabreceiver.pro +@@ -135,15 +135,35 @@ LIBS += -lfaad + #} + + #for fedora use the second set ++#unix { ++# HEADERS += ../input/dabstick.h ++# SOURCES += ../input/dabstick.cpp ++# INCLUDEPATH += /usr/include/qwt5-qt4 ++# INCLUDEPATH += /usr/include/ ++# INCLUDEPATH += /usr/include/ffmpeg ++# LIBS+= -lqwt5-qt4 -lusb-1.0 -lrt -lportaudio -lsamplerate -lfftw3 -lrtlsdr -ldl -lz ++##uncomment the following line when using the libav package for ffmpeg ++# LIBS+= -lavcodec -lavdevice -lavutil -lavformat -lswresample -lswscale -lavfilter ++##uncomment the following line when using the faad library ++# LIBS += -lfaad ++# ++#} ++ ++#for FreeBSD use the third set + unix { + HEADERS += ../input/dabstick.h + SOURCES += ../input/dabstick.cpp +- INCLUDEPATH += /usr/include/qwt5-qt4 ++ INCLUDEPATH += ${LOCALBASE}/include/qwt ++ INCLUDEPATH += ${LOCALBASE}/include/portaudio2 ++ INCLUDEPATH += ${LOCALBASE}/include/ffmpeg1 ++ INCLUDEPATH += ${LOCALBASE}/include + INCLUDEPATH += /usr/include/ +- INCLUDEPATH += /usr/include/ffmpeg +- LIBS+= -lqwt5-qt4 -lusb-1.0 -lrt -lportaudio -lsamplerate -lfftw3 -lrtlsdr -ldl -lz ++ QMAKE_LIBDIR = ${LOCALBASE}/lib/portaudio2 ++ QMAKE_LIBDIR += ${LOCALBASE}/lib/ffmpeg${FFMPEG_SUFFIX} ++ QMAKE_LIBDIR += ${LOCALBASE}/lib ++ LIBS+= -lqwt -lusb -lrt -lportaudio -lsamplerate -lfftw3 -lrtlsdr -lz + #uncomment the following line when using the libav package for ffmpeg +- LIBS+= -lavcodec -lavdevice -lavutil -lavformat -lswresample -lswscale -lavfilter ++ LIBS+= -lavcodec${FFMPEG_SUFFIX} -lavdevice${FFMPEG_SUFFIX} -lavutil${FFMPEG_SUFFIX} -lavformat${FFMPEG_SUFFIX} -lswresample${FFMPEG_SUFFIX} -lswscale${FFMPEG_SUFFIX} -lavfilter${FFMPEG_SUFFIX} + #uncomment the following line when using the faad library + LIBS += -lfaad + |