diff options
author | msglm <msglm@techchud.xyz> | 2025-06-19 19:25:22 -0500 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2025-06-19 19:25:22 -0500 |
commit | d6119d8f49be6149c176f3de34a9e65cd7a20064 (patch) | |
tree | fb397b181178a713009c27dede3783cb7b56b779 /amd/packages/patches/perfetto-meson.patch | |
parent | edb38a355aebe1786447bacdfd5b3550aee5f91e (diff) | |
download | guix-msglm-master.tar.gz guix-msglm-master.tar.bz2 guix-msglm-master.zip |
Diffstat (limited to 'amd/packages/patches/perfetto-meson.patch')
-rw-r--r-- | amd/packages/patches/perfetto-meson.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/amd/packages/patches/perfetto-meson.patch b/amd/packages/patches/perfetto-meson.patch new file mode 100644 index 0000000..0330aef --- /dev/null +++ b/amd/packages/patches/perfetto-meson.patch @@ -0,0 +1,22 @@ +Install perfetto headers +diff --git a/meson.build b/meson.build +index 5ef6fce52c..561dcf4768 100644 +--- a/meson.build ++++ b/meson.build +@@ -44,6 +44,7 @@ lib_perfetto = static_library( + ) + + inc_perfetto = include_directories('sdk') ++install_headers('sdk/perfetto.h') + + dir_perfetto_trace = join_paths(meson.current_source_dir(), + 'protos/perfetto/trace') +@@ -57,3 +58,8 @@ dep_perfetto = declare_dependency( + 'pkgdatadir': dir_perfetto_trace, + } + ) ++ ++pkg = import('pkgconfig') ++pkg.generate(lib_perfetto) ++ ++ |