bcmatroska2: update to 5.3.69.

This commit is contained in:
John 2024-07-01 23:04:06 +02:00 committed by John Zimmermann
parent 0848a91a72
commit 5e9466fee6
3 changed files with 15 additions and 25 deletions

View File

@ -0,0 +1,11 @@
--- a/CMakeLists.txt 2024-03-11 10:09:13.000000000 +0100
+++ - 2024-07-03 17:00:23.355534969 +0200
@@ -83,7 +83,7 @@
add_subdirectory(build)
include(CMakePackageConfigHelpers)
-set(CMAKE_MODULES_INSTALL_DIR "${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/cmake")
+set(CMAKE_MODULES_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}/")
configure_package_config_file("${PROJECT_NAME}Config.cmake.in" "${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
INSTALL_DESTINATION "${CMAKE_MODULES_INSTALL_DIR}"
NO_SET_AND_CHECK_MACRO

View File

@ -1,21 +0,0 @@
--- 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

@ -1,23 +1,23 @@
# Template file for 'bcmatroska2'
pkgname=bcmatroska2
version=5.2.1
version=5.3.69
revision=1
build_style=cmake
configure_args="-DENABLE_STATIC=OFF"
configure_args="-DBUILD_SHARED_LIBS=TRUE"
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
checksum=89231f21841d7087c58619103d04d1fa32836d88571e3724e68c3488b0dc7aa8
bcmatroska2-devel_package() {
depends="bcmatroska2-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/bcmatroska2/cmake
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}