diff options
Diffstat (limited to 'vcpkg/ports/libnice')
| -rw-r--r-- | vcpkg/ports/libnice/portfile.cmake | 41 | ||||
| -rw-r--r-- | vcpkg/ports/libnice/vcpkg.json | 21 |
2 files changed, 62 insertions, 0 deletions
diff --git a/vcpkg/ports/libnice/portfile.cmake b/vcpkg/ports/libnice/portfile.cmake new file mode 100644 index 0000000..9d8373f --- /dev/null +++ b/vcpkg/ports/libnice/portfile.cmake @@ -0,0 +1,41 @@ +vcpkg_from_gitlab( + GITLAB_URL https://gitlab.freedesktop.org + OUT_SOURCE_PATH SOURCE_PATH + REPO libnice/libnice + REF 0.1.22 + SHA512 545c759a827e039d0aed262a4ec31b17610f7e67d93389c939763ed3d99530a4a6c3d13864ff05a2011fb3c3847ce3380a988e554de0f92b1348ebb76f5e3da4 + HEAD_REF master +) + +vcpkg_configure_meson( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -Dgtk_doc=disabled #Enable generating the API reference (depends on GTK-Doc) + -Dintrospection=disabled #Enable GObject Introspection (depends on GObject)' + -Dtests=disabled + -Dexamples=disabled + -Dgstreamer=disabled + -Dcrypto-library=openssl + ADDITIONAL_BINARIES glib-genmarshal='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-genmarshal' + glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums' +) + +# Could be features: +# option('gupnp', type: 'feature', value: 'auto', + # description: 'Enable or disable GUPnP IGD support') +# option('ignored-network-interface-prefix', type: 'array', value: ['docker', 'veth', 'virbr', 'vnet'], + # description: 'Ignore network interfaces whose name starts with a string from this list in the ICE connection check algorithm. For example, "virbr" to ignore virtual bridge interfaces added by virtd, which do not help in finding connectivity.') +# option('crypto-library', type: 'combo', choices : ['auto', 'gnutls', 'openssl'], value : 'auto') + +vcpkg_install_meson() + +vcpkg_copy_pdbs() +vcpkg_copy_tools(TOOL_NAMES stunbdc stund AUTO_CLEAN) +vcpkg_fixup_pkgconfig() + +vcpkg_install_copyright( + FILE_LIST + "${SOURCE_PATH}/COPYING" + "${SOURCE_PATH}/COPYING.LGPL" + "${SOURCE_PATH}/COPYING.MPL" +) diff --git a/vcpkg/ports/libnice/vcpkg.json b/vcpkg/ports/libnice/vcpkg.json new file mode 100644 index 0000000..d8503df --- /dev/null +++ b/vcpkg/ports/libnice/vcpkg.json @@ -0,0 +1,21 @@ +{ + "name": "libnice", + "version": "0.1.22", + "description": "Libnice is an implementation of the IETF's Interactive Connectivity Establishment (ICE) standard (RFC 5245) and the Session Traversal Utilities for NAT (STUN) standard (RFC 5389).", + "homepage": "https://nice.freedesktop.org", + "license": "LGPL-2.1-only AND MPL-1.1", + "supports": "!xbox", + "dependencies": [ + "glib", + { + "name": "glib", + "host": true, + "default-features": false + }, + "openssl", + { + "name": "vcpkg-tool-meson", + "host": true + } + ] +} |