aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTake Vos <info@takevos.nl>2021-03-19 18:05:01 +0100
committerGitHub <noreply@github.com>2021-03-19 10:05:01 -0700
commita3c09743dcd4a926c57ba0013c1b967014a71682 (patch)
tree975df1c77ed6023a431778126e02356aebb7da09
parenta47284e8f8655c8d0a1a923a55ae10974a4e6ac4 (diff)
downloadvcpkg-a3c09743dcd4a926c57ba0013c1b967014a71682.tar.gz
vcpkg-a3c09743dcd4a926c57ba0013c1b967014a71682.zip
[ttauri] Add new port (#16749)
* Port for ttauri * ttauri version.json * ONLY_STATIC_LIBRARY Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Miss spelling and turn off doxygen. Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Update version * Change destination to * Update version * Update ports/ttauri/vcpkg.json Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Update version Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
-rw-r--r--ports/ttauri/portfile.cmake28
-rw-r--r--ports/ttauri/vcpkg.json15
-rw-r--r--versions/baseline.json4
-rw-r--r--versions/t-/ttauri.json9
4 files changed, 56 insertions, 0 deletions
diff --git a/ports/ttauri/portfile.cmake b/ports/ttauri/portfile.cmake
new file mode 100644
index 000000000..1c875eaea
--- /dev/null
+++ b/ports/ttauri/portfile.cmake
@@ -0,0 +1,28 @@
+vcpkg_fail_port_install(ON_ARCH "x86" "arm" "arm64")
+vcpkg_fail_port_install(ON_TARGET "linux" "uwp" "osx")
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO ttauri-project/ttauri
+ REF v0.3.0
+ SHA512 8e01ea28516063902483da3fae1ecf8524d47803b3809c289ce6bba39fd47e6ba20d8882f2cfce9a0f7101b917f51659592dfe38f0353f91977e6db7f94e0400
+ HEAD_REF main
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+ OPTIONS
+ -DTT_BUILD_TESTS=OFF
+ -DTT_BUILD_EXAMPLES=OFF
+ -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
+)
+
+vcpkg_install_cmake()
+vcpkg_fixup_cmake_targets()
+vcpkg_copy_pdbs()
+
+file(INSTALL ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
diff --git a/ports/ttauri/vcpkg.json b/ports/ttauri/vcpkg.json
new file mode 100644
index 000000000..192d05441
--- /dev/null
+++ b/ports/ttauri/vcpkg.json
@@ -0,0 +1,15 @@
+{
+ "name": "ttauri",
+ "version": "0.3.0",
+ "maintainers": "@takev",
+ "description": "A portable, low latency, retained-mode GUI library written in C++.",
+ "homepage": "https://github.com/ttauri-project/ttauri",
+ "license": "BSL-1.0",
+ "supports": "windows & x64",
+ "dependencies": [
+ "date",
+ "fmt",
+ "vulkan",
+ "vulkan-memory-allocator"
+ ]
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index c6edcf5f3..6fd5e403f 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -6000,6 +6000,10 @@
"baseline": "0.6.2",
"port-version": 0
},
+ "ttauri": {
+ "baseline": "0.3.0",
+ "port-version": 0
+ },
"turbobase64": {
"baseline": "2020-01-12",
"port-version": 0
diff --git a/versions/t-/ttauri.json b/versions/t-/ttauri.json
new file mode 100644
index 000000000..409b4dff1
--- /dev/null
+++ b/versions/t-/ttauri.json
@@ -0,0 +1,9 @@
+{
+ "versions": [
+ {
+ "git-tree": "053cdf5774b35c81572b9a2f398d8074e91d764f",
+ "version": "0.3.0",
+ "port-version": 0
+ }
+ ]
+}