aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Pkgconfig-module.md
AgeCommit message (Collapse)AuthorFilesLines
2022-03-27docs: add missing docs for new pkgconfig featureEli Schwartz1-1/+2
Added in commit 6240920c213fb76b4e4be8b6b59ae3346cbbcf77 and documented in release notes but not in module docs.
2021-05-18pkgconfig: Do not escape custom variablesXavier Claessens1-2/+10
We need to escape space in variables that gets into cflags or libs because otherwise we cannot split compiler args when paths contains spaces. But custom variables are unlikely to be path that gets used in cflags/libs, and escaping them cause regression in GStreamer that use space as separator in a list variable.
2021-04-19pkgconfig: Add support for CustomTarget objects in generatorXavier Claessens1-2/+5
Fixes: #8618.
2021-01-31Capitalize "Meson" consistently as it is a proper name. [skip ci]Jussi Pakkanen1-2/+2
2021-01-30Rewrap long text lines in docs. [skip ci]Jussi Pakkanen1-13/+15
2020-12-10pkgconfig: Respect variable ordering when passed as listXavier Claessens1-1/+2
This fix a regression introduced in Meson 0.56.0 when using python 3.5. Also mention in documentation that using a meson dict does not guarantee ordering. Fixes: #8074.
2020-10-16Fix consistency in variables kwargXavier Claessens1-1/+2
Share common code to extract the `variables` kwarg in declare_dependency() and pkg.generate().
2020-03-31docs: Fix typo in pkgconfig descriptionMichael Kuhn1-1/+1
2020-03-09pkgconfig: Document conflicts keywordFini Jastrow1-0/+1
[why] Sometimes one want to set the 'Conflicts:' field in .pc files. This is possible by using the 'conflicts' keyword argument in the pkgconfig module. The feature is not documented on mesonbuild.org, though. But a warning is issued: WARNING: Passed invalid keyword argument "conflicts". WARNING: This will become a hard error in the future. History: It has been added along with kwarg 'url' with commit 309041918 pkgconfig: Add missing 'URL' and 'Conflicts' entries Later the kwargs check has been introduced with 80d665e8d Converted some modules. but both 'url' and 'conflicts' were missing. With commit 2acf737b pkgconfig: Document url keyword the 'url' kwarg has been added to the checks, but not 'conflicts'. [how] Add 'conflicts' to the allowed kwargs. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2020-02-20Introduce dataonly for the pkgconfig moduleRohan Garg1-0/+2
This allows users to disable writing out the inbuilt variables to the pkg-config file as they might actualy not be required. One reason to have this is for architecture-independent pkg-config files in projects which also have architecture-dependent outputs. For example : https://gitlab.freedesktop.org/wayland/weston/issues/269 Fixes #4011
2020-02-05pkgconfig: Generate -uninstalled.pc filesXavier Claessens1-0/+11
Closes: #3472.
2019-09-02Fix typoSimon Allen1-1/+1
2019-03-09pkgconfig.generate: add FeatureNew and documentation for implict versionEli Schwartz1-1/+1
The documentation for this change was left out of its implementation in commit b4aee4675afd9f9f4a36aea628bab4249d7addbc and was later documented in commit f831c05b553d876a08dcf46478161b60b4e693c4 as if it had always existed.
2018-12-22docs: Fix href in Pkgconfig module [skip ci]lzutao1-2/+2
2018-12-04pkgconfig: Improve and document generator behaviourXavier Claessens1-10/+47
- Add libraries from InternalDependency.libraries - Deprecate association of libraries from the "libraries" keyword argument to the generated pkg-config file.
2018-11-12docs: Clarify some pkgconfig module kwargs [skip ci]Nirbheek Chauhan1-3/+4
2018-09-17Pkgconfig-module.md: fix typos [skip ci]Will Thompson1-3/+3
Almost every keyword documented here takes this form: - `foo` bar with no comma after the keyword. Make `filebase` consistent, and fix a comma splice. Fix 'Arbitraty' typo in `libraries` documentation.
2018-03-29pkgconfig: Add a simple version of the generator (#3284)Xavier Claessens1-0/+7
2018-02-24Document pkgconfig.generate() requires parametersAleksey Filippov1-2/+3
2017-12-20pkgconfig: Update documentationXavier Claessens1-3/+10
2017-09-17docs: Document the D supportMatthias Klumpp1-0/+2
2017-09-03pkgconfig: Document url keywordPatrick Griffis1-0/+1
Closes #2272
2017-08-21Wrapped and alphabetized the remaining modules.Jussi Pakkanen1-13/+31
2017-06-29pkgconfig: add support for extra_cflagsBruce Richardson1-0/+1
Allow the user to pass in arbitrary cflags for putting into the generated pkgconfig file.
2017-05-11pkgconfig: add suppport for custom variables during generationPeter Hutterer1-0/+1
Usage: pkgconfig.generate( ... description : 'A library with custom variables.', variables : ['foo=bar', 'datadir=${prefix}/data'] ) The variables 'prefix', 'libdir' and 'includedir' are reserved, meson will fail with an error message. Variables can reference each other with the pkgconfig notation, e.g. variables : ['datadir=${prefix}/data', 'otherdatadir=${datadir}/other'] meson does not check this for correctness or that the referenced variable exists, we merely keep the same order as specified.
2017-05-03doc: Use https links wherever possible.Elliott Sales de Andrade1-1/+1
2017-04-26docs: Import the website and wiki and build with hotdocThibault Saunier1-0/+22
This allows us to more easily have the documentation in sync with the source code as people will have to document new features etc right at the time where they implement it.