vcpkg-registry

Registry containing personal projects
git clone git://git.dimitrijedobrota.com/vcpkg-registry.git
Log | Files | Refs |

commit92d1a478bd61c15d488f5ec269b3b64e5bbb618b
parent487d7c36bb87d45fb7f98f5bd6c7dd0bed9b8c08
authorDimitrije Dobrota <mail@dimitrijedobrota.com>
dateSun, 9 Mar 2025 20:53:25 +0100

Add Stamen library

Diffstat:
Aports/stamen/portfile.cmake|+++++++++++++++++++++++++++++
Aports/stamen/vcpkg.json|+++++++++++++++++
Mversions/baseline.json|++++
Aversions/s-/stamen.json|+++++++++

4 files changed, 59 insertions(+), 0 deletions(-)


diff --git a/ports/stamen/portfile.cmake b/ports/stamen/portfile.cmake

@@ -0,0 +1,29 @@

vcpkg_from_git(
OUT_SOURCE_PATH SOURCE_PATH
URL git://git.dimitrijedobrota.com/stamen.git
REF 5694a5e39b554a1c6ba15846ea1f47d8f42f8a9b
HEAD_REF master
)
set(name stamen)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
"-D${name}_INSTALL_CMAKEDIR=share/${name}"
OPTIONS_DEBUG
"-D${name}_INSTALL_HEADERS=OFF"
)
# set(VCPKG_BUILD_TYPE release) # header-only
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME "${name}")
vcpkg_copy_pdbs()
configure_file(
"${SOURCE_PATH}/LICENSE.md"
"${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright"
COPYONLY
)

diff --git a/ports/stamen/vcpkg.json b/ports/stamen/vcpkg.json

@@ -0,0 +1,17 @@

{
"name": "stamen",
"version": "1.3.0",
"description": "Static menu generator",
"homepage": "https://git.dimitrijedobrota.com/stamen.git",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

diff --git a/versions/baseline.json b/versions/baseline.json

@@ -7,6 +7,10 @@

"poafloc": {
"baseline": "1.2.0",
"port-version": 0
},
"stamen": {
"baseline": "1.3.0",
"port-version": 0
}
}
}

diff --git a/versions/s-/stamen.json b/versions/s-/stamen.json

@@ -0,0 +1,9 @@

{
"versions": [
{
"git-tree": "0100f0e53561e28d871fea72dee21f21255ce8a0",
"version": "1.3.0",
"port-version": 0
}
]
}