mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: add sysprof-capture-2 pkgconfig file
This commit is contained in:
@ -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',
|
||||
|
||||
11
data/sysprof-capture.pc.in
Normal file
11
data/sysprof-capture.pc.in
Normal file
@ -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
|
||||
Reference in New Issue
Block a user