Source: xcape Version: 1.2-2 Tags: patch upstream User: [email protected] Usertags: rebootstrap
xcape fails to cross build from source, because the upstream Makefile hard codes the build architecture pkg-config. After making it substitutable, dh_auto_build substitutes it and xcape cross builds successfully. Please consider applying the attached patch. Helmut
--- xcape-1.2.orig/Makefile +++ xcape-1.2/Makefile @@ -4,9 +4,10 @@ TARGET := xcape +PKG_CONFIG ?= pkg-config CFLAGS += -Wall -CFLAGS += `pkg-config --cflags xtst x11` -LDFLAGS += `pkg-config --libs xtst x11` +CFLAGS += `$(PKG_CONFIG) --cflags xtst x11` +LDFLAGS += `$(PKG_CONFIG) --libs xtst x11` LDFLAGS += -pthread all: $(TARGET)

