From 0959b7316b2cbe75af564c3e4890f08d1935e348 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 6 Jan 2023 19:37:12 +0100 Subject: [PATCH] New package: bcmatroska2-5.2.1 --- common/shlibs | 1 + srcpkgs/bcmatroska2-devel | 1 + srcpkgs/bcmatroska2/patches/linking.patch | 21 +++++++++++++++++++++ srcpkgs/bcmatroska2/template | 23 +++++++++++++++++++++++ srcpkgs/bcmatroska2/update | 1 + 5 files changed, 47 insertions(+) create mode 120000 srcpkgs/bcmatroska2-devel create mode 100644 srcpkgs/bcmatroska2/patches/linking.patch create mode 100644 srcpkgs/bcmatroska2/template create mode 100644 srcpkgs/bcmatroska2/update diff --git a/common/shlibs b/common/shlibs index f632ce9c76d..65ff5085079 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3037,6 +3037,7 @@ libbaccats-mysql-9.4.2.so bacula-common-mariadb-9.4.2_4 bpipe-fd.so bacula-fd-9.4.2_4 libnftables.so.1 libnftables-0.9.1_1 libbctoolbox.so.1 bctoolbox-0.6.0_1 +libbcmatroska2.so.0 bcmatroska2-5.2.1_1 libortp.so.15 ortp-4.4.0_1 libsuperlu.so.5 superlu-5.2.1_1 libgosu.so.0 gosu-0.12.0_1 diff --git a/srcpkgs/bcmatroska2-devel b/srcpkgs/bcmatroska2-devel new file mode 120000 index 00000000000..6f37f82bbfe --- /dev/null +++ b/srcpkgs/bcmatroska2-devel @@ -0,0 +1 @@ +bcmatroska2/ \ No newline at end of file diff --git a/srcpkgs/bcmatroska2/patches/linking.patch b/srcpkgs/bcmatroska2/patches/linking.patch new file mode 100644 index 00000000000..41a9076e174 --- /dev/null +++ b/srcpkgs/bcmatroska2/patches/linking.patch @@ -0,0 +1,21 @@ +--- a/corec/corec/CMakeLists.txt 2022-11-29 11:25:07.000000000 +0100 ++++ - 2023-01-06 19:32:45.598386210 +0100 +@@ -52,7 +52,6 @@ + else() + list(APPEND COREC_SOURCES + helpers/date/date_libc.c +- helpers/file/file_libc.c + helpers/file/file_bctbx.c + multithread/multithread_pthread.c + ) +--- a/libmatroska2/CMakeLists.txt 2022-11-29 11:25:07.000000000 +0100 ++++ - 2023-01-06 19:35:18.813490108 +0100 +@@ -26,7 +26,7 @@ + matroska_sem.c + ) + +-set(LIBS ) ++set(LIBS bctoolbox) + if(WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsPhone" AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") + list(APPEND LIBS Winmm) + endif() diff --git a/srcpkgs/bcmatroska2/template b/srcpkgs/bcmatroska2/template new file mode 100644 index 00000000000..a07431d6410 --- /dev/null +++ b/srcpkgs/bcmatroska2/template @@ -0,0 +1,23 @@ +# Template file for 'bcmatroska2' +pkgname=bcmatroska2 +version=5.2.1 +revision=1 +build_style=cmake +configure_args="-DENABLE_STATIC=OFF" +makedepends="bctoolbox-devel" +short_desc="C library for working with matroska files" +maintainer="John " +license="GPL-2.0-only" +homepage="https://gitlab.linphone.org/BC/public/bcmatroska2" +distfiles="https://gitlab.linphone.org/BC/public/bcmatroska2/-/archive/${version}/bcmatroska2-${version}.tar.gz" +checksum=473aa34b66c5b138a882afaa2d16feb042a7df8b71542566d53d80ae745d051a + +bcmatroska2-devel_package() { + depends="bcmatroska2-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/share/bcmatroska2/cmake + vmove "usr/lib/*.so" + } +} diff --git a/srcpkgs/bcmatroska2/update b/srcpkgs/bcmatroska2/update new file mode 100644 index 00000000000..eabd1d83b0e --- /dev/null +++ b/srcpkgs/bcmatroska2/update @@ -0,0 +1 @@ +site=https://gitlab.linphone.org/BC/public/bcmatroska2/-/tags