Source: jag Version: 0.3.6-1 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
jag fails to cross build from source, because game.pro hard codes the build architecture pkg-config instead of using qmake's builtin support for pkg-config. Please consider applying the attached patch to fix that. Helmut
--- jag-0.3.6.orig/game.pro +++ jag-0.3.6/game.pro @@ -20,10 +20,11 @@ INCLUDEPATH += . QT += gui core widgets opengl xml x11extras -QMAKE_CXXFLAGS += $(shell pkg-config --cflags sdl2) -g -std=gnu++14 \ +CONFIG += link_pkgconfig +PKGCONFIG += sdl2 SDL2_mixer +QMAKE_CXXFLAGS += -g -std=gnu++14 \ -fPIE -D_FORTIFY_SOURCE=2 -QMAKE_LFLAGS += $(shell pkg-config --libs sdl2 SDL2_mixer) \ --lGL -lX11 -lpthread -lXrandr -pie -Wl,--as-needed -Wl,-z,now +QMAKE_LFLAGS += -lGL -lX11 -lpthread -lXrandr -pie -Wl,--as-needed -Wl,-z,now LIBS += -lGL -lX11 -lSDL2 -lSDL2_mixer -lpthread -lXrandr