New package: bcmatroska2-5.2.1

This commit is contained in:
John 2023-01-06 19:37:12 +01:00 committed by John Zimmermann
parent caf63c5ce4
commit 0959b7316b
5 changed files with 47 additions and 0 deletions

View File

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

1
srcpkgs/bcmatroska2-devel Symbolic link
View File

@ -0,0 +1 @@
bcmatroska2/

View File

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

View File

@ -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 <me@johnnynator.dev>"
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"
}
}

View File

@ -0,0 +1 @@
site=https://gitlab.linphone.org/BC/public/bcmatroska2/-/tags