From 86da8434bdf9421f4a70977de4ee6813b118b7ea Mon Sep 17 00:00:00 2001 From: drath Date: Wed, 1 Jul 2026 01:49:52 +0200 Subject: [PATCH] how 2 work meson --- README.md | 9 +++++++++ install_service.sh | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100755 install_service.sh diff --git a/README.md b/README.md index eb6043c..cad63fe 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/install_service.sh b/install_service.sh new file mode 100755 index 0000000..a780896 --- /dev/null +++ b/install_service.sh @@ -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 \ No newline at end of file