aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libxcvt
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libxcvt
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libxcvt')
-rw-r--r--vcpkg/ports/libxcvt/portfile.cmake18
-rw-r--r--vcpkg/ports/libxcvt/vcpkg.json15
2 files changed, 33 insertions, 0 deletions
diff --git a/vcpkg/ports/libxcvt/portfile.cmake b/vcpkg/ports/libxcvt/portfile.cmake
new file mode 100644
index 0000000..b8c7273
--- /dev/null
+++ b/vcpkg/ports/libxcvt/portfile.cmake
@@ -0,0 +1,18 @@
+vcpkg_from_gitlab(
+ GITLAB_URL https://gitlab.freedesktop.org/xorg
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO lib/libxcvt
+ REF db5ff12110994dc9010d44f981399e796917a845
+ SHA512 a69c4d163ab7a5f71dd4940e9b1f7ac2c5b5f282cbe9e1af26dcb677d061ff5187aa17f9acf9f913d3b05afac44f44b962ca4290ad2f5ae7f104ec870d8b515f
+ HEAD_REF master
+)
+vcpkg_configure_meson(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+vcpkg_install_meson()
+vcpkg_fixup_pkgconfig()
+vcpkg_copy_tools(TOOL_NAMES cvt AUTO_CLEAN)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+
+file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/libxcvt/vcpkg.json b/vcpkg/ports/libxcvt/vcpkg.json
new file mode 100644
index 0000000..bc7bcd5
--- /dev/null
+++ b/vcpkg/ports/libxcvt/vcpkg.json
@@ -0,0 +1,15 @@
+{
+ "name": "libxcvt",
+ "version": "0.1.2",
+ "port-version": 1,
+ "description": "A library providing a standalone version of the X server implementation of the VESA CVT standard timing modelines generator.",
+ "homepage": "https://gitlab.freedesktop.org/xorg/lib/libxcvt",
+ "license": null,
+ "supports": "!windows",
+ "dependencies": [
+ {
+ "name": "vcpkg-tool-meson",
+ "host": true
+ }
+ ]
+}