pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/ham/soapy-sdr



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sat Aug  1 07:46:14 UTC 2020

Added Files:
        pkgsrc/ham/soapy-sdr: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/ham/soapy-sdr/DESCR \
    pkgsrc/ham/soapy-sdr/Makefile pkgsrc/ham/soapy-sdr/PLIST \
    pkgsrc/ham/soapy-sdr/buildlink3.mk pkgsrc/ham/soapy-sdr/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/ham/soapy-sdr/DESCR
diff -u /dev/null pkgsrc/ham/soapy-sdr/DESCR:1.1
--- /dev/null   Sat Aug  1 07:46:14 2020
+++ pkgsrc/ham/soapy-sdr/DESCR  Sat Aug  1 07:46:14 2020
@@ -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.
Index: pkgsrc/ham/soapy-sdr/Makefile
diff -u /dev/null pkgsrc/ham/soapy-sdr/Makefile:1.1
--- /dev/null   Sat Aug  1 07:46:14 2020
+++ pkgsrc/ham/soapy-sdr/Makefile       Sat Aug  1 07:46:14 2020
@@ -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@localhost
+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"
Index: pkgsrc/ham/soapy-sdr/PLIST
diff -u /dev/null pkgsrc/ham/soapy-sdr/PLIST:1.1
--- /dev/null   Sat Aug  1 07:46:14 2020
+++ pkgsrc/ham/soapy-sdr/PLIST  Sat Aug  1 07:46:14 2020
@@ -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
Index: pkgsrc/ham/soapy-sdr/buildlink3.mk
diff -u /dev/null pkgsrc/ham/soapy-sdr/buildlink3.mk:1.1
--- /dev/null   Sat Aug  1 07:46:14 2020
+++ pkgsrc/ham/soapy-sdr/buildlink3.mk  Sat Aug  1 07:46:14 2020
@@ -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
Index: pkgsrc/ham/soapy-sdr/distinfo
diff -u /dev/null pkgsrc/ham/soapy-sdr/distinfo:1.1
--- /dev/null   Sat Aug  1 07:46:14 2020
+++ pkgsrc/ham/soapy-sdr/distinfo       Sat Aug  1 07:46:14 2020
@@ -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



Home | Main Index | Thread Index | Old Index