[Build][Configure] orc always need clone repo
I check with build log find even pkg-config
can query for the orc-0.4
it still need clone orc repo
so it will cause each round build gstreamer from clean source, it always download the repo of it
I modify this line: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/meson.build#L123
-orc_subproject = subproject('orc', required: get_option('orc'))
+if get_option('orc').enabled()
+ orc_subproject = dependency('orc-0.4', method : 'pkg-config')
+else
+ orc_subproject = subproject('orc', required: get_option('orc'))
+endif
to let meson detect orc
from system without clone repo
Maybe someone can provide the better patch for fix this behavior, because I'm newbie for the meson