package/matchbox-lib: correctly fix the .pc file
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 23 Dec 2017 16:15:40 +0000 (17:15 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 30 Dec 2017 17:34:45 +0000 (18:34 +0100)
commit84a2645e5b2600d28d91005937c17bec554dd4d1
tree78ebc849429e467223798fa852dafb74435fd028
parent2cfda4704e0fbf486bf1255c0779caed1ffab946
package/matchbox-lib: correctly fix the .pc file

First, the .pc file was so far fixed as a post-configure hook of the
matchbox-fakekey package, by directly tweaking the .pc file installed in
staging by matchbox-lib. That's uterly wrong and bad.

So, we move the fix to matchbox-lib.

Second, it was incorreclty tweaking the .pc file when xlib_libXft was
not enabled, because only then a path to staging was present.

Third, even when xlib_libXft was enabled, the tweaking was still wrong,
because unnecessary.

Fix all that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/matchbox-fakekey/matchbox-fakekey.mk
package/matchbox-lib/matchbox-lib.mk