Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.PHONY: build dev test clean aether-wp install

UNAME_S := $(shell uname -s)
WEBKIT_TAGS := $(shell pkg-config --exists webkit2gtk-4.0 2>/dev/null || echo "-tags webkit2_41")

aether-wp:
ifeq ($(UNAME_S),Linux)
Expand All @@ -13,7 +14,7 @@ build:
ifeq ($(UNAME_S),Linux)
$(MAKE) aether-wp
endif
wails build
wails build $(WEBKIT_TAGS)

install: build
ifeq ($(UNAME_S),Darwin)
Expand All @@ -25,7 +26,7 @@ else
endif

dev:
wails dev
wails dev $(WEBKIT_TAGS)

test:
go test ./internal/... ./cli/...
Expand Down
2 changes: 2 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ sudo apt install golang libgtk-3-dev libwebkit2gtk-4.1-dev libgtk-layer-shell-de
libgstreamer1.0-dev gstreamer1.0-plugins-good ffmpeg nodejs npm pkg-config
```

> **Note:** Debian Bookworm and Ubuntu 22.04+ ship only `webkit2gtk-4.1`. The build system handles this automatically via the `-tags webkit2_41` flag, so no manual workaround is needed.

### Build

```bash
Expand Down
Loading