Commit c6387edb authored by Francesco Colista's avatar Francesco Colista

main/bctoolbox: upgrade to 4.3.0

parent 9e71eafc
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=bctoolbox
pkgver=0.6.0
pkgrel=3
pkgver=4.3.0
pkgrel=0
pkgdesc="Utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone"
url="https://github.com/BelledonneCommunications/bctoolbox"
arch="all"
......@@ -23,6 +23,7 @@ build() {
-DENABLE_MBEDTLS=YES \
-DENABLE_POLARSSL=NO \
-DENABLE_STATIC=NO \
-DENABLE_TESTS_COMPONENT=OFF \
-DENABLE_SHARED=YES .
make
}
......@@ -45,5 +46,5 @@ dev() {
rmdir "$pkgdir"/usr/share
}
sha512sums="decdd32f2d4d597a7b1717be860b855f6f4a909936f1a957e7a0ac81ac2d8cd5f96bbbc60a2354e62d1cfbf68d4407d76c97687a51c77cc8433e89e26d137edf bctoolbox-0.6.0.tar.gz
43928276f6059566a418b0f6730113a7d8a06f6c27f173930fde0c5236149a3f5d6ff609933559108cad4c172898e63c6ba3d6cd9c404a9557c7fa29eef5a9b1 cmake-bcunit-fix.patch"
sha512sums="bd21b3d3e2143147fb26d3711cb4cb94b65b390f0332c036edf58ab01da3505751c349596bdb1289ab1769c496391804e4f7ded1ba41274491b38e39925eef04 bctoolbox-4.3.0.tar.gz
466d2a7aa33952c8086c698030af0addc79373aa31104cbe6133d352682439ae5c30055ea4f162cc9b6b9fc54bf3dea0ddcff78e0042e7ce43833d82b9487116 cmake-bcunit-fix.patch"
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e14e502..9711ea7 100644
index 6828b3f..b41262f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -98,14 +98,9 @@ if(POLARSSL_FOUND)
@@ -106,14 +106,9 @@ if(POLARSSL_FOUND)
endif()
if(ENABLE_TESTS_COMPONENT)
- find_package(BcUnit REQUIRED)
- cmake_push_check_state(RESET)
- 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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment