Repository navigation
Description
Hi.
I'd like to add LTspice, Analog Devices' schematic editor, SPICE circuit simulator and waveform viewer, to FlatPark as com.analog.LTspice.
LTspice provides Windows installers rather than a native Linux build. The proposed package follows FlatPark's existing Wine/Cellar approach used by foobar2000: download the official installer as extra-data, install it unmodified into a private persistent Wine prefix, and run it with the user's shared Wine installation.
Proposed packaging
- Official x64 installer: https://ltspice.analog.com/software/LTspice64.msi
- freedesktop Platform 26.08 and Cellar CLI 0.5.1.
- Separate dependency:
org.winehq.Wine//stable-26.08from Flathub. - Cellar runs the MSI silently on first launch and when the packaged installer changes.
- Permissions cover Documents, network access, X11/IPC, GPU access, and read-only access to Wine's installation folders.
--allow=multiarchis declared for Wine's WoW64 support. - The updater uses Analog Devices' release metadata and the installer's Last-Modified timestamp to detect refreshes of the rolling download URL. New installs can temporarily fail checksum verification between an upstream replacement and the next pin refresh.
Local validation
The package was built, installed from a signed local repository, and tested inside its Flatpak sandbox.
- GUI rendering, schematic editing, saving, waveform plotting, and settings persistence across restarts passed.
- All 11,727 bundled library files and 4,450 example files matched the official archives byte for byte.
- Netlist generation passed for all 4,370 official example schematics.
- DC sweeps passed for all 2,565 standard semiconductor model entries, producing 31,192 finite saved values.
- Of 136 educational/application circuit simulations, 123 completed successfully. The other 13 produced partial waveform data but exceeded a 120-second limit and remain unverified. No missing-model diagnostics were found in those runs.
These checks establish the recorded compatibility results; model accuracy across every operating condition was not assessed. The vendor updater and hardware integration were not exercised.
ARM64
Analog Devices also provides a Windows 11 ARM64 installer. The proposed Flatpak currently advertises only x86_64 because the required Flathub Wine build is restricted to x86_64 and the pinned Cellar release has no aarch64 CLI asset. ARM execution was not tested.
Upstream approval is not claimed.
Prepared with OpenAI Codex.
Note
LTSpice not only plays a important role in education and practical engineering projects, but also works almost flawless using Wine, so i'd like to add it.
Thanks.
Activity