Port details
libg722 Software G.722 decoding/encoding library
1.2.8 audio Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.2.8Version of this port present on the latest quarterly branch.
Maintainer: ports@sippysoft.com search for ports maintained by this maintainer
Port Added: 2016-07-29 23:28:20
Last Update: 2026-09-13 08:20:10
Commit Hash: 161f479
License: PUBLIC_DOMAIN
Description: #
The G.722 module is a bit exact implementation of the ITU G.722 specification for all three specified bit rates - 64000bps, 56000bps and 48000bps. It passes the ITU tests. To allow fast and flexible interworking with narrow band telephony, the encoder and decoder support an option for the linear audio to be an 8k samples/second stream. In this mode the codec is considerably faster, and still fully compatible with wideband terminals using G.722.
cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (13 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libg722-1.2.8/catalog.mk
  3. /usr/local/share/licenses/libg722-1.2.8/LICENSE
  4. /usr/local/share/licenses/libg722-1.2.8/PUBLIC_DOMAIN
  5. include/g722.h
  6. include/g722_codec.h
  7. lib/libg722.so
  8. lib/libg722.so.0
  9. include/g722_decoder.h
  10. include/g722_encoder.h
  11. @owner
  12. @group
  13. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • libg722>0:audio/libg722
  • For LIB depends:
    • libg722.so:audio/libg722
To install the port: #
cd /usr/ports/audio/libg722/ && make install clean
To add the package, run one of these commands:
  • pkg install audio/libg722
  • pkg install libg722
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
To download the package and its dependencies for another FreeBSD version or architecture, without installing it:
  • pkg -o ABI=FreeBSD:15:$(pkg config abi | cut -d: -f3) fetch -d -o . libg722
Change 15 to the FreeBSD major version you want; the rest keeps your current architecture. The files are saved under ./All/. Copy them to the other machine and install them there with pkg add. Ignore any warning that suggests pkg bootstrap -f. The quarterly or latest branch comes from your own repository configuration, not from this page.
PKGNAME: libg722
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1787034136 SHA256 (libg722-1.2.8.tar.gz) = b3da381114229be4d22370fe98f226ae376f18603f2790b5c8e0a0b3c8bcb7ea SIZE (libg722-1.2.8.tar.gz) = 134856

Packages (timestamps in pop-ups are UTC): #
libg722
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.2.81.2.81.0.2_11.2.01.2.8
FreeBSD:14:quarterly1.2.81.2.8-1.2.01.2.8
FreeBSD:15:latest1.2.81.2.8n/a1.2.0n/a
FreeBSD:15:quarterly1.2.81.2.8n/a-n/a
FreeBSD:16:latest CURRENT1.2.81.2.8n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
This port is required by: #
for Libraries #
  1. net/rtpproxy

Configuration Options: #
No options to configure
Options name: #
audio_libg722
USES: #
cmake:testing
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://github.com/sippy/libg722/releases/download/v1.2.8/
Collapse this list.

Number of commits found: 12 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.2.8
13 Sep 2026 08:20:10
commit hash: 161f4798453081746935f43e23b70b2be937d327commit hash: 161f4798453081746935f43e23b70b2be937d327commit hash: 161f4798453081746935f43e23b70b2be937d327commit hash: 161f4798453081746935f43e23b70b2be937d327 files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
audio/libg722: Update to 1.2.8

* Use upstream release archive as recommended by Porters Handbook
* Convert to using USES= cmake:testing helper

Initially submitted by Herbert J. Skuhra <herbert@gojira.at>

PR:		297204
1.2.0
16 Apr 2025 21:16:44
commit hash: d99bf946c3c749135c6facd7fb5b9708fc49d18ecommit hash: d99bf946c3c749135c6facd7fb5b9708fc49d18ecommit hash: d99bf946c3c749135c6facd7fb5b9708fc49d18ecommit hash: d99bf946c3c749135c6facd7fb5b9708fc49d18e files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
audio/libg722: Update to 1.2.0

Changelog: https://github.com/sippy/libg722/releases/tag/v_1_2_0

PR:		285770
Approved by:	portmgr (maintainer timeout, 2+ weeks)
1.0.3.11
22 Jan 2024 19:58:36
commit hash: 2af517575efca0478071f04dbe1fdcf7440b32a5commit hash: 2af517575efca0478071f04dbe1fdcf7440b32a5commit hash: 2af517575efca0478071f04dbe1fdcf7440b32a5commit hash: 2af517575efca0478071f04dbe1fdcf7440b32a5 files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
audio/libg722: Update to latest commit and switch to CMake

Switch to CMake as it cleans up (simplifies) Makefile

PR:		276169
Approved by:	portmgr (maintainer timeout, 2+ weeks)
1.0.2_1
20 Jul 2022 14:20:54
commit hash: 213b0b7a75cfb93729483fb1f59b236448f06a13commit hash: 213b0b7a75cfb93729483fb1f59b236448f06a13commit hash: 213b0b7a75cfb93729483fb1f59b236448f06a13commit hash: 213b0b7a75cfb93729483fb1f59b236448f06a13 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
audio: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <dmagda+libsamplerate@ee.ryerson.ca>
  *  <trasz@FreeBSD.org>
  *  Adam Weinberger
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Aleksander Fafula <alex@bsdguru.org>
  *  Alex Allan <alex@kamaz.org.uk>
  *  Alexander Botero-Lowry <alex@foxybanana.com>
  *  Alexander Kojevnikov <alexander@kojevnikov.com>
  *  Alexander Nedotsukov <bland@FreeBSD.org>
  *  Alexander Vereeken <Alexander88207@protonmail.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.0.2_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.0.2_1
25 Nov 2019 23:25:52
Revision:518434commit hash: f2ab4428432c7278a3dfc65dd19ae1a0e21e9b2fcommit hash: f2ab4428432c7278a3dfc65dd19ae1a0e21e9b2fcommit hash: f2ab4428432c7278a3dfc65dd19ae1a0e21e9b2fcommit hash: f2ab4428432c7278a3dfc65dd19ae1a0e21e9b2fOriginal commit files touched by this commit
brooks search for other commits by this committer
Fix build with src r354909 applied.

The referenced change made NO_INSTALLLIB, NO_MAN, and NO_PROFILE into
errors causing these ports that declare them and use the FreeBSD make
infrastructure as part of their build to fail.

When the offending variables occur in a BSD Makefile, NO_MAN becomes
MAN= and NO_INSTALLLIB and NO_PROFILE become MK_INSTALLLIB=no and
MK_PROFILE=no respectively.  When declared in the environment they
become WITHOUT_<FOO>.
1.0.2_1
17 Jan 2019 13:48:46
Revision:490561commit hash: b1e585b0f2fdfc034921ec10a53526c7de985c6fcommit hash: b1e585b0f2fdfc034921ec10a53526c7de985c6fcommit hash: b1e585b0f2fdfc034921ec10a53526c7de985c6fcommit hash: b1e585b0f2fdfc034921ec10a53526c7de985c6fOriginal commit files touched by this commit
tobik search for other commits by this committer
audio/libg722: Use INSTALL_LIB to install the shared library

PR:		233780
Submitted by:	sobomax (based on)
Approved by:	ports@sippysoft.com (maintainer timeout, 1.5 months)
1.0.2
01 Nov 2017 13:10:35
Revision:453284commit hash: 2fb9f253738e151f2fbe761516881a4f0594a09dcommit hash: 2fb9f253738e151f2fbe761516881a4f0594a09dcommit hash: 2fb9f253738e151f2fbe761516881a4f0594a09dcommit hash: 2fb9f253738e151f2fbe761516881a4f0594a09dOriginal commit files touched by this commit
olgeni search for other commits by this committer
Fix whitespace issues (mixed tab/spaces, alignment) in a few ports.
1.0.2
25 Oct 2016 22:28:22
Revision:424658commit hash: d17f126e645a27e390409cda91b53fe7c72d2d0ccommit hash: d17f126e645a27e390409cda91b53fe7c72d2d0ccommit hash: d17f126e645a27e390409cda91b53fe7c72d2d0ccommit hash: d17f126e645a27e390409cda91b53fe7c72d2d0cOriginal commit files touched by this commit
mat search for other commits by this committer
Cleanup USE_GITHUB usage.

Sponsored by:	Absolight
1.0.2
30 Jul 2016 01:02:42
Revision:419293commit hash: 4f76e3e54b19d387b8cb72571b620d3355799f9ccommit hash: 4f76e3e54b19d387b8cb72571b620d3355799f9ccommit hash: 4f76e3e54b19d387b8cb72571b620d3355799f9ccommit hash: 4f76e3e54b19d387b8cb72571b620d3355799f9cOriginal commit files touched by this commit
sobomax search for other commits by this committer
Upgrade to 1.0.2.
1.0.0
29 Jul 2016 23:29:16
Revision:419279commit hash: 025652943c54e5be3d1165c2b4b4c2f0b5ccd42ccommit hash: 025652943c54e5be3d1165c2b4b4c2f0b5ccd42ccommit hash: 025652943c54e5be3d1165c2b4b4c2f0b5ccd42ccommit hash: 025652943c54e5be3d1165c2b4b4c2f0b5ccd42cOriginal commit files touched by this commit
sobomax search for other commits by this committer
Oops, fix CATEGORY to match.
29 Jul 2016 23:28:13
Revision:419278commit hash: ab188f9af7586b1cd9bf0cdd9b0b07283068a776commit hash: ab188f9af7586b1cd9bf0cdd9b0b07283068a776commit hash: ab188f9af7586b1cd9bf0cdd9b0b07283068a776commit hash: ab188f9af7586b1cd9bf0cdd9b0b07283068a776Original commit files touched by this commit Sanity Test Failure Refresh
sobomax search for other commits by this committer
Add libg722, a software G.722 decoding/encoding library that is
bit-compatible with the ITU-T specifications.

Number of commits found: 12