From 385726a1bd4da270b737a3f2803c33022bd8afa2 Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Fri, 28 Jul 2023 14:32:58 -0400 Subject: [PATCH] New package: liblc3-1.0.3 --- common/shlibs | 1 + srcpkgs/lc3-tools | 1 + srcpkgs/liblc3-devel | 1 + srcpkgs/liblc3/template | 30 ++++++++++++++++++++++++++++++ 4 files changed, 33 insertions(+) create mode 120000 srcpkgs/lc3-tools create mode 120000 srcpkgs/liblc3-devel create mode 100644 srcpkgs/liblc3/template diff --git a/common/shlibs b/common/shlibs index ff764f41182..c71817b11b5 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4322,3 +4322,4 @@ libjxl_dec.so.0.8 libjxl-0.8.2_1 libjxl_threads.so.0.8 libjxl-0.8.2_1 libtext-engine-0.1.so.0 text-engine-0.1.1_1 libvmaf.so.1 vmaf-2.3.1_1 +liblc3.so.1 liblc3-1.0.3_1 diff --git a/srcpkgs/lc3-tools b/srcpkgs/lc3-tools new file mode 120000 index 00000000000..ae1f269f5c1 --- /dev/null +++ b/srcpkgs/lc3-tools @@ -0,0 +1 @@ +liblc3 \ No newline at end of file diff --git a/srcpkgs/liblc3-devel b/srcpkgs/liblc3-devel new file mode 120000 index 00000000000..ae1f269f5c1 --- /dev/null +++ b/srcpkgs/liblc3-devel @@ -0,0 +1 @@ +liblc3 \ No newline at end of file diff --git a/srcpkgs/liblc3/template b/srcpkgs/liblc3/template new file mode 100644 index 00000000000..1ecef29ee47 --- /dev/null +++ b/srcpkgs/liblc3/template @@ -0,0 +1,30 @@ +# Template file for 'liblc3' +pkgname=liblc3 +version=1.0.3 +revision=1 +build_style=meson +configure_args="-Dtools=true" +short_desc="Low complexity communication codec" +maintainer="cinerea0 " +license="Apache-2.0" +homepage="https://github.com/google/liblc3" +distfiles="https://github.com/google/liblc3/archive/refs/tags/v${version}.tar.gz" +checksum=33318036a4b83af697b328e55e8c5fab9763836083bccb586f4dc2e644c24991 + +liblc3-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +} + +lc3-tools_package() { + short_desc+=" - tools" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/bin + } +}