aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/moos-ui
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/moos-ui
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/moos-ui')
-rw-r--r--vcpkg/ports/moos-ui/portfile.cmake31
-rw-r--r--vcpkg/ports/moos-ui/vcpkg.json14
2 files changed, 45 insertions, 0 deletions
diff --git a/vcpkg/ports/moos-ui/portfile.cmake b/vcpkg/ports/moos-ui/portfile.cmake
new file mode 100644
index 0000000..6b9e8e1
--- /dev/null
+++ b/vcpkg/ports/moos-ui/portfile.cmake
@@ -0,0 +1,31 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO themoos/ui-moos
+ REF ba7dd1db7db1848acb3e68b9e54d3da9d7014684
+ SHA512 96225216973656a9029d4e8ac8a8b69df15db5c160bcbd02755cd291bfe5817dbde3a6a5f46b71a138ddf4a389c3c702d4d502ade91ad88554042d7b9d75f843
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DBUILD_CONSOLE_TOOLS=ON
+ -DBUILD_GRAPHICAL_TOOLS=OFF #${BUILD_GRAPHICAL_TOOLS}
+)
+
+vcpkg_cmake_install()
+
+file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/MOOS")
+if (VCPKG_TARGET_IS_WINDOWS)
+ file(RENAME "${CURRENT_PACKAGES_DIR}/bin/uPoke.exe" "${CURRENT_PACKAGES_DIR}/tools/MOOS/uPoke.exe")
+ file(RENAME "${CURRENT_PACKAGES_DIR}/bin/iRemoteLite.exe" "${CURRENT_PACKAGES_DIR}/tools/MOOS/iRemoteLite.exe")
+else()
+ file(RENAME "${CURRENT_PACKAGES_DIR}/bin/uPoke" "${CURRENT_PACKAGES_DIR}/tools/MOOS/uPoke")
+ file(RENAME "${CURRENT_PACKAGES_DIR}/bin/iRemoteLite" "${CURRENT_PACKAGES_DIR}/tools/MOOS/iRemoteLite")
+endif()
+vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/MOOS")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug")
+
+file(WRITE "${CURRENT_PACKAGES_DIR}/include/fake_header_ui.h" "// fake header to pass vcpkg post install check \n")
+file(WRITE "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" "see moos-core for copyright\n" )
diff --git a/vcpkg/ports/moos-ui/vcpkg.json b/vcpkg/ports/moos-ui/vcpkg.json
new file mode 100644
index 0000000..a625ef3
--- /dev/null
+++ b/vcpkg/ports/moos-ui/vcpkg.json
@@ -0,0 +1,14 @@
+{
+ "name": "moos-ui",
+ "version": "10.0.1",
+ "port-version": 5,
+ "description": "set of user interface tools to use and leverage the MOOS project.",
+ "homepage": "https://sites.google.com/site/moossoftware/",
+ "dependencies": [
+ "moos-core",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ }
+ ]
+}