summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorScott Murray <scottm@ghidorah.spiteful.org>2018-05-18 11:48:09 -0400
committerScott Murray <scottm@ghidorah.spiteful.org>2018-05-28 19:40:50 -0400
commite65da04f8451c1166a414fdb58acfe01c63e4f94 (patch)
treeca8688de99c1642f30cd45aed39a34d7e580124c /conf.d
parenta714f867ef283ce6de606789aeda2fc17b644fac (diff)
Split rtlsdr code into standalone helper
To avoid the GPL licensed code in rtl_fm.c making all of the binding GPL, rework things to wrap it with a simple standalone helper executable that is driven via stdin/stdout. While this could potentially be done by running the original unmodified rtl_fm utility itself, it would be impossible to implement scanning with that approach without some compromising of playback latency and quality. The current helper implementation is simple enough that replacing it with an alternate one should be relatively straightforward if that is desired. Change-Id: If83b834da3999f5807d1453524ae72b1c3559c90 Signed-off-by: Scott Murray <scottm@ghidorah.spiteful.org>
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/cmake/config.cmake3
-rw-r--r--conf.d/wgt/config.xml.in4
2 files changed, 5 insertions, 2 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index 95cee56..4fa7666 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -1,5 +1,6 @@
###########################################################################
# Copyright 2015, 2016, 2017 IoT.bzh
+# Copyright (C) 2018 Konsulko Group
#
# author: Fulup Ar Foll <fulup@iot.bzh>
#
@@ -69,8 +70,6 @@ set (PKG_REQUIRED_LIST
json-c
libsystemd>=222
afb-daemon
- librtlsdr
- libpulse-simple
glib-2.0
gobject-2.0
)
diff --git a/conf.d/wgt/config.xml.in b/conf.d/wgt/config.xml.in
index 605374a..1ce4ff9 100644
--- a/conf.d/wgt/config.xml.in
+++ b/conf.d/wgt/config.xml.in
@@ -12,6 +12,10 @@
<param name="urn:AGL:permission::public:no-htdocs" value="required" />
</feature>
+ <feature name="urn:AGL:widget:file-properties">
+ <param name="bin/rtl_fm_helper" value="executable" />
+ </feature>
+
<feature name="urn:AGL:widget:provided-api">
<param name="radio" value="ws" />
</feature>