[sysprof] build: add sysprof-capture-2 pkgconfig file



commit 51fadf1a5eeddc000a66d2c82a3c837e2009b10c
Author: Christian Hergert <chergert redhat com>
Date:   Sat Jan 20 01:43:22 2018 -0800

    build: add sysprof-capture-2 pkgconfig file

 data/meson.build           |    7 +++++++
 data/sysprof-capture.pc.in |   11 +++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index b4175b6..a66b319 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -40,6 +40,13 @@ configure_file(
   install: true,
   install_dir: pkgconfigdir,
 )
+configure_file(
+  input: 'sysprof-capture.pc.in',
+  output: 'sysprof-capture-@0@.pc'.format(libsysprof_api_version),
+  configuration: pkgconf,
+  install: true,
+  install_dir: pkgconfigdir,
+)
 if get_option('enable_gtk')
   configure_file(
     input: 'sysprof-ui.pc.in',
diff --git a/data/sysprof-capture.pc.in b/data/sysprof-capture.pc.in
new file mode 100644
index 0000000..7f30fbf
--- /dev/null
+++ b/data/sysprof-capture.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${exec_prefix}/include
+
+Name: libsysprof-capture-@API_VERSION@
+Description: The sysprof profiler library for reading and writing capture files
+Version: @VERSION@
+Libs: -L${libdir} -lsysprof-capture-@API_VERSION@
+Cflags: -I${includedir}/sysprof-@API_VERSION@
+Requires: gobject-2.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]