how 2 work meson

This commit is contained in:
2026-07-01 01:49:52 +02:00
parent 782b57cbb5
commit 86da8434bd
2 changed files with 16 additions and 0 deletions

View File

@@ -68,6 +68,15 @@ make build
```
You're probably on some meme immutable distro so use Debian 13 on distrobox. Any distro with GCC and cmake should work tbh.
#### Meson
```bash
meson setup build
meson compile -C build
meson install -C build # installs the binary to local dir
./install_service.sh # installs the linuxSmartie systemd service
```
`build` here is just the name of the output dir, can be anything you want
### Additional notes
- To read motherboard sensors on ASUS ROG STRIX B550-A GAMING, as of Linux 6.16 (and up) you need to boot with kernel parameter of `acpi_enforce_resources=lax` and load the `nct6775` module.

7
install_service.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
mkdir -p ~/.config/systemd/user
cp linuxSmartie.service ~/.config/systemd/user/linuxSmartie.service
systemctl --user daemon-reload
systemctl --user enable linuxSmartie
systemctl --user start linuxSmartie