libweston-desktop: Fix libweston-desktop.pc
Also remove ${pkgincludedir} to be on par with libweston.pc.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
diff --git a/libweston-desktop/libweston-desktop.pc.in b/libweston-desktop/libweston-desktop.pc.in
index c118b08..ac59c35 100644
--- a/libweston-desktop/libweston-desktop.pc.in
+++ b/libweston-desktop/libweston-desktop.pc.in
@@ -2,11 +2,10 @@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
-pkgincludedir=${includedir}/libweston-@LIBWESTON_ABI_VERSION@
Name: libweston-desktop
Description: Desktop shells abstraction library for libweston compositors
Version: @WESTON_VERSION@
-Requires.private: libweston-@LIBWESTON_ABI_VERSION@ wayland-server
-Cflags: -I${pkgincludedir}
-Libs: -L${libdir} -lweston-desktop-@LIBWESTON_ABI_VERSION@
+Requires.private: libweston-@LIBWESTON_MAJOR@ wayland-server
+Cflags: -I${includedir}/libweston-@LIBWESTON_MAJOR@
+Libs: -L${libdir} -lweston-desktop-@LIBWESTON_MAJOR@