mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 15:10:53 +00:00
Merge branch 'pkgconfig' into 'master'
meson: Fix pkgconfig generation See merge request GNOME/sysprof!39
This commit is contained in:
@ -66,12 +66,9 @@ if not meson.is_subproject()
|
|||||||
pkgconfig.generate(
|
pkgconfig.generate(
|
||||||
libsysprof_capture,
|
libsysprof_capture,
|
||||||
subdirs: [ sysprof_header_subdir ],
|
subdirs: [ sysprof_header_subdir ],
|
||||||
version: meson.project_version(),
|
|
||||||
name: 'sysprof-capture-@0@'.format(libsysprof_api_version),
|
|
||||||
filebase: 'sysprof-capture-@0@'.format(libsysprof_api_version),
|
|
||||||
description: 'The static capture library for tools that generate profiling capture data',
|
description: 'The static capture library for tools that generate profiling capture data',
|
||||||
install_dir: join_paths(get_option('libdir'), 'pkgconfig'),
|
install_dir: join_paths(get_option('libdir'), 'pkgconfig'),
|
||||||
variables: [ 'datadir=' + datadir_for_pc_file ],
|
variables: [ 'datadir=' + datadir_for_pc_file ],
|
||||||
requires_private: libsysprof_capture_deps,
|
libraries_private: libsysprof_capture_deps,
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -125,13 +125,10 @@ libsysprof_ui_dep = declare_dependency(
|
|||||||
pkgconfig.generate(
|
pkgconfig.generate(
|
||||||
libsysprof_ui,
|
libsysprof_ui,
|
||||||
subdirs: [ sysprof_header_subdir ],
|
subdirs: [ sysprof_header_subdir ],
|
||||||
version: meson.project_version(),
|
|
||||||
name: 'sysprof-ui-@0@'.format(libsysprof_api_version),
|
|
||||||
filebase: 'sysprof-ui-@0@'.format(libsysprof_api_version),
|
|
||||||
description: 'The UI library for GTK applications embedding sysprof',
|
description: 'The UI library for GTK applications embedding sysprof',
|
||||||
install_dir: join_paths(get_option('libdir'), 'pkgconfig'),
|
install_dir: join_paths(get_option('libdir'), 'pkgconfig'),
|
||||||
requires: [ 'gio-2.0', 'gtk+-3.0' ],
|
requires: [ 'gio-2.0', 'gtk+-3.0' ],
|
||||||
requires_private: libsysprof_ui_pkg_deps,
|
libraries_private: libsysprof_ui_pkg_deps,
|
||||||
variables: [
|
variables: [
|
||||||
'datadir=' + datadir_for_pc_file,
|
'datadir=' + datadir_for_pc_file,
|
||||||
],
|
],
|
||||||
|
|||||||
@ -173,14 +173,10 @@ libsysprof_dep = declare_dependency(
|
|||||||
pkgconfig.generate(
|
pkgconfig.generate(
|
||||||
libsysprof,
|
libsysprof,
|
||||||
subdirs: [ sysprof_header_subdir ],
|
subdirs: [ sysprof_header_subdir ],
|
||||||
version: meson.project_version(),
|
|
||||||
name: 'sysprof-@0@'.format(libsysprof_api_version),
|
|
||||||
filebase: 'sysprof-@0@'.format(libsysprof_api_version),
|
|
||||||
description: 'The library for console applications embedding sysprof',
|
description: 'The library for console applications embedding sysprof',
|
||||||
install_dir: join_paths(get_option('libdir'), 'pkgconfig'),
|
install_dir: join_paths(get_option('libdir'), 'pkgconfig'),
|
||||||
requires: [ 'gio-2.0' ],
|
requires: [ 'gio-2.0' ],
|
||||||
requires_private: libsysprof_pkg_deps,
|
libraries_private: [libsysprof_libs_private, libsysprof_pkg_deps],
|
||||||
libraries_private: libsysprof_libs_private,
|
|
||||||
variables: [
|
variables: [
|
||||||
'datadir=' + datadir_for_pc_file,
|
'datadir=' + datadir_for_pc_file,
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user