Skip to content

Commit

Permalink
[libmicrodns] Add new port (#25660)
Browse files Browse the repository at this point in the history
* [libmicrodns] Add new port

* [libmicrodns] Add version
  • Loading branch information
Sharpe49 committed Jul 13, 2022
1 parent 9402f6f commit 3433196
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ports/libmicrodns/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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)
13 changes: 13 additions & 0 deletions ports/libmicrodns/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
3 changes: 3 additions & 0 deletions scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions versions/l-/libmicrodns.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "479151454954c9fe2e5ddce7f1b358f3c8688ce8",
"version": "0.2.0",
"port-version": 0
}
]
}

0 comments on commit 3433196

Please sign in to comment.