audio/sonic: import sonic-0.0.0.225

Packaged for wip by adr.

Sonic is a simple algorithm for speeding up or slowing down speech.
However, it's optimized for speed ups of over 2X, unlike previous
algorithms for changing speech rate.  The Sonic library is a very
simple ANSI C library that is designed to easily be integrated into
streaming voice applications, like TTS back ends.
This commit is contained in:
wiz 2024-01-30 09:00:40 +00:00
parent d4784fdc82
commit e60b7e80b2
5 changed files with 51 additions and 0 deletions

5
audio/sonic/DESCR Normal file
View File

@ -0,0 +1,5 @@
Sonic is a simple algorithm for speeding up or slowing down speech.
However, it's optimized for speed ups of over 2X, unlike previous
algorithms for changing speech rate. The Sonic library is a very
simple ANSI C library that is designed to easily be integrated into
streaming voice applications, like TTS back ends.

20
audio/sonic/Makefile Normal file
View File

@ -0,0 +1,20 @@
# $NetBSD: Makefile,v 1.1 2024/01/30 09:00:40 wiz Exp $
COMMITS= 225
DISTNAME= sonic-0.0.0.${COMMITS}
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=waywardgeek/}
GITHUB_TAG= 8694c596378c24e340c09ff2cd47c065494233f1
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/waywardgeek/sonic
COMMENT= Simple library to speed up or slow down speech
LICENSE= apache-2.0
USE_LANGUAGES= c
USE_TOOLS= gmake
CFLAGS+= -Wall -Wno-unused-function -ansi -fPIC -pthread
CFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib
MAKE_FLAGS+= PREFIX=${PREFIX}
.include "../../mk/bsd.pkg.mk"

7
audio/sonic/PLIST Normal file
View File

@ -0,0 +1,7 @@
@comment $NetBSD: PLIST,v 1.1 2024/01/30 09:00:40 wiz Exp $
bin/sonic
include/sonic.h
lib/libsonic.a
lib/libsonic.so
lib/libsonic.so.0
lib/libsonic.so.0.3.0

14
audio/sonic/buildlink3.mk Normal file
View File

@ -0,0 +1,14 @@
# $NetBSD: buildlink3.mk,v 1.1 2024/01/30 09:00:40 wiz Exp $
BUILDLINK_TREE+= sonic
.if !defined(SONIC_BUILDLINK3_MK)
SONIC_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.sonic+= sonic>=0.0.0.225
BUILDLINK_ABI_DEPENDS.sonic+= sonic>=0.0.0.225
BUILDLINK_PKGSRCDIR.sonic?= ../../audio/sonic
.endif # SONIC_BUILDLINK3_MK
BUILDLINK_TREE+= -sonic

5
audio/sonic/distinfo Normal file
View File

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2024/01/30 09:00:40 wiz Exp $
BLAKE2s (sonic-0.0.0.225-8694c596378c24e340c09ff2cd47c065494233f1.tar.gz) = dd7bd4ad2d345e9ff370d71e197312d96a6656ce899784e1a4128638c549f191
SHA512 (sonic-0.0.0.225-8694c596378c24e340c09ff2cd47c065494233f1.tar.gz) = 8bc124915b4bc6d98ad92968e137067e1b48a28aaf84aee725dbad71885aa8e1c3b23c0ae8d827fa07620d2c0116b5e40daa0229981fc2615b2c490d61cddf59
Size (sonic-0.0.0.225-8694c596378c24e340c09ff2cd47c065494233f1.tar.gz) = 5358482 bytes