Skip to content

Support pkg-config installation#144

Merged
d-tatianin merged 2 commits into
uACPI:masterfrom
no92:pc
Feb 3, 2026
Merged

Support pkg-config installation#144
d-tatianin merged 2 commits into
uACPI:masterfrom
no92:pc

Conversation

@no92

@no92 no92 commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

This adds a backwards-compatible way to allow for installing uACPI sources onto a system or sysroot while providing a uacpi.pc file for discoverability.

Integrating this into a project using meson could look like this:

uacpi = dependency('uacpi', method: 'pkg-config')
uacpi_includes = include_directories(uacpi.get_variable('includedir'))

uacpi_sources = files()
foreach f : uacpi.get_variable('sourcefiles').split(';')
	uacpi_sources += files(uacpi.get_variable('installdir') / f)
endforeach

@d-tatianin
d-tatianin merged commit b36af9d into uACPI:master Feb 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants