[PATCH weston v2] buildsystem: add missing pkg-config stub for libweston uninstalled
Derek Foreman
derekf at osg.samsung.com
Mon Aug 29 19:35:49 UTC 2016
From: "Reynaldo H. Verdejo Pinochet" <reynaldo at osg.samsung.com>
Patch does the same for libweston-desktop-uninstalled
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com>
Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
Changes since v1:
No longer include verision # in -uninstalled.pc file name
Also do libweston-desktop
configure.ac | 2 ++
libweston-desktop/libweston-desktop-uninstalled.pc.in | 9 +++++++++
libweston/libweston-uninstalled.pc.in | 9 +++++++++
3 files changed, 20 insertions(+)
create mode 100644 libweston-desktop/libweston-desktop-uninstalled.pc.in
create mode 100644 libweston/libweston-uninstalled.pc.in
diff --git a/configure.ac b/configure.ac
index 58fa04e..2ede90a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -678,7 +678,9 @@ AC_CONFIG_FILES([Makefile libweston/version.h compositor/weston.pc])
# AC_CONFIG_FILES needs the full name when running autoconf, so we need to use
# libweston_abi_version here, and outside [] because of m4 quoting rules
AC_CONFIG_FILES([libweston/libweston-]libweston_major_version[.pc:libweston/libweston.pc.in])
+AC_CONFIG_FILES([libweston/libweston-]libweston_major_version[-uninstalled.pc:libweston/libweston-uninstalled.pc.in])
AC_CONFIG_FILES([libweston-desktop/libweston-desktop-]libweston_major_version[.pc:libweston-desktop/libweston-desktop.pc.in])
+AC_CONFIG_FILES([libweston-desktop/libweston-desktop-]libweston_major_version[-uninstalled.pc:libweston-desktop/libweston-desktop-uninstalled.pc.in])
AM_CONDITIONAL([HAVE_GIT_REPO], [test -f $srcdir/.git/logs/HEAD])
diff --git a/libweston-desktop/libweston-desktop-uninstalled.pc.in b/libweston-desktop/libweston-desktop-uninstalled.pc.in
new file mode 100644
index 0000000..04af505
--- /dev/null
+++ b/libweston-desktop/libweston-desktop-uninstalled.pc.in
@@ -0,0 +1,9 @@
+libdir=@abs_builddir@/.libs
+includedir=@abs_srcdir@
+
+Name: libweston-desktop
+Description: Desktop shells abstraction library for libweston compositors (not installed)
+Version: @WESTON_VERSION@
+Requires.private: libweston- at LIBWESTON_MAJOR@ wayland-server
+Cflags: -I${includedir}/libweston-desktop
+Libs: -L${libdir} -lweston-desktop- at LIBWESTON_MAJOR@
diff --git a/libweston/libweston-uninstalled.pc.in b/libweston/libweston-uninstalled.pc.in
new file mode 100644
index 0000000..4b4e885
--- /dev/null
+++ b/libweston/libweston-uninstalled.pc.in
@@ -0,0 +1,9 @@
+libdir=@abs_builddir@/.libs
+includedir=@abs_srcdir@
+
+Name: libweston API
+Description: Header files for libweston compositors development (not installed)
+Version: @WESTON_VERSION@
+Requires.private: wayland-server pixman-1 xkbcommon
+Cflags: -I${includedir}/libweston
+Libs: -L${libdir} -lweston- at LIBWESTON_MAJOR@
--
2.9.3
More information about the wayland-devel
mailing list