From 343319653a6bbff8eafd6065b5f20b92218f7dac Mon Sep 17 00:00:00 2001 From: Cedric GNIEWEK Date: Wed, 13 Jul 2022 22:48:45 +0200 Subject: [PATCH] [libmicrodns] Add new port (#25660) * [libmicrodns] Add new port * [libmicrodns] Add version --- ports/libmicrodns/portfile.cmake | 16 ++++++++++++++++ ports/libmicrodns/vcpkg.json | 13 +++++++++++++ scripts/ci.baseline.txt | 3 +++ versions/baseline.json | 4 ++++ versions/l-/libmicrodns.json | 9 +++++++++ 5 files changed, 45 insertions(+) create mode 100644 ports/libmicrodns/portfile.cmake create mode 100644 ports/libmicrodns/vcpkg.json create mode 100644 versions/l-/libmicrodns.json diff --git a/ports/libmicrodns/portfile.cmake b/ports/libmicrodns/portfile.cmake new file mode 100644 index 0000000000..87908a1f93 --- /dev/null +++ b/ports/libmicrodns/portfile.cmake @@ -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) diff --git a/ports/libmicrodns/vcpkg.json b/ports/libmicrodns/vcpkg.json new file mode 100644 index 0000000000..b522539d5c --- /dev/null +++ b/ports/libmicrodns/vcpkg.json @@ -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 + } + ] +} diff --git a/scripts/ci.baseline.txt b/scripts/ci.baseline.txt index fd259f5666..1eee524f68 100644 --- a/scripts/ci.baseline.txt +++ b/scripts/ci.baseline.txt @@ -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 diff --git a/versions/baseline.json b/versions/baseline.json index a7eb59c671..1a741d96d1 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -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 diff --git a/versions/l-/libmicrodns.json b/versions/l-/libmicrodns.json new file mode 100644 index 0000000000..03ec5150c2 --- /dev/null +++ b/versions/l-/libmicrodns.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "479151454954c9fe2e5ddce7f1b358f3c8688ce8", + "version": "0.2.0", + "port-version": 0 + } + ] +}