Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/ham/uhd/Makefile 2016/06/08 07:26:59 1.19 +++ pkgsrc/ham/uhd/Makefile 2019/02/24 21:41:11 1.41 @@ -1,14 +1,14 @@ -# $NetBSD: Makefile,v 1.19 2016/06/08 07:26:59 wiz Exp $ +# $NetBSD: Makefile,v 1.41 2019/02/24 21:41:11 mef Exp $ -DISTNAME= uhd-3.9.4 -PKGREVISION= 1 +# 3.13.0.1 is missing *_firmware_burner, and it's not clear that is correct. +DISTNAME= uhd-3.11.1.0 +PKGREVISION= 3 CATEGORIES= ham MASTER_SITES= ${MASTER_SITE_GITHUB:=EttusResearch/} -# 3.9.1 -> 003_009_001 -GITHUB_TAG= release_${PKGVERSION_NOREV:C/([0-9])\.([0-9])\.([0-9])/00\1_00\2_00\3/} +GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://code.ettus.com/redmine/ettus/projects/uhd/wiki +#HOMEPAGE= http://code.ettus.com/redmine/ettus/projects/uhd/wiki COMMENT= USRP (Universal Software Radio Peripheral) Hardware Drivers LICENSE= gnu-gpl-v2 @@ -16,6 +16,8 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-cheetah- BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils BUILD_DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako +PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # py-cheetah + CMAKE_ARGS+= -DRST2HTML_EXECUTABLE=${PREFIX}/bin/rst2html-${PYVERSSUFFIX}.py CMAKE_ARGS+= -Wno-dev @@ -28,7 +30,7 @@ EXTRACT_USING= gtar # Please note distribution has many stuff under uhd/, but build itself # needs under host/ only. Those uhd/ stuff will be handled post-{patch,install}: -WRKSRC= ${WRKDIR}/uhd-${GITHUB_TAG}/host +WRKSRC= ${WRKDIR}/uhd-${PKGVERSION_NOREV}/host # The files with their name uhd-xxxx, are moved down from uhd/xxxx for this process. REPLACE_PYTHON= \ @@ -38,7 +40,18 @@ REPLACE_PYTHON= \ utils/usrp2_card_burner.py \ utils/usrp2_card_burner_gui.py \ utils/usrp_n2xx_net_burner.py \ - utils/usrp_n2xx_net_burner_gui.py + utils/usrp_n2xx_net_burner_gui.py \ + tests/devtest/benchmark_rate_test.py \ + tests/devtest/run_testsuite.py \ + tests/devtest/rx_samples_to_file_test.py \ + tests/devtest/test_messages_test.py \ + tests/devtest/test_pps_test.py \ + tests/devtest/tx_bursts_test.py \ + tests/devtest/uhd_test_base.py \ + tests/devtest/usrp_probe.py \ + tests/devtest/usrp_probe_test.py \ + utils/converter_benchmark.py \ + INSTALLATION_DIRS+= share/uhd INSTALLATION_DIRS+= share/uhd/firmware @@ -60,5 +73,5 @@ PLIST_SRC= ${PKGDIR}/PLIST .include "../../devel/boost-libs/buildlink3.mk" .include "../../devel/libusb1/buildlink3.mk" .include "../../devel/orc/buildlink3.mk" - +.include "../../mk/curses.buildlink3.mk" .include "../../mk/bsd.pkg.mk"