git: 161f47984530 - main - audio/libg722: Update to 1.2.8

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 13 Sep 2026 08:21:15 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=161f4798453081746935f43e23b70b2be937d327

commit 161f4798453081746935f43e23b70b2be937d327
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-09-13 07:52:12 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-09-13 08:20:10 +0000

    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
---
 audio/libg722/Makefile | 14 +++++---------
 audio/libg722/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/audio/libg722/Makefile b/audio/libg722/Makefile
index 571508bdbfc1..ff40f7213f22 100644
--- a/audio/libg722/Makefile
+++ b/audio/libg722/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	libg722
-DISTVERSIONPREFIX=	v_
-DISTVERSION=	1_2_0
+DISTVERSION=	1.2.8
 CATEGORIES=	audio
+MASTER_SITES=	https://github.com/sippy/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	ports@sippysoft.com
 COMMENT=	Software G.722 decoding/encoding library
@@ -11,14 +11,10 @@ LICENSE_NAME=	${LICENSE:S/_/ /}
 LICENSE_FILE=	${WRKSRC}/LICENSE
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-USES=		cmake
+USES=		cmake:testing
 USE_LDCONFIG=	yes
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	sippy
-
-TEST_TARGET=	test
-
-CMAKE_OFF=	ENABLE_STATIC_LIB
+CMAKE_OFF=	BUILD_TESTING \
+		ENABLE_STATIC_LIB
 
 .include <bsd.port.mk>
diff --git a/audio/libg722/distinfo b/audio/libg722/distinfo
index d392f1833391..069dbe48c97b 100644
--- a/audio/libg722/distinfo
+++ b/audio/libg722/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1743285193
-SHA256 (sippy-libg722-v_1_2_0_GH0.tar.gz) = 80b061446b1a014c27eff5659a2bcee4f584e44054b17a1cb3c8840da72513b6
-SIZE (sippy-libg722-v_1_2_0_GH0.tar.gz) = 119055
+TIMESTAMP = 1787034136
+SHA256 (libg722-1.2.8.tar.gz) = b3da381114229be4d22370fe98f226ae376f18603f2790b5c8e0a0b3c8bcb7ea
+SIZE (libg722-1.2.8.tar.gz) = 134856