head	1.9;
access;
symbols
	pkgsrc-2026Q3:1.8.0.8
	pkgsrc-2026Q3-base:1.8
	pkgsrc-2026Q2:1.8.0.6
	pkgsrc-2026Q2-base:1.8
	pkgsrc-2026Q1:1.8.0.4
	pkgsrc-2026Q1-base:1.8
	pkgsrc-2025Q4:1.8.0.2
	pkgsrc-2025Q4-base:1.8
	pkgsrc-2025Q3:1.7.0.2
	pkgsrc-2025Q3-base:1.7
	pkgsrc-2025Q2:1.6.0.8
	pkgsrc-2025Q2-base:1.6
	pkgsrc-2025Q1:1.6.0.6
	pkgsrc-2025Q1-base:1.6
	pkgsrc-2024Q4:1.6.0.4
	pkgsrc-2024Q4-base:1.6
	pkgsrc-2024Q3:1.6.0.2
	pkgsrc-2024Q3-base:1.6
	pkgsrc-2024Q2:1.4.0.14
	pkgsrc-2024Q2-base:1.4
	pkgsrc-2024Q1:1.4.0.12
	pkgsrc-2024Q1-base:1.4
	pkgsrc-2023Q4:1.4.0.10
	pkgsrc-2023Q4-base:1.4
	pkgsrc-2023Q3:1.4.0.8
	pkgsrc-2023Q3-base:1.4
	pkgsrc-2023Q2:1.4.0.6
	pkgsrc-2023Q2-base:1.4
	pkgsrc-2023Q1:1.4.0.4
	pkgsrc-2023Q1-base:1.4
	pkgsrc-2022Q4:1.4.0.2
	pkgsrc-2022Q4-base:1.4
	pkgsrc-2022Q3:1.3.0.12
	pkgsrc-2022Q3-base:1.3
	pkgsrc-2022Q2:1.3.0.10
	pkgsrc-2022Q2-base:1.3
	pkgsrc-2022Q1:1.3.0.8
	pkgsrc-2022Q1-base:1.3
	pkgsrc-2021Q4:1.3.0.6
	pkgsrc-2021Q4-base:1.3
	pkgsrc-2021Q3:1.3.0.4
	pkgsrc-2021Q3-base:1.3
	pkgsrc-2021Q2:1.3.0.2
	pkgsrc-2021Q2-base:1.3
	pkgsrc-2021Q1:1.2.0.6
	pkgsrc-2021Q1-base:1.2
	pkgsrc-2020Q4:1.2.0.4
	pkgsrc-2020Q4-base:1.2
	pkgsrc-2020Q3:1.2.0.2
	pkgsrc-2020Q3-base:1.2;
locks; strict;
comment	@# @;


1.9
date	2026.11.02.12.31.09;	author adam;	state Exp;
branches;
next	1.8;
commitid	3gc9W0jgkiuMSS1H;

1.8
date	2025.09.27.09.57.24;	author wiz;	state Exp;
branches;
next	1.7;
commitid	GSXfRJoW2938VkcG;

1.7
date	2025.08.20.11.35.00;	author wiz;	state Exp;
branches;
next	1.6;
commitid	lgT5N7I1hRAxGs7G;

1.6
date	2024.08.25.06.18.54;	author wiz;	state Exp;
branches;
next	1.5;
commitid	BcrSL94SO85mvanF;

1.5
date	2024.08.19.17.37.32;	author gdt;	state Exp;
branches;
next	1.4;
commitid	1mNhwjjGXFetssmF;

1.4
date	2022.10.08.13.25.34;	author adam;	state Exp;
branches;
next	1.3;
commitid	nNJV4MoYjw67XUWD;

1.3
date	2021.04.28.09.11.16;	author nia;	state Exp;
branches;
next	1.2;
commitid	bJUxXxeL2ipdw2RC;

1.2
date	2020.08.01.08.17.43;	author tnn;	state Exp;
branches;
next	1.1;
commitid	LWrTK737zpoJTkiC;

1.1
date	2020.08.01.07.46.14;	author tnn;	state Exp;
branches;
next	;
commitid	vYYqmuKlHIR7JkiC;


desc
@@


1.9
log
@soapy-sdr: updated to 0.9.0

0.9.0 (2026-10-10)

