[141673] trunk/dports/science/gnss-sdr/Portfile
michaelld at macports.org
michaelld at macports.org
Sat Dec 12 02:31:32 PST 2015
Revision: 141673
https://trac.macports.org/changeset/141673
Author: michaelld at macports.org
Date: 2015-10-26 09:35:24 -0700 (Mon, 26 Oct 2015)
Log Message:
-----------
gnss-sdr:
+ update devel to df6bd17b and next to d1e15734, both 20151025;
+ move release to depend on openssl(-devel); devel and next use gnutls;
+ make +osmosdr not usable with next, because gr-osmosdr cannot use gnuradio-next;
+ addresses ticket #49347.
Modified Paths:
--------------
trunk/dports/science/gnss-sdr/Portfile
Modified: trunk/dports/science/gnss-sdr/Portfile
===================================================================
--- trunk/dports/science/gnss-sdr/Portfile 2015-10-26 16:10:55 UTC (rev 141672)
+++ trunk/dports/science/gnss-sdr/Portfile 2015-10-26 16:35:24 UTC (rev 141673)
@@ -1,5 +1,5 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
-# $Id:
+# $Id$
PortSystem 1.0
@@ -9,14 +9,14 @@
name gnss-sdr
maintainers michaelld gmail.com:carlesfernandez openmaintainer
-description An Open Source Global Navigation Satellite Systems ("GNSS": GPS, Galileo, Glonass, Beidou, etc) Software Defined Radio (SDR) Receiver
+description An Open Source Global Navigation Satellite Systems (GNSS)(for example: GPS, Galileo, Glonass, Beidou, etc) Software Defined Radio (SDR) Receiver
categories science
license GPL-3
platforms darwin
dist_subdir gnss-sdr
-if {${subport} eq ${name}} {
+if {${subport} eq "gnss-sdr"} {
long_description ${description}: \
This port is kept up with the GNSS-SDR release, which is typically updated every few months. This version compiles against the gnuradio port, which represents the current GNU Radio release.
@@ -50,10 +50,10 @@
This port is kept up with the GNSS-SDR GIT master branch, which is typically updated daily to weekly. This version of GNSS-SDR generally contains fixes and new features that will be incorporated in an upcoming release, and compiles against the gnuradio-devel port, which represents GNU Radio GIT master branch. This port may or not compile or function correctly, as it represents a work in progress. If it does not work, check back in a few days. Or try deactivating the currently active gnss-sdr and gnuradio ports, cleaning any current builds, and trying again.
name gnss-sdr-devel
- github.setup gnss-sdr gnss-sdr b665444550e90bf595ade110cd57d69cf98145b9
- version 20150918
- checksums rmd160 b6681236a4376d72cb606572e1ca0e3767b63681 \
- sha256 22a4f14e3f84d45d10025499272d406c7a6ef427b0f22df04491dd3a28ce561b
+ github.setup gnss-sdr gnss-sdr df6bd17bd844cddf46ce3f7e2a86fcde4a5eb24b
+ version 20151025
+ checksums rmd160 022cdccaf466d7c5cd43e4fd0ba201400eda9d0e \
+ sha256 0808ecf6e17bf8e2b52f19bfd0c472f18c5a8718d5a665574c052c0a06452789
conflicts gnss-sdr gnss-sdr-next
@@ -68,10 +68,10 @@
This port is kept up with the GNSS-SDR GIT next branch, which is typically updated daily to weekly. This version of GNSS-SDR generally contains fixes and new features that will be incorporated in an upcoming release, and compiles against the gnuradio-next port, which represents GNU Radio GIT next branch. This port may or not compile or function correctly, as it represents a work in progress. If it does not work, check back in a few days. Or try deactivating the currently active gnss-sdr and gnuradio ports, cleaning any current builds, and trying again.
name gnss-sdr-next
- github.setup gnss-sdr gnss-sdr b665444550e90bf595ade110cd57d69cf98145b9
- version 20150918
- checksums rmd160 b6681236a4376d72cb606572e1ca0e3767b63681 \
- sha256 22a4f14e3f84d45d10025499272d406c7a6ef427b0f22df04491dd3a28ce561b
+ github.setup gnss-sdr gnss-sdr d1e15734ca100ed15c5799e18c6220ce74244142
+ version 20151025
+ checksums rmd160 317edc59ae5eb997c82c76ab88ac0d1f84a0e409 \
+ sha256 2a415ac93612b564c6bc04b61bd1b66674f4de224b02fd89274a8b6b669e9721
conflicts gnss-sdr gnss-sdr-devel
@@ -91,10 +91,18 @@
port:armadillo \
port:google-glog \
port:orc \
- port:openssl \
path:lib/libuhd.dylib:uhd \
port:py27-cheetah
+# release uses openssl while delve and next use gnutls;
+# next release update to just gnutls.
+
+if {${subport} eq "gnss-sdr"} {
+ depends_lib-append path:lib/libssl.dylib:openssl
+} else {
+ depends_lib-append port:gnutls
+}
+
# require specific variants
require_active_variants port:google-glog gflags
@@ -116,8 +124,15 @@
# enable default variants: all except +docs, +debug, and +universal
# do not enable +docs because it requires a non-standard variant for doxygen.
-default_variants +osmosdr +opencl
+default_variants +opencl
+# release and devel can use use gr-osmosdr, while next can't
+# (because gr-osmosdr can't use gnuradio-next)
+
+if {${subport} ne "gnss-sdr-next"} {
+ default_variants +osmosdr
+}
+
variant docs description "Install ${name} documentation" {
depends_build-append \
@@ -162,23 +177,31 @@
}
-variant osmosdr description "Install ${name} with support for OsmoSDR and other front-ends (RTL-based dongles, HackRF, bladeRF, etc.) as signal source (experimental)" {
+variant osmosdr description "Install ${name} with support for OsmoSDR and other front-ends (RTL-based dongles, HackRF, bladeRF, etc.) as signal source (experimental). NOTE: Does not work with gnss-sdr-next." {
- depends_build-append \
- port:gr-osmosdr
+ if {${subport} ne "gnss-sdr-next"} {
- configure.args-append \
- -DENABLE_OSMOSDR=ON
+ depends_build-append \
+ port:gr-osmosdr
-}
+ configure.args-append \
+ -DENABLE_OSMOSDR=ON
-if {![variant_isset osmosdr]} {
+ } else {
- configure.args-append \
- -DENABLE_OSMOSDR=OFF
+ ui_error "$subport variant +osmosdr is not viable because port:gr-osmosdr cannot use port:gnuradio-next."
+ error "unsupported variant"
+ }
}
+if {![variant_isset osmosdr]} {
+ if {${subport} ne "gnss-sdr-next"} {
+ configure.args-append \
+ -DENABLE_OSMOSDR=OFF
+ }
+}
+
variant array description "Install ${name} with support for CTTC's antenna array front-end as signal source (experimental)" {
configure.args-append \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/21e8f4b9/attachment-0001.html>
More information about the macports-changes
mailing list