ham/soapy-sdr: import soapy-sdr-0.7.2
SoapySDR is an open-source generalized API and runtime library for interfacing with SDR devices. With SoapySDR, you can instantiate, configure, and stream with an SDR device in a variety of environments. Most off the shelf SDR hardware platforms are supported by SoapySDR, and many open source applications rely on SoapySDR for hardware integration support. In addition, SoapySDR has bindings for development frameworks like GNU Radio and Pothos.
This commit is contained in:
parent
7573831460
commit
4615691484
5 changed files with 107 additions and 0 deletions
6
ham/soapy-sdr/DESCR
Normal file
6
ham/soapy-sdr/DESCR
Normal file
|
@ -0,0 +1,6 @@
|
|||
SoapySDR is an open-source generalized API and runtime library for interfacing
|
||||
with SDR devices. With SoapySDR, you can instantiate, configure, and stream
|
||||
with an SDR device in a variety of environments. Most off the shelf
|
||||
SDR hardware platforms are supported by SoapySDR, and many open source
|
||||
applications rely on SoapySDR for hardware integration support. In addition,
|
||||
SoapySDR has bindings for development frameworks like GNU Radio and Pothos.
|
47
ham/soapy-sdr/Makefile
Normal file
47
ham/soapy-sdr/Makefile
Normal file
|
@ -0,0 +1,47 @@
|
|||
# $NetBSD: Makefile,v 1.1 2020/08/01 07:46:14 tnn Exp $
|
||||
|
||||
DISTNAME= soapy-sdr-0.7.2
|
||||
CATEGORIES= ham
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=pothosware/}
|
||||
GITHUB_PROJECT= SoapySDR
|
||||
GITHUB_TAG= ${DISTNAME}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/pothosware/SoapySDR/wiki
|
||||
COMMENT= Vendor and platform neutral SDR support library
|
||||
LICENSE= boost-license
|
||||
|
||||
USE_CMAKE= yes
|
||||
USE_TOOLS+= pkg-config
|
||||
USE_LANGUAGES+= c c++
|
||||
|
||||
# Uses PyObject_Compare() (Supports python 3.8 in master branch)
|
||||
PYTHON_VERSIONS_ACCEPTED= 27
|
||||
PY_PATCHPLIST= yes
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if !empty(_PYTHON_VERSION:M3*)
|
||||
CMAKE_ARGS+= -DPYTHON3_EXECUTABLE=${PYTHONBIN:Q}
|
||||
CMAKE_ARGS+= -DPYTHON3_LIBRARIES=${PREFIX:Q}/${PYLIB:Q}
|
||||
CMAKE_ARGS+= -DPYTHON3_INCLUDE_DIRS=${PREFIX:Q}/${PYINC:Q}
|
||||
.endif
|
||||
|
||||
SUBST_CLASSES+= getopt
|
||||
SUBST_STAGE.getopt= pre-configure
|
||||
SUBST_MESSAGE.getopt= Fixing getopt_long_only
|
||||
SUBST_FILES.getopt+= apps/SoapySDRUtil.cpp
|
||||
SUBST_SED.getopt+= -e s,getopt_long_only,getopt_long,
|
||||
|
||||
SUBST_CLASSES+= mandir
|
||||
SUBST_STAGE.mandir= pre-configure
|
||||
SUBST_MESSAGE.mandir= Fixing manpage directory
|
||||
SUBST_FILES.mandir+= apps/CMakeLists.txt
|
||||
SUBST_SED.mandir+= -e 's,share/man,${PKGMANDIR},'
|
||||
|
||||
# boost's posix_thread header causes pthread_create() reference
|
||||
LDFLAGS+= -lpthread
|
||||
|
||||
.include "../../devel/boost-headers/buildlink3.mk"
|
||||
.include "../../lang/python/extension.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
34
ham/soapy-sdr/PLIST
Normal file
34
ham/soapy-sdr/PLIST
Normal file
|
@ -0,0 +1,34 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2020/08/01 07:46:14 tnn Exp $
|
||||
bin/SoapySDRUtil
|
||||
include/SoapySDR/Config.h
|
||||
include/SoapySDR/Config.hpp
|
||||
include/SoapySDR/Constants.h
|
||||
include/SoapySDR/ConverterPrimitives.hpp
|
||||
include/SoapySDR/ConverterRegistry.hpp
|
||||
include/SoapySDR/Device.h
|
||||
include/SoapySDR/Device.hpp
|
||||
include/SoapySDR/Errors.h
|
||||
include/SoapySDR/Errors.hpp
|
||||
include/SoapySDR/Formats.h
|
||||
include/SoapySDR/Formats.hpp
|
||||
include/SoapySDR/Logger.h
|
||||
include/SoapySDR/Logger.hpp
|
||||
include/SoapySDR/Modules.h
|
||||
include/SoapySDR/Modules.hpp
|
||||
include/SoapySDR/Registry.hpp
|
||||
include/SoapySDR/Time.h
|
||||
include/SoapySDR/Time.hpp
|
||||
include/SoapySDR/Types.h
|
||||
include/SoapySDR/Types.hpp
|
||||
include/SoapySDR/Version.h
|
||||
include/SoapySDR/Version.hpp
|
||||
lib/libSoapySDR.so
|
||||
lib/libSoapySDR.so.0.7
|
||||
lib/libSoapySDR.so.${PKGVERSION}
|
||||
lib/pkgconfig/SoapySDR.pc
|
||||
${PYSITELIB}/SoapySDR.py
|
||||
${PYSITELIB}/_SoapySDR.so
|
||||
man/man1/SoapySDRUtil.1
|
||||
share/cmake/SoapySDR/SoapySDRConfig.cmake
|
||||
share/cmake/SoapySDR/SoapySDRConfigVersion.cmake
|
||||
share/cmake/SoapySDR/SoapySDRUtil.cmake
|
14
ham/soapy-sdr/buildlink3.mk
Normal file
14
ham/soapy-sdr/buildlink3.mk
Normal file
|
@ -0,0 +1,14 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1 2020/08/01 07:46:14 tnn Exp $
|
||||
|
||||
BUILDLINK_TREE+= soapy-sdr
|
||||
|
||||
.if !defined(SOAPY_SDR_BUILDLINK3_MK)
|
||||
SOAPY_SDR_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.soapy-sdr+= soapy-sdr>=0.7.2
|
||||
BUILDLINK_PKGSRCDIR.soapy-sdr?= ../../ham/soapy-sdr
|
||||
|
||||
#.include "../../devel/boost-libs/buildlink3.mk"
|
||||
.endif # SOAPY_SDR_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -soapy-sdr
|
6
ham/soapy-sdr/distinfo
Normal file
6
ham/soapy-sdr/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1 2020/08/01 07:46:14 tnn Exp $
|
||||
|
||||
SHA1 (soapy-sdr-0.7.2.tar.gz) = f2639510f2ba006c1f8f96e53de6809dbbf41c51
|
||||
RMD160 (soapy-sdr-0.7.2.tar.gz) = bea70c024d73ed0053d4ecc43c9b8a78fb7c60ea
|
||||
SHA512 (soapy-sdr-0.7.2.tar.gz) = 2454b9b6bf4542f3bce2c6a8e1c886cee9179ca0e13e3c1e22817a05ef671428a3cb8fea69e496c8b62573f360c248508edf3d0871ec5063dfac8211b122d371
|
||||
Size (soapy-sdr-0.7.2.tar.gz) = 124607 bytes
|
Loading…
Reference in a new issue