aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mediastreamer2
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mediastreamer2')
-rw-r--r--testing/mediastreamer2/APKBUILD2
-rw-r--r--testing/mediastreamer2/fix-bctoolbox-version.patch13
2 files changed, 14 insertions, 1 deletions
diff --git a/testing/mediastreamer2/APKBUILD b/testing/mediastreamer2/APKBUILD
index 126fcf73a3..1b4674684b 100644
--- a/testing/mediastreamer2/APKBUILD
+++ b/testing/mediastreamer2/APKBUILD
@@ -6,7 +6,7 @@ pkgver="2.16.1"
pkgrel=0
pkgdesc="A library written in C that allows you to create and run audio and video streams"
url="https://www.linphone.org/technical-corner/mediastreamer2/overview"
-arch="all"
+arch="" # Fails to find bctoolbox-4.3.0
license="GPL-2.0-or-later"
options="!check" # no test available
makedepends="cmake gettext-dev ffmpeg-dev ortp-dev
diff --git a/testing/mediastreamer2/fix-bctoolbox-version.patch b/testing/mediastreamer2/fix-bctoolbox-version.patch
new file mode 100644
index 0000000000..6ffab13df1
--- /dev/null
+++ b/testing/mediastreamer2/fix-bctoolbox-version.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 98dc9d9..861a4f8 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -346,7 +346,7 @@ if(LINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS)
+ set(BcToolbox_FIND_COMPONENTS tester)
+ include("${EP_bctoolbox_CONFIG_DIR}/BcToolboxConfig.cmake")
+ else()
+- find_package(BcToolbox 0.0.3 REQUIRED OPTIONAL_COMPONENTS tester)
++ find_package(BcToolbox 4.3.0 REQUIRED OPTIONAL_COMPONENTS tester)
+ endif()
+
+ include_directories(