diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-02-11 02:37:39 -0600 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-02-11 02:37:39 -0600 |
| commit | 7ee008e150bc5bcf76082d726f719ee0fdfda982 (patch) | |
| tree | 27fb39be241fdb5ac2734c574de678977d1856d0 /libs/vcpkg-registry/ports/mo2-libbsarch | |
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-libbsarch')
| -rw-r--r-- | libs/vcpkg-registry/ports/mo2-libbsarch/portfile.cmake | 42 | ||||
| -rw-r--r-- | libs/vcpkg-registry/ports/mo2-libbsarch/vcpkg.json | 19 |
2 files changed, 61 insertions, 0 deletions
diff --git a/libs/vcpkg-registry/ports/mo2-libbsarch/portfile.cmake b/libs/vcpkg-registry/ports/mo2-libbsarch/portfile.cmake new file mode 100644 index 0000000..ed9497c --- /dev/null +++ b/libs/vcpkg-registry/ports/mo2-libbsarch/portfile.cmake @@ -0,0 +1,42 @@ +set(VCPKG_POLICY_DLLS_IN_STATIC_LIBRARY enabled) + +vcpkg_download_distfile(ARCHIVE + URLS "https://github.com/ModOrganizer2/libbsarch/releases/download/${VERSION}/libbsarch_${VERSION}.7z" + FILENAME "libbsarch-${VERSION}.7z" + SHA512 88ACA64F8467234CA7B51031372387F0A0927F962CF44D41D0842BB632A92BECEAD0BFDE4A61C10FB45531F0FD85CB5C59C67749635E0E7905A2BDF75B601B37 +) + +vcpkg_extract_source_archive_ex( + OUT_SOURCE_PATH SOURCE_PATH + ARCHIVE ${ARCHIVE} + NO_REMOVE_ONE_LEVEL +) + +vcpkg_download_distfile(LICENSE + URLS "https://raw.githubusercontent.com/ModOrganizer2/libbsarch/master/LICENSE" + FILENAME "copyright" + SHA512 0ABC51233EE794D26C1E9F5A15E7FB3DED1E832F1A090C859F9F2FF8D15B56DA023B1CCC98099C96B214C18A3CD6971D620267A19202E56551B9C57BF086A87A +) + +file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR}) +file(INSTALL ${SOURCE_PATH}/bin DESTINATION ${CURRENT_PACKAGES_DIR}) +file(INSTALL ${SOURCE_PATH}/lib DESTINATION ${CURRENT_PACKAGES_DIR}) + +file(INSTALL ${SOURCE_PATH}/bin DESTINATION ${CURRENT_PACKAGES_DIR}/debug) +file(INSTALL ${SOURCE_PATH}/lib DESTINATION ${CURRENT_PACKAGES_DIR}/debug) + +vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}") +vcpkg_install_copyright(FILE_LIST "${LICENSE}") + +# remove release from debug and debug from release (mainly to silence VCPKG warnings) +file(REMOVE + "${CURRENT_PACKAGES_DIR}/bin/libbsarchd.dll" + "${CURRENT_PACKAGES_DIR}/lib/libbsarchd.lib" + "${CURRENT_PACKAGES_DIR}/lib/libbsarch_OOPd.lib" + + "${CURRENT_PACKAGES_DIR}/debug/bin/libbsarch.dll" + "${CURRENT_PACKAGES_DIR}/debug/lib/libbsarch.lib" + "${CURRENT_PACKAGES_DIR}/debug/lib/libbsarch_OOP.lib" +) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") diff --git a/libs/vcpkg-registry/ports/mo2-libbsarch/vcpkg.json b/libs/vcpkg-registry/ports/mo2-libbsarch/vcpkg.json new file mode 100644 index 0000000..549d300 --- /dev/null +++ b/libs/vcpkg-registry/ports/mo2-libbsarch/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "mo2-libbsarch", + "version": "0.1.2", + "description": "BSArchive Dynamic Link Library and C++ bindings.", + "homepage": "https://github.com/ModOrganizer2/libbsarch/", + "license": "MIT", + "supports": "!uwp", + "dependencies": [ + "mo2-dds-header", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |
