summaryrefslogtreecommitdiff
path: root/recipes/orc.recipe
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2023-02-03 17:58:47 +0530
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2023-02-22 17:03:32 +0000
commit7c97b5c06c413d18d63d64ef49f4fb45e8f71f28 (patch)
treec8dbcc068bd896e6185bae8d00c51cfa4e57dce2 /recipes/orc.recipe
parentd8a4b6b08b6f604c4932db8a97fa0f28778bd81c (diff)
macos: Fix broken binaries on macos < 11.0
orc was unconditionally using a symbol that is only available on macOS 11.0 and newer. Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/408 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1108>
Diffstat (limited to 'recipes/orc.recipe')
-rw-r--r--recipes/orc.recipe5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes/orc.recipe b/recipes/orc.recipe
index c61e9a05..213b9e8a 100644
--- a/recipes/orc.recipe
+++ b/recipes/orc.recipe
@@ -13,6 +13,9 @@ class Recipe(recipe.Recipe):
remotes = {'origin': 'https://gitlab.freedesktop.org/gstreamer/orc.git'}
commit = 'origin/main'
+ # https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/87
+ patches = ['orc/0001-Fix-usage-of-pthread_jit_write_protect_np-on-macOS-a.patch']
+
btype = BuildType.MESON
licenses = [{License.BSD_like: ['COPYING']}]
meson_options = {'benchmarks': 'disabled', 'tests': 'disabled',
@@ -22,8 +25,6 @@ class Recipe(recipe.Recipe):
files_devel = ['include/orc-0.4', 'lib/pkgconfig/orc-0.4.pc',
'share/aclocal/orc.m4', 'bin/orcc%(bext)s']
- patches = []
-
def prepare(self):
# Don't build testing helper library on ios
if self.config.target_platform != Platform.IOS: