meson: Fix xkbcommon-x11.pc Requires
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Mon, 16 Jul 2018 23:15:30 +0000 (01:15 +0200)
committerRan Benita <ran234@gmail.com>
Tue, 17 Jul 2018 06:30:43 +0000 (09:30 +0300)
The meson-generated pkgconfig file was missing Requires and
Requires.private.

[ran: adjust for older Meson versions.]

Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Signed-off-by: Ran Benita <ran234@gmail.com>
meson.build

index 7ee4f78..3935182 100644 (file)
@@ -258,6 +258,8 @@ You can disable X11 support with -Denable-x11=false.''')
         libraries: libxkbcommon_x11,
         version: meson.project_version(),
         description: 'XKB API common to servers and clients - X11 support',
+        requires: 'xkbcommon',
+        requires_private: 'xcb>=1.10 xcb-xkb>=1.10',
     )
 endif