pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
sonic: Import sonic-0.2.0 as wip/sonic
Module Name: pkgsrc-wip
Committed By: adr <adr%sdf.org@localhost>
Pushed By: adr
Date: Sun Nov 13 16:22:39 2022 +0000
Changeset: 09ee673778b47792cdc8a4cecf4e2549fb322e0b
Modified Files:
Makefile
Added Files:
sonic/DESCR
sonic/Makefile
sonic/PLIST
sonic/buildlink3.mk
sonic/distinfo
sonic/patches/patch-Makefile
Log Message:
sonic: Import sonic-0.2.0 as wip/sonic
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=09ee673778b47792cdc8a4cecf4e2549fb322e0b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
sonic/DESCR | 5 +++++
sonic/Makefile | 21 +++++++++++++++++++++
sonic/PLIST | 7 +++++++
sonic/buildlink3.mk | 14 ++++++++++++++
sonic/distinfo | 6 ++++++
sonic/patches/patch-Makefile | 18 ++++++++++++++++++
7 files changed, 72 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 5a58235caa..41c8db0a00 100644
--- a/Makefile
+++ b/Makefile
@@ -5396,6 +5396,7 @@ SUBDIR+= soju
SUBDIR+= solarus-zsdx
SUBDIR+= solvespace-git
SUBDIR+= songwrite2
+SUBDIR+= sonic
SUBDIR+= sonic-visualiser
SUBDIR+= sophia
SUBDIR+= sops
diff --git a/sonic/DESCR b/sonic/DESCR
new file mode 100644
index 0000000000..d44f40b663
--- /dev/null
+++ b/sonic/DESCR
@@ -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.
diff --git a/sonic/Makefile b/sonic/Makefile
new file mode 100644
index 0000000000..023e4ce9f5
--- /dev/null
+++ b/sonic/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME= release-0.2.0
+PKGNAME= ${DISTNAME:S/release/sonic/}
+WRKSRC= ${WRKDIR}/sonic-${DISTNAME}
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_GITHUB:=espeak-ng/sonic/archive/refs/tags/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/espeak-ng/sonic
+COMMENT= Simple library to speed up or slow down speech
+LICENSE= apache-2.0
+
+USE_LANGUAGES= c
+USE_TOOLS= gmake
+CFLAGS+= -Wall -O3 -ansi -fPIC -pthread -Wl,-rpath=${PREFIX}/lib
+
+CHECK_SHLIBS_SKIP= bin/sonic
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sonic/PLIST b/sonic/PLIST
new file mode 100644
index 0000000000..85b0b17055
--- /dev/null
+++ b/sonic/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+bin/sonic
+include/sonic.h
+lib/libsonic.a
+lib/libsonic.so
+lib/libsonic.so.0
+lib/libsonic.so.${PKGVERSION}
diff --git a/sonic/buildlink3.mk b/sonic/buildlink3.mk
new file mode 100644
index 0000000000..9abba908d9
--- /dev/null
+++ b/sonic/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.19 2022/09/11 12:51:04 wiz Exp $
+
+BUILDLINK_TREE+= sonic
+
+.if !defined(SONIC_BUILDLINK3_MK)
+SONIC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.sonic+= sonic>=0.2.0
+BUILDLINK_ABI_DEPENDS.sonic+= sonic>=0.2.0
+BUILDLINK_PKGSRCDIR.sonic?= ../../audio/sonic
+
+.endif # SONIC_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -sonic
diff --git a/sonic/distinfo b/sonic/distinfo
new file mode 100644
index 0000000000..32ab09fac4
--- /dev/null
+++ b/sonic/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (release-0.2.0.zip) = 0b426bd5ea36e376b3cd28ee2958e7e0939f5172980ca47f3a43e30d82ca41ea
+SHA512 (release-0.2.0.zip) = b8424db63be06ede755e41105be7aa41f9da660fe2c2de546bbeb70981ed5da7f995ab5481d9a6aff8d87d9c3a3f8bded5e12cd8ac7b5510fcdf08773ea63aa5
+Size (release-0.2.0.zip) = 5321669 bytes
+SHA1 (patch-Makefile) = 864e553df30b2c39dc38d98e6ff549342c69a616
diff --git a/sonic/patches/patch-Makefile b/sonic/patches/patch-Makefile
new file mode 100644
index 0000000000..9f8de96d5a
--- /dev/null
+++ b/sonic/patches/patch-Makefile
@@ -0,0 +1,18 @@
+$NetBSD$
+
+Let pkgsrc manage flags, &c.
+
+--- Makefile.orig 2022-11-06 22:53:06.509668654 +0000
++++ Makefile
+@@ -10,11 +10,7 @@ UNAME := $(shell uname)
+ ifeq ($(UNAME), Darwin)
+ SONAME=install_name
+ endif
+-#CFLAGS=-Wall -g -ansi -fPIC -pthread
+-CFLAGS=-Wall -O3 -ansi -fPIC -pthread
+ LIB_TAG=0.2.0
+-CC=gcc
+-PREFIX=/usr
+ LIBDIR=$(PREFIX)/lib
+
+ all: sonic libsonic.so.$(LIB_TAG) libsonic.a
Home |
Main Index |
Thread Index |
Old Index