aboutsummaryrefslogtreecommitdiff
path: root/libs/vcpkg-registry/ports/spdlog
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/spdlog
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/spdlog')
-rw-r--r--libs/vcpkg-registry/ports/spdlog/portfile.cmake44
-rw-r--r--libs/vcpkg-registry/ports/spdlog/vcpkg.json17
2 files changed, 61 insertions, 0 deletions
diff --git a/libs/vcpkg-registry/ports/spdlog/portfile.cmake b/libs/vcpkg-registry/ports/spdlog/portfile.cmake
new file mode 100644
index 0000000..aacde2a
--- /dev/null
+++ b/libs/vcpkg-registry/ports/spdlog/portfile.cmake
@@ -0,0 +1,44 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO gabime/spdlog
+ REF "v${VERSION}"
+ SHA512 21C35F4091850EA3A0CD6A24867E06E943DF70D76CD5A7EC0B15A33E0E9E0CC3584ED7930E1AC6F347E7E06F0E002D0E759884EAF05310014E24EA0E0419FCC4
+ HEAD_REF v1.x
+)
+
+string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" SPDLOG_BUILD_SHARED)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ ${FEATURE_OPTIONS}
+ -DSPDLOG_FMT_EXTERNAL=OFF
+ -DSPDLOG_USE_STD_FORMAT=ON
+ -DSPDLOG_INSTALL=ON
+ -DSPDLOG_BUILD_SHARED=${SPDLOG_BUILD_SHARED}
+ -DSPDLOG_WCHAR_FILENAMES=OFF
+ -DSPDLOG_BUILD_EXAMPLE=OFF
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/spdlog)
+vcpkg_fixup_pkgconfig()
+vcpkg_copy_pdbs()
+
+# add support for integration other than cmake
+vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/spdlog/tweakme.h
+ "// #define SPDLOG_USE_STD_FORMAT"
+ "#ifndef SPDLOG_USE_STD_FORMAT\n#define SPDLOG_USE_STD_FORMAT\n#endif"
+)
+vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/spdlog/tweakme.h
+ "// #define SPDLOG_WCHAR_TO_UTF8_SUPPORT"
+ "#ifndef SPDLOG_WCHAR_TO_UTF8_SUPPORT\n#define SPDLOG_WCHAR_TO_UTF8_SUPPORT\n#endif"
+)
+
+file(REMOVE_RECURSE
+ "${CURRENT_PACKAGES_DIR}/include/spdlog/fmt/bundled"
+ "${CURRENT_PACKAGES_DIR}/debug/include"
+ "${CURRENT_PACKAGES_DIR}/debug/share"
+)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/libs/vcpkg-registry/ports/spdlog/vcpkg.json b/libs/vcpkg-registry/ports/spdlog/vcpkg.json
new file mode 100644
index 0000000..e7b0582
--- /dev/null
+++ b/libs/vcpkg-registry/ports/spdlog/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "spdlog",
+ "version-semver": "1.15.3",
+ "description": "Very fast, header-only/compiled, C++ logging library.",
+ "homepage": "https://github.com/gabime/spdlog",
+ "license": "MIT",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}