bctoolbox: update to 4.4.0.
This commit is contained in:
parent
55e916e42d
commit
cdbabcb57c
2 changed files with 26 additions and 5 deletions
19
srcpkgs/bctoolbox/patches/cmake-bcunit-fix.patch
Normal file
19
srcpkgs/bctoolbox/patches/cmake-bcunit-fix.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
diff --git CMakeLists.txt CMakeLists.txt
|
||||
index 6828b3f..b41262f 100644
|
||||
--- CMakeLists.txt
|
||||
+++ CMakeLists.txt
|
||||
@@ -106,14 +106,9 @@ if(POLARSSL_FOUND)
|
||||
endif()
|
||||
|
||||
if(ENABLE_TESTS_COMPONENT)
|
||||
- find_package(BcUnit CONFIG REQUIRED)
|
||||
- cmake_push_check_state(RESET)
|
||||
- list(APPEND CMAKE_REQUIRED_INCLUDES ${BCUNIT_INCLUDE_DIRS})
|
||||
- list(APPEND CMAKE_REQUIRED_LIBRARIES ${BCUNIT_LIBRARIES})
|
||||
check_symbol_exists("CU_get_suite" "BCUnit/BCUnit.h" HAVE_CU_GET_SUITE)
|
||||
check_symbol_exists("CU_curses_run_tests" "BCUnit/BCUnit.h" HAVE_CU_CURSES)
|
||||
check_symbol_exists("CU_set_trace_handler" "BCUnit/Util.h" HAVE_CU_SET_TRACE_HANDLER)
|
||||
- cmake_pop_check_state()
|
||||
set(TESTER_REQUIRES_PRIVATE "bcunit")
|
||||
endif()
|
||||
|
|
@ -1,16 +1,17 @@
|
|||
# Template file for 'bctoolbox'
|
||||
pkgname=bctoolbox
|
||||
version=4.3.1
|
||||
version=4.4.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DENABLE_TESTS=OFF -DENABLE_TESTS_COMPONENT=OFF"
|
||||
configure_args="-DENABLE_TESTS=ON -DENABLE_TESTS_COMPONENT=OFF
|
||||
-DCMAKE_MODULE_PATH=/usr/lib/cmake"
|
||||
makedepends="bcunit-devel mbedtls-devel"
|
||||
short_desc="Library to create and run audio and video streams"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://github.com/BelledonneCommunications/bctoolbox"
|
||||
distfiles="https://github.com/BelledonneCommunications/bctoolbox/archive/${version}.tar.gz"
|
||||
checksum=d8501e3793c10abbf913759d7a0e5f6eb3140af6bacf5e2bdcd532049bde69c0
|
||||
homepage="https://gitlab.linphone.org/BC/public/bctoolbox"
|
||||
distfiles="https://gitlab.linphone.org/BC/public/bctoolbox/-/archive/${version}/bctoolbox-${version}.tar.gz"
|
||||
checksum=fe64efb05de1bbd207e4abe5560ea44f5242eaf0911163b3b8fc0bec07488bb5
|
||||
|
||||
bctoolbox-devel_package() {
|
||||
depends="bctoolbox-${version}_${revision}"
|
||||
|
@ -20,5 +21,6 @@ bctoolbox-devel_package() {
|
|||
vmove usr/lib/pkgconfig
|
||||
vmove usr/share/bctoolbox/cmake
|
||||
vmove "usr/lib/*.so"
|
||||
vmove "usr/lib/*.a"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue