diff options
Diffstat (limited to 'vcpkg/ports/libnice-gst/skip_libnice.patch')
| -rw-r--r-- | vcpkg/ports/libnice-gst/skip_libnice.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/vcpkg/ports/libnice-gst/skip_libnice.patch b/vcpkg/ports/libnice-gst/skip_libnice.patch new file mode 100644 index 0000000..19e9177 --- /dev/null +++ b/vcpkg/ports/libnice-gst/skip_libnice.patch @@ -0,0 +1,29 @@ +diff --git a/meson.build b/meson.build +index badce49..5641673 100644 +--- a/meson.build ++++ b/meson.build +@@ -283,7 +283,10 @@ libm = cc.find_library('m', required: false) + + nice_incs = include_directories('.', 'agent', 'random', 'socket', 'stun') + +-nice_deps = gio_deps + [gthread_dep, crypto_dep, gupnp_igd_dep] + syslibs ++# libnice dependency using pkg-config ++pkg = import('pkgconfig') ++libnice_dep = dependency('nice', version: '>=0.1.18', method: 'pkg-config', required: true) ++cdata.set('HAVE_LIBNICE', libnice_dep.found(), description: 'Use the libnice library') + + ignored_iface_prefix = get_option('ignored-network-interface-prefix') + if ignored_iface_prefix != [] +@@ -296,12 +299,6 @@ endif + + gir = find_program('g-ir-scanner', required : get_option('introspection')) + +-subdir('agent') +-subdir('stun') +-subdir('socket') +-subdir('random') +-subdir('nice') +- + if gst_dep.found() + subdir('gst') + endif |