New package: libilbc-3.0.4

This commit is contained in:
Đoàn Trần Công Danh 2025-01-04 10:40:24 +07:00 committed by Đoàn Trần Công Danh
parent 7e3b4d0bd4
commit 778e552160
3 changed files with 29 additions and 0 deletions

View File

@ -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

1
srcpkgs/libilbc-devel Symbolic link
View File

@ -0,0 +1 @@
libilbc

27
srcpkgs/libilbc/template Normal file
View File

@ -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 <congdanhqx@gmail.com>"
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"
}
}