diff --git a/common/shlibs b/common/shlibs index c78259b47be..739da7523e3 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4545,3 +4545,4 @@ libpyside6qml.so.6.7 libpyside6-6.7.2_1 libshiboken6.so.6.7 libshiboken6-6.7.2_1 libopencore-amrnb.so.0 opencore-amr-0.1.6_1 libopencore-amrwb.so.0 opencore-amr-0.1.6_1 +libilbc.so.3 libilbc-3.0.4_1 diff --git a/srcpkgs/libilbc-devel b/srcpkgs/libilbc-devel new file mode 120000 index 00000000000..8eccc909e0a --- /dev/null +++ b/srcpkgs/libilbc-devel @@ -0,0 +1 @@ +libilbc \ No newline at end of file diff --git a/srcpkgs/libilbc/template b/srcpkgs/libilbc/template new file mode 100644 index 00000000000..b347c9e7f17 --- /dev/null +++ b/srcpkgs/libilbc/template @@ -0,0 +1,27 @@ +# Template file for 'libilbc' +pkgname=libilbc +version=3.0.4 +revision=1 +build_style=cmake +short_desc="Packaged version of iLBC codec from the WebRTC project" +maintainer="Đoàn Trần Công Danh " +license="BSD-3-Clause" +homepage="https://github.com/TimothyGu/libilbc" +distfiles="https://github.com/TimothyGu/libilbc/releases/download/v${version}/libilbc-${version}.tar.zst" +checksum=70a37660e59f999dbde8fd10fb0fb375baf8dd02093ab4b32f94bc4abaac4358 + +post_install() { + vlicense COPYING + rm -rf ${DESTDIR}/usr/share/doc +} + +libilbc-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/bin + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}