early-access version 2853
This commit is contained in:
40
externals/vcpkg/ports/libnice/portfile.cmake
vendored
Executable file
40
externals/vcpkg/ports/libnice/portfile.cmake
vendored
Executable file
@@ -0,0 +1,40 @@
|
||||
vcpkg_from_gitlab(
|
||||
GITLAB_URL https://gitlab.freedesktop.org
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO libnice/libnice
|
||||
REF 55b71d47f2b427b3baa8812818ed3f059acc748d # 0.1.18
|
||||
SHA512 78575c487d74734d2dff1c04103fd55c76cf5e78edde03ffd68050348881a3efc985513cfd30553bfce0568c8edfcd61be7dea8991731efc749ee4fee2f503d6
|
||||
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_NATIVE_BINARIES glib-genmarshal='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-genmarshal'
|
||||
glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'
|
||||
ADDITIONAL_CROSS_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()
|
||||
|
||||
file(COPY "${SOURCE_PATH}/COPYING.LGPL" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(COPY "${SOURCE_PATH}/COPYING.MPL" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
16
externals/vcpkg/ports/libnice/vcpkg.json
vendored
Executable file
16
externals/vcpkg/ports/libnice/vcpkg.json
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "libnice",
|
||||
"version": "0.1.18",
|
||||
"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",
|
||||
"dependencies": [
|
||||
"glib",
|
||||
{
|
||||
"name": "glib",
|
||||
"host": true,
|
||||
"default-features": false
|
||||
},
|
||||
"openssl"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user