diff --git a/ports/libnice/portfile.cmake b/ports/libnice/portfile.cmake index 1f859664780..58ed00f0589 100644 --- a/ports/libnice/portfile.cmake +++ b/ports/libnice/portfile.cmake @@ -8,7 +8,7 @@ vcpkg_from_gitlab( ) vcpkg_configure_meson( - SOURCE_PATH ${SOURCE_PATH} + 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)' @@ -35,6 +35,9 @@ 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) +vcpkg_install_copyright( + FILE_LIST + "${SOURCE_PATH}/COPYING" + "${SOURCE_PATH}/COPYING.LGPL" + "${SOURCE_PATH}/COPYING.MPL" +) diff --git a/ports/libnice/vcpkg.json b/ports/libnice/vcpkg.json index 59acb444cd5..4a278f10d10 100644 --- a/ports/libnice/vcpkg.json +++ b/ports/libnice/vcpkg.json @@ -1,9 +1,10 @@ { "name": "libnice", "version": "0.1.18", + "port-version": 1, "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", + "license": "LGPL-2.1-only AND MPL-1.1", "dependencies": [ "glib", { diff --git a/versions/baseline.json b/versions/baseline.json index e4d4305aade..8b2bbcea072 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3906,7 +3906,7 @@ }, "libnice": { "baseline": "0.1.18", - "port-version": 0 + "port-version": 1 }, "libnoise": { "baseline": "1.0.0", diff --git a/versions/l-/libnice.json b/versions/l-/libnice.json index 199e05f6700..8e64beb7f8a 100644 --- a/versions/l-/libnice.json +++ b/versions/l-/libnice.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "e15c3356146049f0dffd9aef46786677bb4b007e", + "version": "0.1.18", + "port-version": 1 + }, { "git-tree": "0317c7f34e075c4ebad894b0a6fffed8657f93e5", "version": "0.1.18",