for handling termux-specific x11 path w/o hardcoding it... can anyone test on normal Linux?
From c2a45fd129e1286351704ce21f6a6877b2e2d693 Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu <[email protected]> Date: Sun, 18 Jul 2021 23:35:49 +0300 Subject: [PATCH 55/55] Add x11 inc autodetect for shuttle target using pkg-confi
--- cinelerra-5.1/cinelerra/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cinelerra-5.1/cinelerra/Makefile b/cinelerra-5.1/cinelerra/Makefile index d5145d7d..0bc7d15d 100644 --- a/cinelerra-5.1/cinelerra/Makefile +++ b/cinelerra-5.1/cinelerra/Makefile @@ -594,9 +594,11 @@ install: install-lv2ui endif ifneq ($(WANT_SHUTTLE),no) +X11_INCS := $(shell pkg-config --cflags-only-I x11 | sed "s/-I//") + $(OBJDIR)/shuttle.o: shuttle.C shuttle_keys.h -shuttle_keys.h: /usr/include/X11/keysymdef.h - sed -n < /usr/include/X11/keysymdef.h > shuttle_keys.h -f shuttle.sed +shuttle_keys.h: $(X11_INCS)/X11/keysymdef.h + sed -n $(X11_INCS)/X11/keysymdef.h > shuttle_keys.h -f shuttle.sed endif $(OBJDIR)/pluginlv2gui.o: pluginlv2gui.C -- 2.32.0
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin

