Update to release 4.0.0.0 and use python 3.6+
PR: 249591 Submitted by: rhurlin@
This commit is contained in:
parent
1e768bd00d
commit
73b2c3e29f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552756
4 changed files with 1060 additions and 468 deletions
|
@ -1,18 +1,15 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= uhd
|
||||
PORTVERSION= 3.14.1.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 4.0.0.0
|
||||
#PORTREVISION= 1
|
||||
CATEGORIES= comms hamradio
|
||||
#MASTER_SITES= http://files.ettus.com/binaries/images/
|
||||
#DISTFILES= ${IMAGE_FILE}
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= mr@FreeBSD.org
|
||||
COMMENT= Ettus Research UHD driver framework
|
||||
|
||||
# See https://www.ettus.com/sdr-software/detail/licenses. Dual license
|
||||
# See https://www.ettus.com/sdr-software/licenses/. Dual license
|
||||
# under GPLv3 and and "Alternate License" whose terms are not documented
|
||||
# on the web site (contact info@ettus.com). Mark as GPLv3 for now
|
||||
# until terms of the "Alternate License" are made clear. When that
|
||||
|
@ -21,16 +18,18 @@ LICENSE= GPLv3
|
|||
|
||||
LIB_DEPENDS= ${PY_BOOST} \
|
||||
libboost_system.so:devel/boost-libs
|
||||
BUILD_DEPENDS= cheetah-analyze:devel/py-cheetah@${PY_FLAVOR} \
|
||||
rst2html:textproc/py-docutils \
|
||||
orcc:devel/orc \
|
||||
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR}
|
||||
BUILD_DEPENDS= orcc:devel/orc \
|
||||
cheetah-analyze:devel/py-cheetah3@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \
|
||||
rst2html:textproc/py-docutils@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0:devel/py-ruamel.yaml@${PY_FLAVOR}
|
||||
|
||||
USES= compiler:c++14-lang cmake ncurses pkgconfig \
|
||||
dos2unix python:2.7 shebangfix
|
||||
dos2unix python:3.6+ shebangfix
|
||||
USE_LDCONFIG= yes
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= EttusResearch
|
||||
GH_TAGNAME= 0347a6d81fd64800422ef1ed4dc634d8c480746f
|
||||
GH_TAGNAME= 90ce6062b6b5df2eddeee723777be85108e4e7c7
|
||||
|
||||
CONFLICTS= usrp-[0-9]*
|
||||
|
||||
|
@ -44,9 +43,7 @@ BROKEN_FreeBSD_13_armv7= fails to configure: Could not find standard set_new_han
|
|||
USE_LDCONFIG= yes
|
||||
CMAKE_SOURCE_PATH= ${WRKSRC}/host
|
||||
#CXXFLAGS_amd64= -msse2 -std=c++11
|
||||
#CXXFLAGS_i386= -msse2 -std=c++11
|
||||
CXXFLAGS_amd64= -msse2 -std=c++11
|
||||
CXXFLAGS_i386= -msse2 -std=c++98
|
||||
#CXXFLAGS_i386= -msse2 -std=c++98
|
||||
|
||||
SHEBANG_GLOB= *.py *.py.in
|
||||
|
||||
|
@ -54,12 +51,10 @@ CMAKE_ARGS+= -DPKG_LIB_DIR:STRING="share/uhd" -DUHD_TXRX_DEBUG_PRINTS="yes"
|
|||
# for excruciating debug use this -db
|
||||
#CMAKE_ARGS+= --debug-output --trace
|
||||
|
||||
IMAGE_FILE= uhd-images_3.14.0.0-rc1.zip
|
||||
|
||||
OPTIONS_DEFINE= DOCS DOXYGEN
|
||||
OPTIONS_DEFAULT= DOCS
|
||||
|
||||
OPTIONS_SUB=yes
|
||||
OPTIONS_SUB= yes
|
||||
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
|
||||
DOXYGEN_CMAKE_ON= -DENABLE_DOXYGEN:STRING="ON"
|
||||
DOXYGEN_CMAKE_OFF= -DENABLE_DOXYGEN:STRING="OFF" -DENABLE_MANUAL:STRING="OFF"
|
||||
|
@ -74,4 +69,14 @@ do-install:
|
|||
# ${CP} -Rp ${WRKDIR}/uhd-ef1576780bc927b8611640091b15f3d051cb97ad/share/uhd/${subdir} ${STAGEDIR}${DATADIR}
|
||||
#.endfor
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${DATADIR}/utils/b2xx_fx3_utils
|
||||
${STRIP_CMD} ${STAGEDIR}${DATADIR}/utils/usrp_burn_mb_eeprom
|
||||
${STRIP_CMD} ${STAGEDIR}${DATADIR}/utils/usrp_burn_db_eeprom
|
||||
${STRIP_CMD} ${STAGEDIR}${DATADIR}/utils/query_gpsdo_sensors
|
||||
${STRIP_CMD} ${STAGEDIR}${DATADIR}/utils/octoclock_burn_eeprom
|
||||
${STRIP_CMD} ${STAGEDIR}${DATADIR}/utils/latency/responder
|
||||
${STRIP_CMD} ${STAGEDIR}${DATADIR}/utils/fx2_init_eeprom
|
||||
${STRIP_CMD} ${STAGEDIR}${DATADIR}/utils/converter_benchmark
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1569601149
|
||||
SHA256 (uhd/EttusResearch-uhd-3.14.1.1-0347a6d81fd64800422ef1ed4dc634d8c480746f_GH0.tar.gz) = 6f30e07e44aaa88f4875c3ed278b209c88abf7068e853514d1afa88528208197
|
||||
SIZE (uhd/EttusResearch-uhd-3.14.1.1-0347a6d81fd64800422ef1ed4dc634d8c480746f_GH0.tar.gz) = 12963094
|
||||
TIMESTAMP = 1602440727
|
||||
SHA256 (uhd/EttusResearch-uhd-4.0.0.0-90ce6062b6b5df2eddeee723777be85108e4e7c7_GH0.tar.gz) = cd2bd780339dbcec15ba3cccefc81058f2c1f6108141e258b27956992365d87d
|
||||
SIZE (uhd/EttusResearch-uhd-4.0.0.0-90ce6062b6b5df2eddeee723777be85108e4e7c7_GH0.tar.gz) = 33956392
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
UHD is the "Universal Software Radio Peripheral" (USRP) Hardware Driver. It
|
||||
UHD is the "Universal Software Radio Peripheral" (USRP) Hardware Driver. It
|
||||
works on all major platforms (Linux, Windows, and Mac); and can be built with
|
||||
GCC, Clang, and MSVC compilers.
|
||||
|
||||
The goal of UHD is to provide a host driver and API for current and
|
||||
The goal of UHD is to provide a host driver and API for current and
|
||||
future Ettus Research products. Users will be able to use the UHD driver
|
||||
standalone or with third-party applications such as:
|
||||
|
||||
|
@ -12,4 +12,4 @@ standalone or with third-party applications such as:
|
|||
OpenBTS
|
||||
|
||||
WWW: https://github.com/EttusResearch/uhd
|
||||
WWW: https://www.ettus.com/sdr-software/detail/usrp-hardware-driver
|
||||
WWW: https://www.ettus.com/sdr-software/uhd-usrp-hardware-driver/
|
||||
|
|
1477
comms/uhd/pkg-plist
1477
comms/uhd/pkg-plist
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue