From 97d99d89d6124fb2f4a2bb5629b7b1eac763a187030d27df5c6f3db1bc16fca7 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 6 Nov 2017 10:40:43 +0000 Subject: [PATCH] - Use pkg-config to determine cflags: SR#535177 changed the location of xkbcommon-x11.h. So far the path was hardcoded, now use pkg-config to determine the actual path. OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-panel?expand=0&rev=10 --- lxqt-panel.changes | 8 ++++++++ lxqt-panel.spec | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lxqt-panel.changes b/lxqt-panel.changes index ec87ad9..ca7a2ac 100644 --- a/lxqt-panel.changes +++ b/lxqt-panel.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Nov 6 10:38:53 UTC 2017 - mvetter@suse.com + +- Use pkg-config to determine cflags: + SR#535177 changed the location of xkbcommon-x11.h. + So far the path was hardcoded, now use pkg-config to determine + the actual path. + ------------------------------------------------------------------- Mon Oct 23 11:12:45 UTC 2017 - mvetter@suse.com diff --git a/lxqt-panel.spec b/lxqt-panel.spec index d609ebf..9c2689b 100644 --- a/lxqt-panel.spec +++ b/lxqt-panel.spec @@ -79,7 +79,7 @@ LXQt panel development files and headers %setup -q %build -export CXXFLAGS="%{optflags} -I/usr/include/pkg/libxkbcommon" +export CXXFLAGS="%{optflags} $(pkg-config --cflags xkbcommon-x11)" %cmake -DPULL_TRANSLATIONS=No -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" make %{?_smp_mflags}