diff --git a/common/shlibs b/common/shlibs index 3c2672e8743..5dea7af6b68 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3994,3 +3994,4 @@ libSeExpr2Editor.so.3 seexpr-krita-3.4.4.0_1 libSeExpr2.so.3 seexpr-krita-3.4.4.0_1 liburing.so.1 liburing-0.7_1 libbson-1.0.so.0 libbson-1.17.0_1 +libsonic.so.0 libsonic-0.2.0_1 diff --git a/srcpkgs/libsonic b/srcpkgs/libsonic new file mode 120000 index 00000000000..aeb35db8885 --- /dev/null +++ b/srcpkgs/libsonic @@ -0,0 +1 @@ +sonic \ No newline at end of file diff --git a/srcpkgs/libsonic-devel b/srcpkgs/libsonic-devel new file mode 120000 index 00000000000..aeb35db8885 --- /dev/null +++ b/srcpkgs/libsonic-devel @@ -0,0 +1 @@ +sonic \ No newline at end of file diff --git a/srcpkgs/sonic/template b/srcpkgs/sonic/template new file mode 100644 index 00000000000..48c1ea37203 --- /dev/null +++ b/srcpkgs/sonic/template @@ -0,0 +1,34 @@ +# Template file for 'sonic' +pkgname=sonic +version=0.2.0 +revision=1 +wrksrc=${pkgname}-release-${version} +build_style=gnu-makefile +short_desc="Simple library to speed up or slow down speech" +maintainer="Joey " +license="Apache-2.0" +homepage="https://github.com/waywardgeek/sonic" +distfiles="https://github.com/waywardgeek/sonic/archive/release-${version}.tar.gz" +checksum=c7827ce576838467590ffa1f935fbe1049e896dfed6c515cf569ad3779c24085 +CFLAGS="-fPIC" + +post_install() { + vman sonic.1 +} + +libsonic_package() { + short_desc+=" - shared libraries" + pkg_install() { + vmove "usr/lib/*.so.*" + } +} + +libsonic-devel_package() { + depends="libsonic>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + vmove "usr/lib/*.a" + } +}