aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorautoantwort <41973254+autoantwort@users.noreply.github.com>2021-09-04 02:03:15 +0200
committerGitHub <noreply@github.com>2021-09-03 17:03:15 -0700
commit3506a45eabcb63f9f65e96fc2debc290e72de4d6 (patch)
treeb672d146908b5f292d6d6349818bac8822b25b4d
parent38d6712d5644ede4ff597e889549f5d540dcf8ff (diff)
downloadvcpkg-3506a45eabcb63f9f65e96fc2debc290e72de4d6.tar.gz
vcpkg-3506a45eabcb63f9f65e96fc2debc290e72de4d6.zip
[simdutf] add new port (#19742)
-rw-r--r--ports/simdutf/portfile.cmake18
-rw-r--r--ports/simdutf/vcpkg.json16
-rw-r--r--versions/baseline.json4
-rw-r--r--versions/s-/simdutf.json9
4 files changed, 47 insertions, 0 deletions
diff --git a/ports/simdutf/portfile.cmake b/ports/simdutf/portfile.cmake
new file mode 100644
index 000000000..c9e6bead8
--- /dev/null
+++ b/ports/simdutf/portfile.cmake
@@ -0,0 +1,18 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO simdutf/simdutf
+ REF v1.0.0
+ SHA512 3ab09aa61cb9765bf1a77de59c5b823ee58ae5e4badfd5dd70e511fd4f378f8d3917a5b577e7f275720b975740344968132ce0b3f628452bde67f2ab6cc82337
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(INSTALL "${SOURCE_PATH}/LICENSE-APACHE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/simdutf/vcpkg.json b/ports/simdutf/vcpkg.json
new file mode 100644
index 000000000..67f03f8e2
--- /dev/null
+++ b/ports/simdutf/vcpkg.json
@@ -0,0 +1,16 @@
+{
+ "name": "simdutf",
+ "version-semver": "1.0.0",
+ "description": "Unicode validation and transcoding at billions of characters per second",
+ "homepage": "https://github.com/simdutf/simdutf",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index 7dbea8563..9d2292938 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5924,6 +5924,10 @@
"baseline": "0.9.7",
"port-version": 0
},
+ "simdutf": {
+ "baseline": "1.0.0",
+ "port-version": 0
+ },
"simple-fft": {
"baseline": "2020-06-14",
"port-version": 0
diff --git a/versions/s-/simdutf.json b/versions/s-/simdutf.json
new file mode 100644
index 000000000..628e03575
--- /dev/null
+++ b/versions/s-/simdutf.json
@@ -0,0 +1,9 @@
+{
+ "versions": [
+ {
+ "git-tree": "86279d4e90015257171464027e3658544c748342",
+ "version-semver": "1.0.0",
+ "port-version": 0
+ }
+ ]
+}