mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:19:01 +08:00
[nyan-lang] Add new port nyan-lang (#32250)
* Port v0.1 but it does not compile * Install the latest version * Rename to nyan-lang * Format manifest * x-add-version * Use new functions * Format json * Fix version * Update version and handle tools * Fix version and SHA512 * Fix version * x-add-version * Resolve comments * Declare supported triplets * Format manifest * x-add-version * Add back CMP0074 * x-add-version * Add patch for UWP * x-add-version * Skip UWP builds * x-add-version * Apply review comments * x-add-version
This commit is contained in:
parent
7ec387ac32
commit
73827e6bfa
31
ports/nyan-lang/portfile.cmake
Normal file
31
ports/nyan-lang/portfile.cmake
Normal file
@ -0,0 +1,31 @@
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
||||
|
||||
set(VERSION 0.3)
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO SFTtech/nyan
|
||||
REF "v${VERSION}"
|
||||
SHA512 53411795142aa2dfd197d4e550a9de4f2e68519426a228d7e9fe162e8f113886ae5febbceef8daa643c60a9089ede4b5c8dda9c136617357b58279cc732efba6
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_find_acquire_program(FLEX)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
"-DFLEX_EXECUTABLE=${FLEX}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake)
|
||||
vcpkg_copy_tools(TOOL_NAMES nyancat AUTO_CLEAN)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
vcpkg_install_copyright(
|
||||
FILE_LIST
|
||||
"${SOURCE_PATH}/copying.md"
|
||||
"${SOURCE_PATH}/legal/LGPLv3"
|
||||
"${SOURCE_PATH}/legal/GPLv3"
|
||||
)
|
18
ports/nyan-lang/vcpkg.json
Normal file
18
ports/nyan-lang/vcpkg.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "nyan-lang",
|
||||
"version": "0.3",
|
||||
"description": "nyan is a data description language, It is a mixture of python, json, patch, wml, yaml and some new ideas.",
|
||||
"homepage": "https://github.com/SFTtech/nyan",
|
||||
"license": "LGPL-3.0-or-later",
|
||||
"supports": "!osx & !static & !uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -5836,6 +5836,10 @@
|
||||
"baseline": "2.1.2",
|
||||
"port-version": 8
|
||||
},
|
||||
"nyan-lang": {
|
||||
"baseline": "0.3",
|
||||
"port-version": 0
|
||||
},
|
||||
"oatpp": {
|
||||
"baseline": "1.3.0",
|
||||
"port-version": 1
|
||||
|
9
versions/n-/nyan-lang.json
Normal file
9
versions/n-/nyan-lang.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "63356577d6522c8d99dd8bb9214d9808f7f115b6",
|
||||
"version": "0.3",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user