mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2026-08-17 16:34:54 -05:00
* feat: enable adwaita by default * upd readme * bump feature gate to 1.5 * feat: always build with adwaita * wip: add breeze styles (not loaded yet) * feat: theme selector * feat: better theme selector * chore: cleanup readme * Update README.md * chore: drop old flatpak theme override * fix: set higher priority for custom css * use toggle for the theme selection * upd settings popover spacing/align --------- Co-authored-by: Ilya Zlobintsev <ilya.zl@protonmail.com>
43 lines
1.8 KiB
Makefile
43 lines
1.8 KiB
Makefile
export CARGO_TARGET_DIR ?= ./target
|
|
export CARGO_NET_GIT_FETCH_WITH_CLI ?= true
|
|
DESTDIR ?= /
|
|
PREFIX ?= /usr/local
|
|
|
|
.PHONY: build-release
|
|
build-release:
|
|
cargo build -p lact --release
|
|
|
|
.PHONY: build-debug
|
|
build-debug:
|
|
cargo build -p lact
|
|
|
|
.PHONY: build-release-headless
|
|
build-release-headless:
|
|
cargo build -p lact --release --no-default-features --features=nvidia
|
|
|
|
.PHONY: install-resources
|
|
install-resources:
|
|
install -Dm644 res/lactd.service $(DESTDIR)$(PREFIX)/lib/systemd/system/lactd.service
|
|
install -Dm644 res/io.github.ilya_zlobintsev.LACT.desktop $(DESTDIR)$(PREFIX)/share/applications/io.github.ilya_zlobintsev.LACT.desktop
|
|
install -Dm644 res/io.github.ilya_zlobintsev.LACT.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/512x512/apps/io.github.ilya_zlobintsev.LACT.png
|
|
install -Dm644 res/io.github.ilya_zlobintsev.LACT.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/io.github.ilya_zlobintsev.LACT.svg
|
|
install -Dm644 res/io.github.ilya_zlobintsev.LACT.metainfo.xml $(DESTDIR)$(PREFIX)/share/metainfo/io.github.ilya_zlobintsev.LACT.metainfo.xml
|
|
|
|
.PHONY: install
|
|
install: install-resources
|
|
install -Dm755 target/release/lact $(DESTDIR)$(PREFIX)/bin/lact
|
|
|
|
.PHONY: install-debug
|
|
install-debug: install-resources
|
|
install -Dm755 target/debug/lact $(DESTDIR)$(PREFIX)/bin/lact
|
|
|
|
.PHONY: uninstall
|
|
uninstall:
|
|
rm $(DESTDIR)$(PREFIX)/bin/lact
|
|
rm $(DESTDIR)$(PREFIX)/lib/systemd/system/lactd.service
|
|
rm $(DESTDIR)$(PREFIX)/share/applications/io.github.ilya_zlobintsev.LACT.desktop
|
|
rm -f $(DESTDIR)$(PREFIX)/share/pixmaps/io.github.ilya_zlobintsev.LACT.png
|
|
rm $(DESTDIR)$(PREFIX)/share/icons/hicolor/512x512/apps/io.github.ilya_zlobintsev.LACT.png
|
|
rm $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/io.github.ilya_zlobintsev.LACT.svg
|
|
rm $(DESTDIR)$(PREFIX)/share/metainfo/io.github.ilya_zlobintsev.LACT.metainfo.xml
|