[libmicrodns] Add new port (#25660)

* [libmicrodns] Add new port

* [libmicrodns] Add version
This commit is contained in:
Cedric GNIEWEK 2022-07-13 22:48:45 +02:00 committed by GitHub
parent 9402f6f765
commit 343319653a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,16 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO videolabs/libmicrodns
REF 0.2.0
SHA512 6389ad9edaf1af7c831e8c05e4800964b13cf0eed2063fa3675e7b87c49428ae7b68ac4ed1e742ed5d46ea3ded190e3de076e73ebf167422505257d7b1a03e25
HEAD_REF master
)
vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_install_meson()
vcpkg_copy_pdbs()
vcpkg_fixup_pkgconfig()
configure_file("${SOURCE_PATH}/COPYING" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)

View File

@ -0,0 +1,13 @@
{
"name": "libmicrodns",
"version": "0.2.0",
"description": "Minimal mDNS resolver (and announcer) library",
"homepage": "https://github.com/videolabs/libmicrodns",
"license": "LGPL-2.1-or-later",
"dependencies": [
{
"name": "vcpkg-tool-meson",
"host": true
}
]
}

View File

@ -452,6 +452,9 @@ libmesh:x64-windows-static-md=skip
libmesh:x86-windows=skip
libmesh:x64-osx=skip
libmesh:x64-linux=skip
# Build fails since PIC is not enabled and some configuration tests do not work properly on UWP
libmicrodns:arm-uwp=fail
libmicrodns:x64-uwp=fail
libmikmod:x64-osx=fail
libmodman:arm-uwp=fail
libmodman:x64-uwp=fail

View File

@ -3812,6 +3812,10 @@
"baseline": "1.5.0",
"port-version": 4
},
"libmicrodns": {
"baseline": "0.2.0",
"port-version": 0
},
"libmicrohttpd": {
"baseline": "0.9.75",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "479151454954c9fe2e5ddce7f1b358f3c8688ce8",
"version": "0.2.0",
"port-version": 0
}
]
}