From 76ab38bbd94001701d678643bf3a4d1cc43d7ca4 Mon Sep 17 00:00:00 2001 From: YiChih Wang Date: Tue, 30 Mar 2021 01:08:29 +0800 Subject: [iir1] Add new port (#16436) * [iir1] Add new port * [iir1] Update portfile.cmake Note: - Replace vcpkg_download_distfile() with vcpkg_from_github() function * [iir1] Update vcpkg.json Note: - Modify manifest property of package version * [iir1] Precede four space before each parameter in the vcpkg_from_github() * [iir1] Update iir1.json * Update ports/iir1/portfile.cmake Co-authored-by: Robert Schumacher Co-authored-by: YiChih Wang Co-authored-by: Robert Schumacher --- ports/iir1/portfile.cmake | 25 +++++++++++++++++++++++++ ports/iir1/vcpkg.json | 8 ++++++++ versions/baseline.json | 4 ++++ versions/i-/iir1.json | 9 +++++++++ 4 files changed, 46 insertions(+) create mode 100644 ports/iir1/portfile.cmake create mode 100644 ports/iir1/vcpkg.json create mode 100644 versions/i-/iir1.json diff --git a/ports/iir1/portfile.cmake b/ports/iir1/portfile.cmake new file mode 100644 index 000000000..3babc1b2e --- /dev/null +++ b/ports/iir1/portfile.cmake @@ -0,0 +1,25 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO berndporr/iir1 + REF 67591c8eac591c576b9aabe9a2f288296bb263f0 #1.8.0 + SHA512 7bea56bd3a5251656834f43ea55e1a8bff48ed2b5576ea9d7bc058e371457b7a3e8fe26111ec9457d4aa9e397f3267d330c5353aea00810a5cc4d9bec2bdcc72 + HEAD_REF master +) + +vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH} + PREFER_NINJA +) + +vcpkg_install_cmake() + +vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake) + +vcpkg_copy_pdbs() + +file(INSTALL ${SOURCE_PATH}/COPYING + DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} + RENAME copyright +) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") diff --git a/ports/iir1/vcpkg.json b/ports/iir1/vcpkg.json new file mode 100644 index 000000000..c99eb9018 --- /dev/null +++ b/ports/iir1/vcpkg.json @@ -0,0 +1,8 @@ +{ + "name": "iir1", + "version": "1.8.0", + "description": "Realtime C++ filter library", + "homepage": "https://github.com/berndporr/iir1", + "license": "MIT", + "supports": "!uwp & !osx" +} diff --git a/versions/baseline.json b/versions/baseline.json index 741cca782..372e47673 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2547,6 +2547,10 @@ "ignition-transport9": { "baseline": "9.0.0", "port-version": 0 + }, + "iir1": { + "baseline": "1.8.0", + "port-version": 0 }, "ijg-libjpeg": { "baseline": "9d", diff --git a/versions/i-/iir1.json b/versions/i-/iir1.json new file mode 100644 index 000000000..a6a963b45 --- /dev/null +++ b/versions/i-/iir1.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "e41ac2805b2adb0c3e32eba808d75284e8f8c376", + "version": "1.8.0", + "port-version": 0 + } + ] +} -- cgit v1.2.3