Ticket #49347: gnss-sdr-20151018.diff

File gnss-sdr-20151018.diff, 4.1 KB (added by carlesfernandez (Carles Fernandez), 9 years ago)
  • Portfile

    old new  
    2828
    2929    conflicts           gnss-sdr-devel gnss-sdr-next
    3030
    31     depends_lib-append  port:gnuradio
     31    depends_lib-append  port:gnuradio port:openssl
    3232
    3333    require_active_variants port:gnuradio uhd
    3434
     
    4242        reinplace "s@multithread@opencl@g" ${worksrcpath}/src/algorithms/acquisition/gnuradio_blocks/pcps_opencl_acquisition_cc.cc
    4343    }
    4444
     45    set                 add_osmosdr true
     46
    4547}
    4648
    4749subport gnss-sdr-devel {
     
    5052        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.
    5153
    5254    name                gnss-sdr-devel
    53     github.setup        gnss-sdr gnss-sdr b665444550e90bf595ade110cd57d69cf98145b9
    54     version             20150918
    55     checksums           rmd160 b6681236a4376d72cb606572e1ca0e3767b63681 \
    56                         sha256 22a4f14e3f84d45d10025499272d406c7a6ef427b0f22df04491dd3a28ce561b
     55    github.setup        gnss-sdr gnss-sdr 5c885627b5a3bbb26773910e801656a506a45c83
     56    version             20151018
     57    checksums           rmd160 8081aa17eb02616852cd216e7a5e4cb4041d89c4 \
     58                        sha256 920f9af0135d683b4e9f52f191b0195d69fbb882c911503aa4b73262d04d0bfd
    5759
    5860    conflicts           gnss-sdr gnss-sdr-next
    5961
     
    6163
    6264    require_active_variants port:gnuradio-devel uhd
    6365
     66    set                 add_osmosdr true
     67
    6468}
    6569
    6670subport gnss-sdr-next {
     
    6872        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.
    6973
    7074    name                gnss-sdr-next
    71     github.setup        gnss-sdr gnss-sdr b665444550e90bf595ade110cd57d69cf98145b9
    72     version             20150918
    73     checksums           rmd160 b6681236a4376d72cb606572e1ca0e3767b63681 \
    74                         sha256 22a4f14e3f84d45d10025499272d406c7a6ef427b0f22df04491dd3a28ce561b
     75    github.setup        gnss-sdr gnss-sdr 8f3a509a002ab2d0146804e11c1eb7cdb3dd603c
     76    version             20151018
     77    checksums           rmd160 ebc7f41cc4b37db78de460a136560e2591aa7c4c \
     78                        sha256 65ad6fa553ca33a49740a42d121ee5891c46b1f12c3913b86f3535600e76b4d1
    7579
    7680    conflicts           gnss-sdr gnss-sdr-devel
    7781
     
    7983
    8084    require_active_variants port:gnuradio-next uhd
    8185
     86    set                 add_osmosdr false
     87
    8288}
    8389
    8490# override githib PortGroup homepage setting
     
    9197    port:armadillo \
    9298    port:google-glog \
    9399    port:orc \
    94     port:openssl \
     100    port:gnutls \
    95101    path:lib/libuhd.dylib:uhd \
    96102    port:py27-cheetah
    97103
     
    116122# enable default variants: all except +docs, +debug, and +universal
    117123# do not enable +docs because it requires a non-standard variant for doxygen.
    118124
    119 default_variants +osmosdr +opencl
     125if {${add_osmosdr} eq true} {
     126    default_variants +osmosdr +opencl
     127}
     128
     129# do not enable +osmosdr in next, since gr-osmosdr does not link against gnuradio-next
     130if {${add_osmosdr} eq false} {
     131    default_variants +opencl
     132}
     133
     134
    120135
    121136variant docs description "Install ${name} documentation" {
    122137