BSD Ports

audio/codec2 1.2.0 FreeBSD

Low bit rate codec

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
6621902b7e
License
LGPL21
Categories
audio, hamradio
Package size
673.9 KiB, 1487.2 KiB installed

Description

Codec 2 is an open source speech codec designed for communications quality speech between 700 and 3200 bit/s. The main application is low bandwidth HF/VHF digital radio. It fills a gap in open source, free-as-in-speech voice codecs beneath 5000 bit/s and is released under the GNU Lesser General Public License (LGPL).

In the other systems

SystemPortVersion
FreeBSDaudio/codec21.2.0
NetBSDham/codec21.2.0
DragonFlyaudio/codec21.0.3_1
HardenedBSDaudio/codec21.2.0
GhostBSDaudio/codec21.2.0

Install

Binary package:

pkg install codec2

From the ports tree:

cd /usr/ports/audio/codec2/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	codec2>0:audio/codec2
LIB_DEPENDS=	libcodec2.so:audio/codec2

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.2.01.2.01.0.3_11.0.3_11.2.0
FreeBSD:14:quarterly1.2.01.2.0n/a1.0.3_11.2.0
FreeBSD:15:latest1.2.01.2.0n/a1.0.3_11.0.3_1
FreeBSD:15:quarterly1.2.01.2.0n/an/an/a
FreeBSD:16:latest1.2.01.2.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 7

Configuration

Options name: audio_codec2

OptionDefaultDescription
EXAMPLESoffBuild and/or install examples
TESToffBuild and/or run tests
USES
cmake pkgconfig python tar:xz
Service scripts
none

Files

pkg-plist 18
  • include/codec2/codec2.h
  • include/codec2/codec2_cohpsk.h
  • include/codec2/codec2_fdmdv.h
  • include/codec2/codec2_fifo.h
  • include/codec2/codec2_fm.h
  • include/codec2/codec2_math.h
  • include/codec2/codec2_ofdm.h
  • include/codec2/comp.h
  • include/codec2/freedv_api.h
  • include/codec2/fsk.h
  • include/codec2/modem_stats.h
  • include/codec2/reliable_text.h
  • include/codec2/version.h
  • lib/cmake/codec2/codec2-config-.cmake
  • lib/cmake/codec2/codec2-config.cmake
  • lib/libcodec2.so
  • lib/libcodec2.so.1.2
  • libdata/pkgconfig/codec2.pc
distinfo 1
FileSizeSHA256
drowe67-codec2-1.2.0_GH0.tar.gz7.688549e+06cbccae52b2c2ecc5d2757e407da567eb681241ff8dadce39d779a7219dbcf449

Commit history 1

DateCommitCreditsLog message
6621902b7e Diane Bruce audio/codec2: Update to 1.2.0
The new version of SDRAngel requires codec2 version 1.2.0, but the ports currently contain version 1.0.3_1. I contacted the maintainer, and a search of the bug list yielded no results regarding a codec2 port update. I propose updating the port; I am attaching the patches. Tested FreeBSD 15 amd64 - ran through portlint and cosmetic changes only - db PR: 297726 Reported by: [email protected]