aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2016-03-01 03:42:23 +0000
committerDiane Bruce <db@FreeBSD.org>2016-03-01 03:42:23 +0000
commitdb3e77e4fa3f85f9f074b72679ae3ba6ac1e38c9 (patch)
tree60fc3e1571a32fac87b8683160ced1dfb44bc51b /comms
parent518a50b30b5505e5278922708a3cdb9efd495990 (diff)
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/Makefile1
-rw-r--r--comms/libsdr-gui/Makefile32
-rw-r--r--comms/libsdr-gui/distinfo2
-rw-r--r--comms/libsdr-gui/files/patch-CMakeLists.txt13
-rw-r--r--comms/libsdr-gui/pkg-descr4
-rw-r--r--comms/libsdr-gui/pkg-plist6
6 files changed, 58 insertions, 0 deletions
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 <baitisj@pcbsd.org>
+# $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 <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+USE_GCC= yes
+.endif
+
+.include <bsd.port.post.mk>
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