[116196] trunk/dports/science/gr-osmosdr/Portfile
michaelld at macports.org
michaelld at macports.org
Tue Jan 21 06:49:11 PST 2014
Revision: 116196
https://trac.macports.org/changeset/116196
Author: michaelld at macports.org
Date: 2014-01-21 06:49:11 -0800 (Tue, 21 Jan 2014)
Log Message:
-----------
gr-osmosdr:
+ update to d960d111 (20140118);
+ add variant for new gr-fcdproplus port;
+ move rtl-sdr to its own variant;
+ new variants enabled by default;
+ fix description to include new hardware and software.
Modified Paths:
--------------
trunk/dports/science/gr-osmosdr/Portfile
Modified: trunk/dports/science/gr-osmosdr/Portfile
===================================================================
--- trunk/dports/science/gr-osmosdr/Portfile 2014-01-21 14:26:06 UTC (rev 116195)
+++ trunk/dports/science/gr-osmosdr/Portfile 2014-01-21 14:49:11 UTC (rev 116196)
@@ -15,18 +15,18 @@
license GPL-3
platforms darwin macosx
-set description_common {Includes OSMO SDR support GNU Radio source and sink blocks in C++, Python, and GNU Radio Companion (grc). This port also offers a wrapper functionality for the FunCube Dongle, Ettus UHD, and rtl-sdr radios. By using gr-osmosdr source you can take advantage of a common software API in your applications independent of the underlying radio hardware.}
+set description_common {Includes OSMO SDR support GNU Radio source and sink blocks in C++, Python, and GNU Radio Companion (grc). This port also offers a wrapper functionality for the FunCube Dongle, FunCube Dongle Pro+, HackRF, RFSpace, Ettus UHD, and rtl-sdr radios and software. By using gr-osmosdr source you can take advantage of a common software API in your applications independent of the underlying radio hardware.}
if {${subport} eq ${name}} {
long_description ${description}. \
This port is kept up with the gr-osmosdr GIT 'master' branch, which is typically updated weekly to monthly, providing compatibility with GNU Radio release 3.7 API: the gnuradio and gnuradio-devel ports. ${description_common}
- version 20140111
+ version 20140118
fetch.type git
git.url git://git.osmocom.org/gr-osmosdr
- git.branch 7ae3e985e2a48130e95ae1f8e93268309633cc4c
+ git.branch d960d1119cc39bbea25a23766c7b7d8d056a6bbd
conflicts gr-osmosdr-legacy
@@ -78,8 +78,6 @@
}
-depends_lib-append port:rtl-sdr
-
# do VPATH build
set vpath ${workpath}/build
@@ -113,7 +111,7 @@
# per user concensus: enable all variants except +debug and +universal
-default_variants +docs +uhd +swig +hackrf
+default_variants +docs +uhd +swig +hackrf +fcdproplus +rtlsdr
# set Python variants
@@ -282,3 +280,29 @@
configure.args-append -DENABLE_HACKRF=OFF
}
+
+variant fcdproplus description "Install ${name} with support for FunCube Dongle Pro+ (fcdproplus)" {
+
+ depends_lib-append port:gr-fcdproplus
+ configure.args-append -DENABLE_FCDPP=ON
+
+}
+
+if {![variant_isset fcdproplus]} {
+
+ configure.args-append -DENABLE_FCDPP=OFF
+
+}
+
+variant rtlsdr description "Install ${name} with support for rtl-sdr" {
+
+ depends_lib-append port:rtl-sdr
+ configure.args-append -DENABLE_RTL=ON
+
+}
+
+if {![variant_isset rtlsdr]} {
+
+ configure.args-append -DENABLE_RTL=OFF
+
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140121/89a35665/attachment.html>
More information about the macports-changes
mailing list