- Fixed SWIG parallel Device::make() overloads
- Replaced alternative operator representations
- Fixed CMAKE_INSTALL_LIBDIR definition
- Fixed macOS rpath installation
- Updated swig for compat with newer CMake
- Updated for compat with newer CMake
- Updated cmake_policy in swig for CMake 3.12 compat
- Updated Doxygen config to remove obsolete settings
- Fixed pre-callocate optionNames even if no names are provided
- Fixed use old get python lib for v2
- Fixed treat MinGW and MSYS CMake installation paths as Unix
- Fixed loadModule dlopen to hide symbols using RTLD_LOCAL
- Removed deprecated use of distutils, fix for Python 3.12+
- Fixed pkg-config use cmake full paths
- Added Python docstrings, depending on SWIG version
- Fixed better support Python 2+3 builds
- Added getLogLevel() for symmetry
- Fixed csharp Stream.Deactivate logic bug
- Changed ArgInfo move enum member initialization to constructor
- Updated TypeHelpers.hpp
- Added .NET API (MSVC 2019+)
- Added ArgInfo initialized value for type field
- Fixed Device templated readSetting() constness
- Added Device getSettingInfo() overloads for getting specific setting info
- Added luajit new user flags
- Added flags for SDR specific data
- Added LuaJIT bindings
- Added sample format option to rate test
- Fixed Wnon-virtual-dtor to conditional
- Removed stod call, which crashes with some OS X configurations
@
text
@# $NetBSD: Makefile,v 1.8 2025/09/27 09:57:24 wiz Exp $

DISTNAME=	soapy-sdr-0.9.0
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_CXX_FEATURES+=	c++11
USE_LANGUAGES+=		c c++
USE_TOOLS+=		pkg-config

.include "../../devel/cmake/build.mk"
# Do not use /lib64.  \todo File upstream bug.
CMAKE_CONFIGURE_ARGS+=	-DLIB_SUFFIX=""
CMAKE_CONFIGURE_ARGS+=	-DENABLE_LUAJIT=OFF

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,

# boost's posix_thread header causes pthread_create() reference
LDFLAGS+=		-lpthread

.include "../../devel/boost-headers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.8
log
@*: recursive bump for boost 1.89
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2025/08/20 11:35:00 wiz Exp $
d3 1
a3 2
DISTNAME=	soapy-sdr-0.8.1
PKGREVISION=	1
d14 3
a16 2
USE_LANGUAGES+=	c c++
USE_TOOLS+=	pkg-config
d21 1
a21 1
CMAKE_CONFIGURE_ARGS+=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
@


1.7
log
@*: fix build with cmake 4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2024/08/25 06:18:54 wiz Exp $
d4 1
@


1.6
log
@*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2024/08/19 17:37:32 gdt Exp $
d20 1
@


1.5
log
@ham/soapy-sdr: USE_CMAKE exorcism
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/10/08 13:25:34 adam Exp $
d19 1
a19 1
CMAKE_ARGS+=	-DLIB_SUFFIX=""
@


1.4
log
@soapy-sdr: updated to 0.8.1

Release 0.8.1 (2021-07-25)
==========================

- cmake: fix use of CMAKE_INSTALL_LIB_DIR when absolute
- windows: Fix compatibility with non-MSVC compilers
- cmake: version policies for subproject compatibility
- docs: fixed spelling mistakes in doxygen comments
- python3: change OUTPUT_NAME in newer versions of cmake
- Types: consistency changes converting strings to bool
- Type.hpp: fixed templated StringToSetting return true
- Range: fixed default constructor not initializing step

Release 0.8.0 (2021-04-25)
==========================

Build:
- Update to CMake 3.0 style and project config generation
- Increase the CMake build requirement to version 3.1.0

API:
- Added API calls for configuring an external reference clock rate
- Constants for boolean setting strings SOAPY_SDR_TRUE/FALSE
- Templated read/writeSetting()/readSensor() for SoapySDR::Device
- Added Templated StringToSetting() and SettingToString() helpers
- Python bindings duck typing for read/writeSetting()/readSensor()
- Changed SoapySDRDevice_setupStream() to return the stream pointer
- Added unloadModules() API call to manually cleanup modules on exit
- Device: added parallel make() function with string arguments
- Added ABI check to Python module
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2021/04/28 09:11:16 nia Exp $
a13 1
USE_CMAKE=	yes
d17 2
a18 1
# Do not use /lib64
@


1.3
log
@soapy-sdr: explicitly unset LIB_SUFFIX
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2020/08/01 08:17:43 tnn Exp $
d3 1
a3 2
DISTNAME=	soapy-sdr-0.7.2
PKGREVISION=	1
d15 1
a16 1
USE_LANGUAGES+=	c c++
a26 6
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},'

@


1.2
log
@soapy-sdr: delete the python binding. Will be added as a separate package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2020/08/01 07:46:14 tnn Exp $
d19 3
@


1.1
log
@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.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
a18 12
# 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

a34 1
.include "../../lang/python/extension.mk"
@

