[PATCH wayland-protocols v2] buildsystem: add -uninstalled.pc pkg-config file

Derek Foreman derekf at osg.samsung.com
Mon Aug 29 19:25:46 UTC 2016


From: "Reynaldo H. Verdejo Pinochet" <reynaldo at osg.samsung.com>

For building against an uninstalled wayland-protocols tree

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com>
Reviewed-by: Derek Foreman <derekf at osg.samsung.com>
Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
Changes from v1:
Just changed the commit log

 configure.ac                        | 1 +
 wayland-protocols-uninstalled.pc.in | 5 +++++
 2 files changed, 6 insertions(+)
 create mode 100644 wayland-protocols-uninstalled.pc.in

diff --git a/configure.ac b/configure.ac
index 4c43daa..fbb0ec2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,7 @@ PKG_NOARCH_INSTALLDIR
 AC_CONFIG_FILES([
 	Makefile
 	wayland-protocols.pc
+	wayland-protocols-uninstalled.pc
 	])
 AC_OUTPUT
 
diff --git a/wayland-protocols-uninstalled.pc.in b/wayland-protocols-uninstalled.pc.in
new file mode 100644
index 0000000..cf7adf2
--- /dev/null
+++ b/wayland-protocols-uninstalled.pc.in
@@ -0,0 +1,5 @@
+pkgdatadir=@abs_top_srcdir@
+
+Name: Wayland Protocols
+Description: Wayland protocol files (not installed)
+Version: @WAYLAND_PROTOCOLS_VERSION@
-- 
2.9.3



More information about the wayland-devel mailing list