From db3e77e4fa3f85f9f074b72679ae3ba6ac1e38c9 Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Tue, 1 Mar 2016 03:42:23 +0000 Subject: [PATCH] GUI functions (e.g. waterfall) for libsdr, a simple software defined radio (SDR) library. WWW: https://github.com/hmatuschek/libsdr-gui PR: 207380 Submitted by: Jeffrey Baitis --- comms/Makefile | 1 + comms/libsdr-gui/Makefile | 32 +++++++++++++++++++++ comms/libsdr-gui/distinfo | 2 ++ comms/libsdr-gui/files/patch-CMakeLists.txt | 13 +++++++++ comms/libsdr-gui/pkg-descr | 4 +++ comms/libsdr-gui/pkg-plist | 6 ++++ 6 files changed, 58 insertions(+) create mode 100644 comms/libsdr-gui/Makefile create mode 100644 comms/libsdr-gui/distinfo create mode 100644 comms/libsdr-gui/files/patch-CMakeLists.txt create mode 100644 comms/libsdr-gui/pkg-descr create mode 100644 comms/libsdr-gui/pkg-plist diff --git a/comms/Makefile b/comms/Makefile index 9c3ca1992d23..17b52a4ebc43 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -88,6 +88,7 @@ SUBDIR += libmodbus SUBDIR += librs232 SUBDIR += libsdr + SUBDIR += libsdr-gui SUBDIR += libticables2 SUBDIR += libticalcs2 SUBDIR += libusbmuxd diff --git a/comms/libsdr-gui/Makefile b/comms/libsdr-gui/Makefile new file mode 100644 index 000000000000..8b175b036274 --- /dev/null +++ b/comms/libsdr-gui/Makefile @@ -0,0 +1,32 @@ +# Created by: Jeffrey Baitis +# $FreeBSD$ + +PORTNAME= libsdr-gui +PORTVERSION= 0.1.0 +CATEGORIES= comms hamradio + +MAINTAINER= baitisj@pcbsd.org +COMMENT= GUI functions (e.g. waterfall) for libsdr library + +LICENSE= GPLv2 + +LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 \ + libfftw3f.so:${PORTSDIR}/math/fftw3-float \ + libsdr.so:${PORTSDIR}/comms/libsdr + +USE_GITHUB= yes +GH_ACCOUNT= hmatuschek +GH_PROJECT= libsdr-gui +GH_TAGNAME= 96846d1 + +USE_QT5= core buildtools_build qmake widgets +USES= cmake pkgconfig +USE_LDCONFIG= yes + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 +USE_GCC= yes +.endif + +.include diff --git a/comms/libsdr-gui/distinfo b/comms/libsdr-gui/distinfo new file mode 100644 index 000000000000..8001f043e3a3 --- /dev/null +++ b/comms/libsdr-gui/distinfo @@ -0,0 +1,2 @@ +SHA256 (hmatuschek-libsdr-gui-0.1.0-96846d1_GH0.tar.gz) = cd9a74ce5ad9c16ffced16b01c56457d1e46e6ce052fbba0d66cd09336fe4a65 +SIZE (hmatuschek-libsdr-gui-0.1.0-96846d1_GH0.tar.gz) = 35731 diff --git a/comms/libsdr-gui/files/patch-CMakeLists.txt b/comms/libsdr-gui/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..85388ce36a25 --- /dev/null +++ b/comms/libsdr-gui/files/patch-CMakeLists.txt @@ -0,0 +1,13 @@ +--- CMakeLists.txt.orig 2015-03-30 13:19:15 UTC ++++ CMakeLists.txt +@@ -35,6 +35,10 @@ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX + SET(LIBS ${FFTW_LIBRARIES} ${FFTWSingle_LIBRARIES} ${Qt5Core_LIBRARIES} ${Qt5Widgets_LIBRARIES} + ${LIBSDR_LIBRARIES}) + ++Message (STATUS "CFLAGS = " ${CFLAGS} ) ++Message (STATUS "CMAKE_CXX_FLAGS = " ${CMAKE_CXX_FLAGS}) ++Message (STATUS "CXX_FLAGS = " ${CXX_FLAGS}) ++ + # + # Get default install directories under Linux + # diff --git a/comms/libsdr-gui/pkg-descr b/comms/libsdr-gui/pkg-descr new file mode 100644 index 000000000000..1daca84027f6 --- /dev/null +++ b/comms/libsdr-gui/pkg-descr @@ -0,0 +1,4 @@ +GUI functions (e.g. waterfall) for libsdr, a simple software defined radio +(SDR) library. + +WWW: https://github.com/hmatuschek/libsdr-gui diff --git a/comms/libsdr-gui/pkg-plist b/comms/libsdr-gui/pkg-plist new file mode 100644 index 000000000000..d57f2545ca5c --- /dev/null +++ b/comms/libsdr-gui/pkg-plist @@ -0,0 +1,6 @@ +include/libsdr/gui/gui.hh +include/libsdr/gui/spectrum.hh +include/libsdr/gui/spectrumview.hh +include/libsdr/gui/waterfallview.hh +lib/libsdr-gui.so +lib/libsdr-gui.so.0.1.0