- 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
This commit is contained in:
Michael Vetter 2017-11-06 10:40:43 +00:00 committed by Git OBS Bridge
parent c7e4ab7115
commit 97d99d89d6
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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}