aboutsummaryrefslogtreecommitdiff
path: root/libs/vcpkg-registry/ports/mo2-uibase
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-11 02:37:39 -0600
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-11 02:37:39 -0600
commit7ee008e150bc5bcf76082d726f719ee0fdfda982 (patch)
tree27fb39be241fdb5ac2734c574de678977d1856d0 /libs/vcpkg-registry/ports/mo2-uibase
Fluorine Manager: full Linux port of Mod Organizer 2
Complete native Linux port with FUSE-based virtual filesystem, Proton/umu-run integration, and Flatpak packaging. Key features: - FUSE VFS replacing Windows USVFS (in-process + standalone helper for Flatpak) - Proton/GE-Proton/umu-run launcher with env var forwarding - Flatpak support (sandbox-aware VFS, NXM handler, umu-run) - Wine prefix management UI - Case-insensitive path resolution for Linux filesystems - QSettings-safe INI handling (avoids Bethesda INI corruption) - Portable instance support with auto-generated launcher scripts Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/vcpkg-registry/ports/mo2-uibase')
-rw-r--r--libs/vcpkg-registry/ports/mo2-uibase/portfile.cmake47
-rw-r--r--libs/vcpkg-registry/ports/mo2-uibase/vcpkg.json14
2 files changed, 61 insertions, 0 deletions
diff --git a/libs/vcpkg-registry/ports/mo2-uibase/portfile.cmake b/libs/vcpkg-registry/ports/mo2-uibase/portfile.cmake
new file mode 100644
index 0000000..0cb1632
--- /dev/null
+++ b/libs/vcpkg-registry/ports/mo2-uibase/portfile.cmake
@@ -0,0 +1,47 @@
+# uibase is prebuilt and is always dynamic, but MO2 uses a static triplets (for Boost,
+# lz4, etc.) so we disable that warning
+set(VCPKG_POLICY_DLLS_IN_STATIC_LIBRARY enabled)
+
+# TODO: add a copyright file to uibase and install it
+set(VCPKG_POLICY_SKIP_COPYRIGHT_CHECK enabled)
+
+vcpkg_download_distfile(ARCHIVE
+ URLS "https://github.com/ModOrganizer2/modorganizer-uibase/releases/download/v${VERSION}/uibase_v${VERSION}.7z"
+ FILENAME "uibase_${VERSION}.7z"
+ SHA512 035C4E4A13594C3F25572E413E83125EA72853D37303C9F937C4D28636F50660E2BB2FCD55BFAAD5A927C4AC2B480D4D04318FB34238808EB1CD7DAEBAE74624
+)
+
+vcpkg_extract_source_archive(
+ SOURCE_PATH
+ ARCHIVE ${ARCHIVE}
+ NO_REMOVE_ONE_LEVEL
+)
+
+file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR})
+
+file(INSTALL
+ ${SOURCE_PATH}/bin/uibase.dll
+ ${SOURCE_PATH}/pdb/uibase.pdb
+DESTINATION
+ ${CURRENT_PACKAGES_DIR}/bin
+)
+file(INSTALL
+ ${SOURCE_PATH}/lib/uibase.lib
+ ${SOURCE_PATH}/lib/cmake
+DESTINATION
+ ${CURRENT_PACKAGES_DIR}/lib
+)
+
+file(INSTALL
+ ${SOURCE_PATH}/bin/uibased.dll
+ ${SOURCE_PATH}/pdb/uibased.pdb
+DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin)
+file(INSTALL
+ ${SOURCE_PATH}/lib/uibased.lib
+ ${SOURCE_PATH}/lib/cmake
+DESTINATION
+ ${CURRENT_PACKAGES_DIR}/debug/lib
+)
+
+vcpkg_cmake_config_fixup(PACKAGE_NAME "mo2-uibase" CONFIG_PATH "lib/cmake/mo2-uibase")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
diff --git a/libs/vcpkg-registry/ports/mo2-uibase/vcpkg.json b/libs/vcpkg-registry/ports/mo2-uibase/vcpkg.json
new file mode 100644
index 0000000..3140f8c
--- /dev/null
+++ b/libs/vcpkg-registry/ports/mo2-uibase/vcpkg.json
@@ -0,0 +1,14 @@
+{
+ "name": "mo2-uibase",
+ "version": "2.5.3-beta.2.1",
+ "description": "C++ API for ModOrganizer2.",
+ "homepage": "https://github.com/ModOrganizer2/modorganizer-uibase",
+ "license": "GPL-3.0",
+ "supports": "!uwp",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}