~ianmjones/snippetexpander

bcb0bbd84c1149070521902ff01c137ea7ac6928 — Ian M. Jones a month ago 619ec21
Only add webkit2_41 tag to wails build if needed on Debian etc
2 files changed, 4 insertions(+), 2 deletions(-)

M .builds/nixos-unstable.yml
M cmd/snippetexpandergui/Makefile
M .builds/nixos-unstable.yml => .builds/nixos-unstable.yml +2 -0
@@ 1,5 1,7 @@
image: nixos/unstable
oauth: pages.sr.ht/PAGES:RW
repositories:
  nixpkgs: https://nixos.org/channels/nixpkgs-unstable
packages:
  - nixos.hut
sources:

M cmd/snippetexpandergui/Makefile => cmd/snippetexpandergui/Makefile +2 -2
@@ 17,8 17,8 @@ SVELTE_SRC := $(wildcard frontend/*.svelte) $(shell find frontend/src/ -type f -

TAGS =
TEST_TAGS = test dev
WEBKIT2_41 = $(shell ldconfig -p | grep libwebkit2gtk-4.1)
ifdef WEBKIT2_41
DEB_WEBKIT2_41 = $(shell dpkg --status libwebkit2gtk-4.1-dev > /dev/null 2>&1 && echo "YUP" || echo "NOPE")
ifeq ($(DEB_WEBKIT2_41),YUP)
	TAGS +=  webkit2_41
	TEST_TAGS +=  webkit2_41
endif