diff options
| author | YiChih Wang <andywang0607.05g@g2.nctu.edu.tw> | 2021-03-30 01:08:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-29 10:08:29 -0700 |
| commit | 76ab38bbd94001701d678643bf3a4d1cc43d7ca4 (patch) | |
| tree | 18acc6dea1179b742305c8273488be50779ae9ab | |
| parent | 286fa50cbdc2854e4a6c626e811cbb701833765d (diff) | |
| download | vcpkg-76ab38bbd94001701d678643bf3a4d1cc43d7ca4.tar.gz vcpkg-76ab38bbd94001701d678643bf3a4d1cc43d7ca4.zip | |
[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 <roschuma@microsoft.com>
Co-authored-by: YiChih Wang <andywang0607@gmail.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
| -rw-r--r-- | ports/iir1/portfile.cmake | 25 | ||||
| -rw-r--r-- | ports/iir1/vcpkg.json | 8 | ||||
| -rw-r--r-- | versions/baseline.json | 4 | ||||
| -rw-r--r-- | versions/i-/iir1.json | 9 |
4 files changed, 46 insertions, 0 deletions
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 @@ -2548,6 +2548,10 @@ "baseline": "9.0.0", "port-version": 0 }, + "iir1": { + "baseline": "1.8.0", + "port-version": 0 + }, "ijg-libjpeg": { "baseline": "9d", "port-version": 0 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 + } + ] +} |
