From 7e3b4d0bd48a6d40e1ef10db6e7bdf9b7721f209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 3 Jan 2025 12:50:47 +0700 Subject: [PATCH] New package: opencore-amr-0.1.6 --- common/shlibs | 2 ++ srcpkgs/opencore-amr-devel | 1 + srcpkgs/opencore-amr/template | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 120000 srcpkgs/opencore-amr-devel create mode 100644 srcpkgs/opencore-amr/template diff --git a/common/shlibs b/common/shlibs index 21bb15e6fe4..c78259b47be 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4543,3 +4543,5 @@ libflashrom.so.1 flashrom-1.4.0_1 libpyside6.so.6.7 libpyside6-6.7.2_1 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 diff --git a/srcpkgs/opencore-amr-devel b/srcpkgs/opencore-amr-devel new file mode 120000 index 00000000000..ebd0ac162c7 --- /dev/null +++ b/srcpkgs/opencore-amr-devel @@ -0,0 +1 @@ +opencore-amr \ No newline at end of file diff --git a/srcpkgs/opencore-amr/template b/srcpkgs/opencore-amr/template new file mode 100644 index 00000000000..3405a19d23c --- /dev/null +++ b/srcpkgs/opencore-amr/template @@ -0,0 +1,23 @@ +# Template file for 'opencore-amr' +pkgname=opencore-amr +version=0.1.6 +revision=1 +build_style=gnu-configure +configure_args="--disable-static" +short_desc="AMRNB/AMRWB Encoder Decoder" +maintainer="Đoàn Trần Công Danh " +license="Apache-2.0" +homepage="https://sourceforge.net/projects/opencore-amr/" +distfiles="${SOURCEFORGE_SITE}/opencore-amr/opencore-amr-${version}.tar.gz" +checksum=483eb4061088e2b34b358e47540b5d495a96cd468e361050fae615b1809dc4a1 + +opencore-amr-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.la" + vmove "usr/lib/*.so" + } +}